8e4fd74e7f5e69df7363bdb560f79dde347ce082: Bug 1416879 - Part 4: FetchDriver needs to propagate write failures. r=baku
Andrew Sutherland <asutherland@asutherland.org> - Thu, 04 Jan 2018 18:04:55 -0500 - rev 449854
Push 8527 by Callek@gmail.com at Thu, 11 Jan 2018 21:05:50 +0000
Bug 1416879 - Part 4: FetchDriver needs to propagate write failures. r=baku In the scenario where a ServiceWorker returns a pass-through fetch via `evt.respondWith(fetch("underlying"))`, in order for the "underlying" HTTP channel to be canceled when the outer HTTP channel is canceled, FetchDriver's OnDataAvailable method needs to return an error when the output pipe experiences an error. Unfortunately, the contract for ReadSegments is effectively that it returns NS_OK regardless of what the rv of the write handler returned, so relying on the returned rv is insufficient. And because various Write*() methods will all fast-path to returning NS_OK if a count of 0 is passed, it's necessary to infer a closed/broken pipe by noticing that we tried to write more than 0 bytes of data but 0 bytes were written. (This is safe because the pipe we write into was created by FetchDriver::OnStartRequest which explicitly creates an infinite pipe, so it's not possible for the write to fail due to lack of space in the pipe.)
5453b8a58f0c2c28dc7c407c531c266972bff423: Bug 1416879 - Part 3: (Also Bug 1418795) SyntheticDiversionListener should handle !mIPCOpen. r=bkelly
Andrew Sutherland <asutherland@asutherland.org> - Thu, 04 Jan 2018 13:59:13 -0500 - rev 449853
Push 8527 by Callek@gmail.com at Thu, 11 Jan 2018 21:05:50 +0000
Bug 1416879 - Part 3: (Also Bug 1418795) SyntheticDiversionListener should handle !mIPCOpen. r=bkelly The SyntheticDiversionListener needs to handle the case where the IPC connection is gone. This patch avoids calling Send* methods which will crash the content process if the actor has already been destroyed. Additionally, OnDataAvailable will return an error in such a case so that the caller can properly handle the error rather than continuing to attempt to send data to a listener that doesn't care. This latter change is an artifact of a previous hack attempt to fix a related diversion issue that is probably not required for this stack, but makes sense as a fix, so I've left it in.
d156f6b687e1cd8717bf813ab1b944e87b67ed5d: Bug 1416879 - Part 2: Allow for diversion cancellation and trigger for intercepted channels. r=bkelly, r=mayhemer
Andrew Sutherland <asutherland@asutherland.org> - Thu, 04 Jan 2018 18:38:07 -0500 - rev 449852
Push 8527 by Callek@gmail.com at Thu, 11 Jan 2018 21:05:50 +0000
Bug 1416879 - Part 2: Allow for diversion cancellation and trigger for intercepted channels. r=bkelly, r=mayhemer The diversion mechanism never expected to be dealing with data sourced from the content process, but that's exactly what happens with ServiceWorker-intercepted channels with the current child-intercept situation (which is being fixed). In order to allow timely cancellation of diverted intercepted channels, there needs to be a way to relay to the HttpChannelChild that it needs to be canceled so that the synthesized pump can be canceled and diversion can be marked as complete. This patch adds such a mechanism to ADivertableParentChannel and PHttpChannel for the exclusive use of InterceptedHttpChannel and then uses it.
714d3942fb10a96e60e14c475e24e640b9ddd8cc: Bug 1416879 - Part 1: DivertComplete should only be sent at OnStopRequest for synthesized responses. r=bkelly
Andrew Sutherland <asutherland@asutherland.org> - Thu, 04 Jan 2018 18:56:46 -0500 - rev 449851
Push 8527 by Callek@gmail.com at Thu, 11 Jan 2018 21:05:50 +0000
Bug 1416879 - Part 1: DivertComplete should only be sent at OnStopRequest for synthesized responses. r=bkelly Diversion for intercepted channels with a synthesized response is a special case. It is not appropriate to send DivertComplete when mEventQ has been drained, because we are not dealing with the usual mEventQ-enqueued OnDataAvailable payloads that had been received over the network and sent down to the child. In this case, all the data originates in the child and does not go through mEventQ. As such, the correct place to send DivertComplete is at OnStopComplete for the synthesized response.
5a922694f0e695e9a494d4e8912212fbddd28982: Bug 1428447 Set a loading principal on ServiceWorker WorkerPrivate objects. r=asuth
Ben Kelly <ben@wanderview.com> - Fri, 05 Jan 2018 19:50:09 -0500 - rev 449850
Push 8527 by Callek@gmail.com at Thu, 11 Jan 2018 21:05:50 +0000
Bug 1428447 Set a loading principal on ServiceWorker WorkerPrivate objects. r=asuth
04af74d5cdba3975a7f0b7ceaf62b1498574e45f: merge mozilla-central to mozilla-inbound. r=merge a=merge
Sebastian Hengst <archaeopteryx@coole-files.de> - Sat, 06 Jan 2018 01:56:19 +0200 - rev 449849
Push 8527 by Callek@gmail.com at Thu, 11 Jan 2018 21:05:50 +0000
merge mozilla-central to mozilla-inbound. r=merge a=merge
2ba0c8df9a6786d5a70065b03ac66ffbe05695cb: Bug 1427668 - Flush on mac after EndTransformFeedback. - r=daoshengmu
Jeff Gilbert <jgilbert@mozilla.com> - Wed, 03 Jan 2018 17:07:36 -0800 - rev 449848
Push 8527 by Callek@gmail.com at Thu, 11 Jan 2018 21:05:50 +0000
Bug 1427668 - Flush on mac after EndTransformFeedback. - r=daoshengmu MozReview-Commit-ID: A0Tbk2pIng
e8afea9b08757dc6a3415ebd38dbd572d1ec7a45: Bug 1427668 - Require frag_color_float for color_buffer_*float extensions. - r=daoshengmu
Jeff Gilbert <jgilbert@mozilla.com> - Fri, 22 Dec 2017 13:21:26 -0800 - rev 449847
Push 8527 by Callek@gmail.com at Thu, 11 Jan 2018 21:05:50 +0000
Bug 1427668 - Require frag_color_float for color_buffer_*float extensions. - r=daoshengmu Add probe for faulty frag_color_float implementations. MozReview-Commit-ID: E2I0mrDuicV
86488a02187a697b1b49870c93a474e82e7e1404: Bug 1427668 - Fixes and spew. - r=daoshengmu
Jeff Gilbert <jgilbert@mozilla.com> - Fri, 22 Dec 2017 03:42:04 -0800 - rev 449846
Push 8527 by Callek@gmail.com at Thu, 11 Jan 2018 21:05:50 +0000
Bug 1427668 - Fixes and spew. - r=daoshengmu MozReview-Commit-ID: 9NPkWsh2rxE
1626b467a1275b77ceb51f27907091996f1274a4: Bug 1427668 - Disable MakeCurrent TLS for ANGLE for now. - r=daoshengmu
Jeff Gilbert <jgilbert@mozilla.com> - Thu, 21 Dec 2017 19:19:03 -0800 - rev 449845
Push 8527 by Callek@gmail.com at Thu, 11 Jan 2018 21:05:50 +0000
Bug 1427668 - Disable MakeCurrent TLS for ANGLE for now. - r=daoshengmu MozReview-Commit-ID: HzKKivtXeHX
e1edf80827aa769a8d179fe0cf0e3a411a38c392: Bug 1427668 - Assert that no-alpha backbuffers have 0xff alpha. - r=daoshengmu
Jeff Gilbert <jgilbert@mozilla.com> - Thu, 21 Dec 2017 17:42:52 -0800 - rev 449844
Push 8527 by Callek@gmail.com at Thu, 11 Jan 2018 21:05:50 +0000
Bug 1427668 - Assert that no-alpha backbuffers have 0xff alpha. - r=daoshengmu MozReview-Commit-ID: 5UJdoud0f2C
25e41ca9c92ad18ab9760f8bb130df171a80f03d: Bug 1427668 - Lose context if EnsureDefaultFB fails. - r=daoshengmu
Jeff Gilbert <jgilbert@mozilla.com> - Thu, 21 Dec 2017 17:14:54 -0800 - rev 449843
Push 8527 by Callek@gmail.com at Thu, 11 Jan 2018 21:05:50 +0000
Bug 1427668 - Lose context if EnsureDefaultFB fails. - r=daoshengmu MozReview-Commit-ID: 8OqXYXpUv4I
e31cefdad58256dfe46d32f6555aadfbcc01df84: Bug 1427668 - Unify MaxRenderbufferSize and MaxTextureSize. - r=daoshengmu
Jeff Gilbert <jgilbert@mozilla.com> - Wed, 20 Dec 2017 19:39:58 -0800 - rev 449842
Push 8527 by Callek@gmail.com at Thu, 11 Jan 2018 21:05:50 +0000
Bug 1427668 - Unify MaxRenderbufferSize and MaxTextureSize. - r=daoshengmu MozReview-Commit-ID: AFS0IqmkQEo
cee0e8e73e1e9560707c7b68843b73cf9ba0e901: Bug 1427668 - Special-case lazy glEnable caps. - r=daoshengmu
Jeff Gilbert <jgilbert@mozilla.com> - Wed, 20 Dec 2017 17:58:27 -0800 - rev 449841
Push 8527 by Callek@gmail.com at Thu, 11 Jan 2018 21:05:50 +0000
Bug 1427668 - Special-case lazy glEnable caps. - r=daoshengmu MozReview-Commit-ID: KD5N2y1U804
19c6be93dcad05673d0ff44fedf7192109b6aabd: Bug 1427668 - Use shadows instead of calling into GL. - r=daoshengmu
Jeff Gilbert <jgilbert@mozilla.com> - Wed, 20 Dec 2017 16:47:17 -0800 - rev 449840
Push 8527 by Callek@gmail.com at Thu, 11 Jan 2018 21:05:50 +0000
Bug 1427668 - Use shadows instead of calling into GL. - r=daoshengmu MozReview-Commit-ID: 1ZFwDNboet3
94193e9d22f3e9a0a4d6dc40957934dacf32b335: Bug 1427668 - InvalidateFB should accept incomplete FBs, but just skip them for now. - r=daoshengmu
Jeff Gilbert <jgilbert@mozilla.com> - Wed, 20 Dec 2017 12:16:43 -0800 - rev 449839
Push 8527 by Callek@gmail.com at Thu, 11 Jan 2018 21:05:50 +0000
Bug 1427668 - InvalidateFB should accept incomplete FBs, but just skip them for now. - r=daoshengmu MozReview-Commit-ID: LZtVwzZ1HK8
2b126d984d82606c50f9ee97d785d31f7666b5bc: Bug 1427668 - ColorMask(0xf) for backbuffer resolve. - r=daoshengmu
Jeff Gilbert <jgilbert@mozilla.com> - Wed, 20 Dec 2017 01:55:50 -0800 - rev 449838
Push 8527 by Callek@gmail.com at Thu, 11 Jan 2018 21:05:50 +0000
Bug 1427668 - ColorMask(0xf) for backbuffer resolve. - r=daoshengmu MozReview-Commit-ID: KZJZ0Lc0vbC
3d1558337a613854f9e8d42276989ade2c9e3d0a: Bug 1427668 - Reject too-large MozFramebuffer requests. - r=daoshengmu
Jeff Gilbert <jgilbert@mozilla.com> - Wed, 20 Dec 2017 01:09:27 -0800 - rev 449837
Push 8527 by Callek@gmail.com at Thu, 11 Jan 2018 21:05:50 +0000
Bug 1427668 - Reject too-large MozFramebuffer requests. - r=daoshengmu MozReview-Commit-ID: G2jqeb7QqhE
e2b263515febb79970329d435a166f885672fb0b: Bug 1427668 - Move the webgl backbuffer into webgl. - r=daoshengmu
Jeff Gilbert <jgilbert@mozilla.com> - Mon, 18 Dec 2017 18:30:56 -0800 - rev 449836
Push 8527 by Callek@gmail.com at Thu, 11 Jan 2018 21:05:50 +0000
Bug 1427668 - Move the webgl backbuffer into webgl. - r=daoshengmu MozReview-Commit-ID: 2WpG7mfMRQ8
32a6eebb4d6da8e0fdc61333b70f6efb181d9a47: Bug 1427668 - Add MozFramebuffer. - r=daoshengmu
Jeff Gilbert <jgilbert@mozilla.com> - Mon, 18 Dec 2017 18:19:38 -0800 - rev 449835
Push 8527 by Callek@gmail.com at Thu, 11 Jan 2018 21:05:50 +0000
Bug 1427668 - Add MozFramebuffer. - r=daoshengmu MozReview-Commit-ID: CX0wxs7Gqvp
(0) -300000 -100000 -30000 -10000 -3000 -1000 -300 -100 -50 -20 +20 +50 +100 +300 +1000 +3000 +10000 +30000 +100000 tip