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
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
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
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
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
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
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
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
Wes Kocher
0fea81994f
Backed out 3 changesets (bug 1217501) for m(4) leaks CLOSED TREE
...
Backed out changeset f00f079f712b (bug 1217501)
Backed out changeset 86ac4feb0e38 (bug 1217501)
Backed out changeset 0c7e876a69e5 (bug 1217501)
2015-10-26 11:52:23 -07:00
Ehsan Akhgari
482e0c22e4
Bug 1189685 - Part 2: Make synced-state.https.html pass; r=bkelly
2015-10-26 12:37:50 -04:00
Ehsan Akhgari
0c6da7d483
Bug 1181054 - Part 4: Make fetch-event.https.html pass; r=bkelly
2015-10-26 12:21:05 -04:00
Ben Kelly
4348662935
Bug 1217501 P3 Check Accept header visibility in service worker fetch event. r=ehsan
2015-10-26 08:25:16 -07:00
dimi
6dd6e00ec5
Bug 1207727 - Add WPT tests for service worker update algorithm. r=bkelly
2015-10-26 11:03:47 +08:00
Ehsan Akhgari
609d1e5e1b
Bug 1217089 - Remove fetch-request-html-imports.https.html; r=bkelly
...
HTML Imports are dead.
2015-10-22 17:31:54 -04:00
Ehsan Akhgari
7f5c07d394
Bug 1216833 - Make referer.https.html pass; r=bkelly
2015-10-22 17:31:18 -04:00
Ehsan Akhgari
4978ddebb7
Bug 1216858 - Enable as much of the WPT service worker CSP tests as we can; r=bkelly
2015-10-22 09:47:15 -04:00
Josh Matthews
2016b77367
Bug 1173811 - Part 1: Propagate the response URL to intercepted channels when necessary (non-e10s). r=mayhemer,bkelly
2015-10-22 09:23:39 -04:00
Ehsan Akhgari
f396ef4aea
Bug 1194848 - Make it possible to run fetch-canvas-tainting.https.html; r=jdm
2015-09-10 15:18:00 -04:00
Phil Ringnalda
cc3a963cff
Back out changeset 5029ca635908 (bug 1194848) because it depends on a backed out bug
...
CLOSED TREE
2015-10-21 21:42:46 -07:00
Phil Ringnalda
9b09c6aa10
Back out 2 changesets (bug 1173811) for test_synthesized_response.js timeouts
...
CLOSED TREE
Backed out changeset 56bc1314e660 (bug 1173811 )
Backed out changeset 0ad51d302ba9 (bug 1173811 )
2015-10-21 20:21:05 -07:00
Josh Matthews
c9ea727e7e
Bug 1173811 - Part 1: Propagate the response URL to intercepted channels when necessary (non-e10s). r=mayhemer,bkelly
2015-10-21 00:05:40 -04:00
Ehsan Akhgari
da360e99ea
Bug 1194848 - Make it possible to run fetch-canvas-tainting.https.html; r=jdm
2015-09-10 15:18:00 -04:00
Wes Kocher
b3aa71a066
Backed out changeset c851a2a63dfd (bug 1216858) for w(4/8) failures CLOSED TREE
2015-10-21 15:18:40 -07:00
Ehsan Akhgari
92845c3eca
Bug 1180750 - Remove stashed-ports.https.html; r=bkelly
2015-10-21 16:07:28 -04:00
Ehsan Akhgari
67f31392dc
Bug 1216858 - Enable as much of the WPT service worker CSP tests as we can; r=bkelly
2015-10-21 16:07:07 -04:00
Ehsan Akhgari
7d72f1ba68
Bug 1216822 - Make sure that using an invalid Content-Type when constructing a Response object doesn't throw; r=bkelly
2015-10-21 16:06:34 -04:00