Ehsan Akhgari
ba4fb99743
Bug 1239311 - Enable fetch-request-redirect.https.html on e10s; r=jdm
...
This should have been done in bug 1219469.
2016-01-14 16:55:50 -05:00
Ehsan Akhgari
98f3e8ff8d
Bug 1238213 - Make FetchEvent.request non-nullable; r=baku
2016-01-11 13:21:23 -05:00
Ehsan Akhgari
697781ab02
Bug 1236933 - Return null from FetchEvent.clientId for non-subresource network requests; r=bkelly
2016-01-08 21:53:37 -05:00
Ehsan Akhgari
50246c3862
Bug 1142768 - Return the original document URI from ServiceWorkerClient.url; r=bkelly
2016-01-08 14:16:47 -05:00
Ehsan Akhgari
2f2ec6a22a
Bug 1229369 - Intercept redirected network fetches that have their request mode set to manual; r=jdm
...
In the non-e10s case, this is done by simply avoiding to set the
LOAD_BYPASS_SERVICE_WORKER flag when we detect a non-internal redirect
in the manual redirect mode.
The e10s solution is a bit more complicated. Only the child process
knows whether a URI needs to be intercepted, so we piggy back on the
code written to support the |event.respondWith(Response.redirect())|
case where we know in the child that the target of the redirect needs to
be intercepted.
This means that we need to check the same condition as in the non-e10s
case, but we also need to check whether the target of the redirection
needs to be intercepted, which means we need to properly take secure
upgrades into account as well. This is done by computing both whether
we should intercept and whether we should do a secure upgrade in
HttpChannelChild::SetupRedirect() and saving the information on the
HttpChannelChild for later usage in HttpChannelChild::AsyncOpen().
2016-01-05 21:02:00 -05:00
Ehsan Akhgari
847493fd56
Bug 1226384 - Reject the promise returned from ServiceWorkerRegistration.update() if the registration is being uninstalled; r=bkelly
2016-01-04 14:50:57 -05:00
Ehsan Akhgari
082dc5123b
Bug 1219469 - Part 2: Make HttpChannelParentListener be the controller; r=jdm,jduell
...
The controller needs to be able to handle redirects.
HttpChannelParentListener is a listener object that can attach to
multiple HttpChannelParent objects as part of a single logical Necko
channel (meaning that the listener object will be reused for redirected
channels) so it seems like the better choice for the object that should
implement nsINetworkInterceptController. This patch moves the
implementation of the nsINetworkInterceptController interface to
HttpChannelParentListener.
2016-01-04 09:39:12 -05:00
Ehsan Akhgari
c07e0121af
Bug 1233245 - Propagate the interception information in the non-e10s case for all HTTP redirects, not just the internal ones; r=jdm
...
Doing this work in StartRedirectChannelToURI() was causing us to not set
the bypass service worker flag properly in the case of real HTTP redirects.
This patch also fixes the incorrect test expectation value.
2016-01-04 09:39:09 -05:00
Xidorn Quan
cda4c7d438
No bug - Correct the order of two newly added web-platform tests in manifest. DONTBUILD
2015-12-30 12:40:36 +11:00
Josh Matthews
dcb84c8190
Bug 1234310 - Enable navigation-redirect.https.html for e10s. r=ehsan
2015-12-22 16:33:40 -05:00
Ben Kelly
7bfc3d4d36
Bug 1231974 P5 Re-enable unregister-then-register-new-script.https.html. r=baku
2015-12-18 11:04:40 -05:00
James Graham
8bcd1b828c
Bug 1233726 - Update web-platform-tests expected data to revision 05c55fbdc527eacdc7b875f298a8cb1b6db0dfcd, a=testonly
2015-12-18 15:24:48 +00:00
Wes Kocher
0f82daf3b4
Backed out changeset 82cd6a486698 (bug 1233245) for fetch-request-redirect.https.html failures CLOSED TREE
2015-12-17 16:18:29 -08:00
Ehsan Akhgari
4f915ca5b0
Bug 1233245 - Propagate the interception information in the non-e10s case for all HTTP redirects, not just the internal ones; r=jdm,bkelly
...
Doing this work in StartRedirectChannelToURI() was causing us to not set
the bypass service worker flag properly in the case of real HTTP redirects.
This patch also fixes the incorrect test expectation value.
2015-12-17 17:32:38 -05:00
Ehsan Akhgari
af3c2a282b
Bug 1230042 - Fix clients-matchall-include-uncontrolled.https.html by sorting the clients array and ignoring non-test clients; r=bkelly
2015-12-16 15:48:43 -05:00
Ben Kelly
cf64ab4304
Bug 1226443 P3 Re-enable service worker update wpt tests. r=ehsan
2015-12-11 14:53:11 -05:00
Ben Kelly
c22eb746eb
Bug 1227015 P8 Disable ServiceWorkerGlobalScope/update.https.html due to races. r=ehsan
2015-12-11 14:53:10 -05:00
Ben Kelly
3baa33af84
Bug 1231974 Disable unstable unregister-then-register-new-script wpt tests for now. r=ehsan
2015-12-11 14:17:36 -05:00
Ben Kelly
5a66c4d504
Bug 1213119 Lengthen timeout in test checking for failure to load iframes and windows. r=ehsan
2015-12-11 12:36:05 -05:00
Ben Kelly
7e729310b1
Bug 1230042 Disable clients-matchall-include-uncontrolled.https.html due to instabilitiy. r=ehsan
2015-12-11 11:42:09 -05:00
Phil Ringnalda
19c264469f
Back out 13 changesets (bug 1226443, bug 1227015) for a variety of serviceworker web-platform-test failures
...
CLOSED TREE
Backed out changeset d518261eb3b1 (bug 1226443)
Backed out changeset a7def186c1d3 (bug 1226443)
Backed out changeset e2f21ee1cd4c (bug 1226443)
Backed out changeset 8c4aff8bbfaf (bug 1226443)
Backed out changeset 4c85bf5e9bf5 (bug 1226443)
Backed out changeset 8fbc71a2912a (bug 1227015)
Backed out changeset 00ac71165014 (bug 1227015)
Backed out changeset e261f601b14d (bug 1227015)
Backed out changeset 78896c0bcb95 (bug 1227015)
Backed out changeset 244093d57c03 (bug 1227015)
Backed out changeset 03abf4d48e38 (bug 1227015)
Backed out changeset 2090c1e30933 (bug 1227015)
Backed out changeset 84e011be4e35 (bug 1227015)
2015-12-10 18:49:48 -08:00
Ben Kelly
61dcacc513
Bug 1226443 P3 Re-enable service worker update wpt tests. r=ehsan
2015-12-10 18:08:14 -05:00
Ben Kelly
42a8a53b71
Bug 1227015 P8 Disable ServiceWorkerGlobalScope/update.https.html due to races. r=ehsan
2015-12-10 18:08:14 -05:00
James Graham
3114503ea2
Bug 1230948 - Update web-platform-tests expected data to revision 63bf7b5e1e12b308ba6ed20480ad7dc93afa1943, a=testonly
2015-12-07 16:34:12 +00:00
Ben Kelly
03593242ab
Bug 1230164 P3 Disable service worker update wpt tests for now. r=ehsan
2015-12-04 13:32:37 -08:00
Ben Kelly
3cd399465b
Bug 1230164 P1 Ensure all service worker WPT tests remove controlled frames before completion. r=ehsan
2015-12-04 13:32:36 -08:00
Ehsan Akhgari
9ea6603485
Bug 1229056 - Implement ClientQueryOptions.includeUncontrolled; r=jdm
2015-12-02 20:37:03 -05:00
Ehsan Akhgari
8a0a915f37
Bug 1222464 - Part 3: Implement Clients.get(); r=jdm
2015-12-02 20:37:01 -05:00
Ehsan Akhgari
1968248e51
Bug 1222464 - Part 2: Implement FetchEvent.clientId; r=jdm
2015-12-02 20:36:59 -05:00
Ehsan Akhgari
42c5fc7bc4
Bug 1201127 - Return the same ServiceWorkerRegistration object from service worker APIs dealing with the same underlying registration object; r=jdm
2015-11-26 15:13:33 -05:00
Catalin Badea
398b50e757
Bug 1189659 - Part 5 - Fix race in skip-waiting.https.html and add some logging for SkipWaitingFlag in ServiceWorkerManager. r=ehsan
2015-11-26 19:03:10 +02:00
Catalin Badea
62ae7bc589
Bug 1189659 - Part 3 - Use separate synchronization queues for service worker register jobs and install jobs. r=bkelly
2015-11-26 19:03:10 +02:00
Ben Kelly
f927a67c5e
Bug 1226441 - Part 1: Add wpt test verifying fetch event waits for activate to complete; r=catalinb
2015-11-24 10:48:38 -05:00
Ben Kelly
f8d46c5521
Bug 1200677 - Import navigation-redirect.https.html for non-e10s. r=jdm
2015-11-19 08:11:26 -08:00
dimi
46c609a3d6
Bug 1217367 - Add a wpt test that verified coalesced .update() calls resolve properly. r=bkelly
2015-11-19 15:40:36 +08:00
dimi
bc0ff1a291
Bug 1217367 - Service workers update algorithm optimization. r=bkelly
2015-11-20 16:43:07 +08:00
Ben Kelly
dadce983ca
Bug 1186856 ServiceWorker .register() should always stop current registration from uninstalling. r=jdm
2015-11-19 17:42:09 -08:00
Ehsan Akhgari
4f1e04dabd
Bug 1219085 - Import the fetch-request-redirect.https.html test from Blink; r=jdm
2015-11-18 06:52:28 -08:00
Ben Kelly
2c2a07266b
Bug 1217909 P6 Fix wpt registration.https.html to expect TypeError for script evaluation errors. r=catalinb
2015-11-16 08:04:11 -08:00
Ben Kelly
aa4d36758b
Bug 1217909 P5 Add wpt test case for fetch event handlers that throw. r=catalinb
2015-11-16 08:04:11 -08:00
Ben Kelly
a6ae0516a1
Bug 1217909 P4 Extend wpt tests to verify update() promise values for different script failures. r=catalinb
2015-11-16 08:04:11 -08:00
James Graham
7d0272a036
Bug 1225032 - Update web-platform-tests expected data to revision a5f15d6bdbeeec010465dc906e542873d64797ec, a=testonly
2015-11-16 13:52:16 +00:00
Andrea Marchesini
8607245118
Bug 1201498 - Service worker update should compare scriptURL to worker URL without fragment, r=bkelly
2015-11-11 10:46:29 +00:00
Ben Kelly
bea874a98b
Bug 1189681 Fix wpt oninstall-script-error.https.html. r=baku
2015-11-09 11:13:09 -08:00
Ben Kelly
2095fe7be4
Bug 1221351 P3 Fix test name in register-closed-window.https.html. a=testonly
2015-11-06 06:58:04 -08:00
Ben Kelly
1d1dd98710
Bug 1221351 P2 Add a web-platform-test to check for crash when calling .register() on closed window. r=catalinb
2015-11-05 09:33:34 -08:00
Ben Kelly
37cca6bde6
Bug 1220014 Set service worker prefs in wpt sub-directory. a=testonly CLOSED TREE
2015-10-30 07:11:26 -07:00
Wes Kocher
3fb27f0d69
Backed out changeset 71cb0cec8da0 (bug 1219085) for wpt orange
2015-10-28 13:43:59 -07:00
Ehsan Akhgari
2830b7f75c
Bug 1219085 - Import the fetch-request-redirect.https.html test from Blink; r=jdm
2015-10-28 14:47:32 -04:00
Ben Kelly
97c59451a3
Bug 1217501 P3 Check Accept header visibility in service worker fetch event. r=ehsan
2015-10-26 08:25:16 -07:00