Yoshi Huang
bc71ddcaa7
Bug 1233644 - use pattern matching when listening clear-origin-data. r=baku
2015-12-18 18:58:41 +08:00
Ehsan Akhgari
6e8b3ac548
Bug 1236686 - Remove nsIFetchEventDispatcher; r=jdm
2016-01-05 15:04:41 -05:00
Ehsan Akhgari
5f7954b5b6
Bug 1214305 - Part 4: Use the secure upgraded channel URI in ServiceWorkerManager::PrepareFetchEvent; r=jdm
...
This is needed to ensure that the ServiceWorkerManager uses the
correct URI for non-subresource requests. Note that we're relying
on the property that non-secure non-subresource requests can never
be intercepted, so we don't need to check the request type explicitly.
2016-01-04 16:30:02 -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
Wes Kocher
3ed0d4d1fb
Backed out 10 changesets (bug 1214305) for leaks on linux debug m-e10s(bc7)
...
Backed out changeset 1f482566235a (bug 1214305)
Backed out changeset 001b31489756 (bug 1214305)
Backed out changeset 4e94d2088219 (bug 1214305)
Backed out changeset fba4a5bcea41 (bug 1214305)
Backed out changeset 100f8e249007 (bug 1214305)
Backed out changeset a59c453192dc (bug 1214305)
Backed out changeset 2daa86fc1fb9 (bug 1214305)
Backed out changeset c04efb57b0ed (bug 1214305)
Backed out changeset 52046e843c60 (bug 1214305)
Backed out changeset ac4fd6615828 (bug 1214305)
2016-01-04 10:34:24 -08:00
Ehsan Akhgari
77778afe3e
Bug 1214305 - Part 4: Use the secure upgraded channel URI in ServiceWorkerManager::PrepareFetchEvent; r=jdm
...
This is needed to ensure that the ServiceWorkerManager uses the
correct URI for non-subresource requests. Note that we're relying
on the property that non-secure non-subresource requests can never
be intercepted, so we don't need to check the request type explicitly.
2016-01-04 09:52:42 -05:00
Ben Kelly
a8e331cb3c
Bug 1232444 Only store service worker registrations after install is successful. r=baku
2015-12-18 11:04:40 -05:00
Ben Kelly
7ee0563979
Bug 1231974 P6 Abort update-triggered install jobs if the service worker script has changed. r=baku
2015-12-18 11:04:40 -05:00
Ben Kelly
3b0d5a26f7
Bug 1231974 P4 Lazy load registration and verify it does not change in service worker jobs. r=baku
2015-12-18 11:04:40 -05:00
Ben Kelly
1069685d1e
Bug 1231974 P3 Store the principal on the ServiceWorkerJobBase. r=baku
2015-12-18 11:04:39 -05:00
Ben Kelly
b6eb92e642
Bug 1231974 P2 Store scope on ServiceWorkerJobBase. r=baku
2015-12-18 11:04:39 -05:00
Ben Kelly
8c3a1c58b9
Bug 1231974 P1 Remove unneeded ServiceWorkerScriptJobBase abstract class. r=baku
2015-12-18 11:04:39 -05:00
Alexandre Poirot
a4ea4fd1d7
Bug 1228382 - Expose an API to relate nsIWorkerDebugger to its nsIServiceWorkerInfo instance. r=ejpbruel
2015-12-15 03:10:53 -08:00
Ben Kelly
3031a5e798
Bug 1226443 P5 Always use first scheduled update timer instead of rescheduling on new events. r=ehsan
2015-12-11 14:53:11 -05:00
Ben Kelly
df5ad0d651
Bug 1226443 P2 Make service worker fetch and functional events used scheduled timer updates. r=ehsan
2015-12-11 14:53:11 -05:00
Ben Kelly
307ce185ba
Bug 1226443 P1 Add a timer based mechanism for firing service worker updates. r=ehsan
2015-12-11 14:53:10 -05:00
Ben Kelly
aa91bf8932
Bug 1227015 P6 Abort updates if the script spec has changed. r=ehsan
2015-12-11 14:53:10 -05:00
Ben Kelly
4894a7cfe2
Bug 1227015 P5 Remove ServiceWorkerRegistrationInfo mScriptSpec. r=ehsan
2015-12-11 14:53:10 -05:00
Ben Kelly
70878571a2
Bug 1227015 P4 Make register job always require an explicit script spec. r=ehsan
2015-12-11 14:53:10 -05:00
Ben Kelly
00d04349da
Bug 1227015 P3 Require a script spec on install jobs. r=ehsan
2015-12-11 14:53:10 -05:00
Ben Kelly
949bb71c55
Bug 1227015 P2 Move mScriptSpec from registration job into script job base. r=ehsan
2015-12-11 14:53:10 -05:00
Ben Kelly
fe53d2c3f1
Bug 1227015 P1 Create ServiceWorkerScriptJobBase as parent class to register and install jobs. r=ehsan
2015-12-11 14:53:10 -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
c2715db12c
Bug 1226443 P5 Always use first scheduled update timer instead of rescheduling on new events. r=ehsan
2015-12-10 18:08:14 -05:00
Ben Kelly
a24969614e
Bug 1226443 P2 Make service worker fetch and functional events used scheduled timer updates. r=ehsan
2015-12-10 18:08:14 -05:00
Ben Kelly
b462224332
Bug 1226443 P1 Add a timer based mechanism for firing service worker updates. r=ehsan
2015-12-10 18:08:14 -05:00
Ben Kelly
c9f6784e88
Bug 1227015 P6 Abort updates if the script spec has changed. r=ehsan
2015-12-10 18:08:14 -05:00
Ben Kelly
8553f6a213
Bug 1227015 P5 Remove ServiceWorkerRegistrationInfo mScriptSpec. r=ehsan
2015-12-10 18:08:13 -05:00
Ben Kelly
b482d83899
Bug 1227015 P4 Make register job always require an explicit script spec. r=ehsan
2015-12-10 18:08:13 -05:00
Ben Kelly
02f38ce5fe
Bug 1227015 P3 Require a script spec on install jobs. r=ehsan
2015-12-10 18:08:13 -05:00
Ben Kelly
19048a691c
Bug 1227015 P2 Move mScriptSpec from registration job into script job base. r=ehsan
2015-12-10 18:08:13 -05:00
Ben Kelly
e48e8283b3
Bug 1227015 P1 Create ServiceWorkerScriptJobBase as parent class to register and install jobs. r=ehsan
2015-12-10 18:08:13 -05:00
Phil Ringnalda
25f1862c01
Back out 7 changesets (bug 1227015) for serviceworker bustage
...
CLOSED TREE
Backed out changeset a267542e8cb7 (bug 1227015)
Backed out changeset 03c28b711e1f (bug 1227015)
Backed out changeset 5fc6fca28ddf (bug 1227015)
Backed out changeset 7fb0c56916d2 (bug 1227015)
Backed out changeset 4bef51e9c8ae (bug 1227015)
Backed out changeset c46b5abddec5 (bug 1227015)
Backed out changeset fb4554bd3bde (bug 1227015)
2015-12-08 20:37:16 -08:00
Ben Kelly
6db5442a5a
Bug 1227015 P6 Abort updates if the script spec has changed. r=ehsan
2015-12-08 11:58:45 -05:00
Ben Kelly
e49dd390ed
Bug 1227015 P5 Remove ServiceWorkerRegistrationInfo mScriptSpec. r=ehsan
2015-12-08 11:58:45 -05:00
Ben Kelly
9f3018f343
Bug 1227015 P4 Make register job always require an explicit script spec. r=ehsan
2015-12-08 11:58:45 -05:00
Ben Kelly
f252979f44
Bug 1227015 P3 Require a script spec on install jobs. r=ehsan
2015-12-08 11:58:45 -05:00
Ben Kelly
8696619698
Bug 1227015 P2 Move mScriptSpec from registration job into script job base. r=ehsan
2015-12-08 11:58:45 -05:00
Ben Kelly
b72cfb4d78
Bug 1227015 P1 Create ServiceWorkerScriptJobBase as parent class to register and install jobs. r=ehsan
2015-12-08 11:58:44 -05:00
Ben Kelly
e314cd68f8
Bug 1230341 Hold a strong ref in service worker NS_NewRunnableMethodWithArg uses. r=ehsan a=abillings
2015-12-04 18:03:47 -08:00
Ben Kelly
ea281eaa6c
Bug 1230164 P2 Only activate service workers in the activating state. r=ehsan
2015-12-04 13:32:37 -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
f08794455e
Bug 1222464 - Part 1: Save a client ID for top-level navigations on the docshell and assign it as the document ID when we start loading the document; r=jdm
...
For top-level navigations, we need to compute the client ID when we decide to
intercept the document load, and we need to make sure the document that will
be created later will end up using that same ID.
2015-12-02 20:36:56 -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
Catalin Badea
7e7bbd3117
Bug 1189659 - Part 2 - Remove set of scopes being updated from ServiceWorkerManager. r=bkelly
2015-11-26 19:03:10 +02:00
Catalin Badea
702fbd7329
Bug 1227932 - Fix Service Workers SoftUpdate and registration.update code paths. r=ehsan
...
This patch splits the code paths for registration.update and soft update
since they have different behaviour. Next, it changes ServiceWorkerRegisterJob
to use just one callback and just prevents soft update from queuing a new
task if another one is pending.
2015-11-26 19:03:10 +02:00