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
Eddy Bruel
08d4ac4c3a
Bug 1219255 - We should be able to attach to a service worker;r=amarchesini
2015-11-26 12:18:56 +01:00
Yoshi Huang
47c69d1edb
Bug 1209162 - Create OriginAttributes subtypes. IGNORE IDL r=sicking.
2015-11-03 09:50:54 +08:00
Ben Kelly
be9d6f9feb
Bug 1226441 - Part 2: Delay functional event dispatch until service worker is activated; r=catalinb
2015-11-24 10:49:00 -05:00
Andrea Marchesini
5fd342bd77
Bug 1227113 - Fix some indentation issues in ServiceWorkerManager, r=janv
2015-11-23 13:47:53 +00:00
Boris Zbarsky
b99f535968
Bug 1226479. Change ErrorResult::ThrowTypeError/ThrowRangeError to take string references, not pointers. r=mccr8
2015-11-20 13:36:46 -05: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
Kyle Huey
a7127571f2
Bug 1224436: Remove enumerator usage in ServiceWorkerManager.cpp. r=njn
2015-11-19 16:03:29 +08:00
Ben Kelly
37f874f8bf
Bug 1224941 Don't crash during ServiceWorker life cycle event dispatch if window is gone. r=baku
2015-11-16 08:41:57 -08:00
Ben Kelly
42d5f3663c
Bug 1223116 P1 Expose nsIServiceWorkerManager.shouldReportToWindow(). r=catalinb
2015-11-16 08:04:11 -08:00
Ben Kelly
8c4825c5b3
Bug 1217909 P11 Only report errors to documents that are active and not in the bfcache. r=catalinb
2015-11-16 08:04:11 -08:00
Ben Kelly
bee84a998c
Bug 1217909 P10 Remove stale nsTArray when the last registering document for a scope is removed. r=catalinb
2015-11-16 08:04:11 -08:00
Ben Kelly
e03765f433
Bug 1217909 P9 Report exceptions to windows performing an intercepted navigation. r=catalinb
2015-11-16 08:04:11 -08:00
Ben Kelly
b2307b5f15
Bug 1217909 P8 Track navigation interceptions per scope in ServiceWorkerManager. r=catalinb
2015-11-16 08:04:11 -08:00
Ben Kelly
9f073cd59f
Bug 1217909 P3 Refactor service worker register()/update() to reject only with SecurityErr or TypeErr. r=catalinb
...
* * *
Bug 1217909 P3 interdiff 001 fix try build
2015-11-16 08:04:11 -08:00
Ben Kelly
667e6b5241
Bug 1217909 P2 Track registering documents as weak reference so SWM can report errors to them. r=catalinb
2015-11-16 08:04:11 -08:00
Ben Kelly
71f74fc4dc
Bug 1217909 P1 Report service worker exceptions to controlled documents. r=catalinb
...
* * *
Bug 1217909 P1 interdiff 001 refactor
2015-11-16 08:04:11 -08:00
Phil Ringnalda
158aa5a061
Back out 9 changesets (bug 1214305) for e10s devtools browser_bug1045902_console_csp_ignore_reflected_xss_message.js failures
...
Backed out changeset 82929be36e95 (bug 1214305)
Backed out changeset e926606aefbf (bug 1214305)
Backed out changeset 226c83ca9a2a (bug 1214305)
Backed out changeset 88ab26108f2d (bug 1214305)
Backed out changeset 2e3e4f256d46 (bug 1214305)
Backed out changeset 347cd0f8f1e3 (bug 1214305)
Backed out changeset be072bba15fc (bug 1214305)
Backed out changeset 3b85acbe7be7 (bug 1214305)
Backed out changeset 49b930683c02 (bug 1214305)
2015-11-14 10:09:58 -08:00
Ehsan Akhgari
865a33ecbd
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.
2015-11-02 11:27:00 -05:00
Eddy Bruel
f1b5ff2ac0
Bug 1220740 - nsIServiceWorkerRegistrationInfo should emit an event when its worker properties change;r=amarchesini
2015-11-13 21:54:54 +01:00
Eddy Bruel
4ad87be2d1
Bug 1220740 - nsIServiceWorkerRegistrationInfo should emit an event when its scriptSpec property changes;r=amarchesini
2015-11-13 21:54:45 +01: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
64047fc91f
Bug 1223378 Tighten service worker register() principal checks. r=baku
...
* * *
Bug 1223378 interdiff 001 Allow app scheme on non-release builds.
2015-11-10 13:51:22 -08:00
Wes Kocher
acfb018fda
Backed out changeset 27f5e66b3919 (bug 1201498) for serviceworkerobject-scripturl.https.html failures
2015-11-10 10:51:23 -08:00
Andrea Marchesini
ad73419e87
Bug 1201498 - Service worker update should compare scriptURL to worker URL without fragment, r=bkelly
2015-11-10 17:05:47 +00:00
Matthew Noorenberghe
4f21c5082b
Bug 1221365 - Move "Is origin potentially trustworthy?" logic outside ServiceWorkerManager.cpp. r=ckerschb,bkelly
2015-11-06 11:10:17 -08:00