Commit Graph

102 Commits

Author SHA1 Message Date
Ben Kelly
dad79a535a Bug 1118845 P2 Make SharedWorker override parent LoadGroup with custom proxy callbacks. r=khuey 2015-02-21 10:09:17 -05:00
Daniel Holbert
f402074538 Bug 1134931: Add some missing MOZ_OVERRIDE annotations in ServiceWorkerManager.cpp, nsFrameMessageManager.cpp, and 2D.h. r=ehsan 2015-02-20 09:25:07 -08:00
Catalin Badea
51a535c3ff Bug 1058311 - Remove prefix for SWClients. Rename getServiced to matchAll. Add stub query options for matchAll r=baku 2015-02-20 17:16:17 +02:00
Josh Matthews
e333052c55 Bug 1065216 - Dispatch a fetch event to workers when controlled pages initiate a network load. r=baku,mayhemer,smaug 2015-02-18 20:34:29 -05:00
Ryan VanderMeulen
e1c8dc900b Backed out changeset 25f90464e93b (bug 1065216) for Android mochitest failures. 2015-02-18 16:00:33 -05:00
Josh Matthews
6857251ced Bug 1065216 - Dispatch a fetch event to workers when controlled pages initiate a network load. r=baku,mayhemer,smaug 2015-02-18 14:10:52 -05:00
Nikhil Marathe
efa9c0d66b Bug 1130570 - Ensure we have a valid runtime service, and clear updating scopes on early return. r=baku 2015-02-11 13:24:57 -08:00
Nikhil Marathe
16455755b3 Bug 1130065 - ServiceWorkerManager capture "atomically" properly.
Folds:
Enable most SW tests
Cannot rely on controllerchange firing in an already controlled window. The AbortError case is no longer relevant due to FIFO ordering
Too bad we have to use timeouts
2015-02-10 14:33:23 -08:00
Nikhil Marathe
af6fc8b6ae Bug 1041340 - Implement [[HandleDocumentUnload]]. r=baku 2014-10-24 15:11:26 -07:00
Andrea Marchesini
e89dcf46ef Bug 1133242 - ServiceWorkerManager must use the correct principal in b2g, r=nsm 2015-02-17 13:36:09 +01:00
Carsten "Tomcat" Book
a35df81bb3 Backed out changeset 4ed31c8b45c6 (bug 1041340) for causing multiple timeouts on different platforms in service worker tests on a CLOSED TREE 2015-02-17 09:35:58 +01:00
Carsten "Tomcat" Book
57cb3c0a5a Backed out changeset 4d8423d5a83b (bug 1130065) 2015-02-17 09:35:27 +01:00
Carsten "Tomcat" Book
0c49a0a6f4 Backed out changeset 8e6ce9a41be7 (bug 1130570) 2015-02-17 09:35:25 +01:00
Andrea Marchesini
77bd56d1e2 Bug 1133541 - ServiceWorkerManger::GetRegistrations should use the principal to match the registration objects, r=nsm 2015-02-16 23:22:17 +01:00
L. David Baron
1fae6d1f54 Back out changeset ffa5f28f512c (bug 1133541) on a CLOSED TREE for failing to compile (aPrincipal: undeclared identifier). 2015-02-17 10:42:40 +13:00
Andrea Marchesini
af6a12255a Bug 1133541 - ServiceWorkerManger::GetRegistrations should use the principal to match the registration objects, r=nsm 2015-02-16 21:59:53 +01:00
Nikhil Marathe
34e8a4b8ea Bug 1130570 - Ensure we have a valid runtime service, and clear updating scopes on early return. r=baku 2015-02-11 13:24:57 -08:00
Nikhil Marathe
6edaf1ad23 Bug 1130065 - ServiceWorkerManager capture "atomically" properly. r=baku
Folds:
Enable most SW tests
Cannot rely on controllerchange firing in an already controlled window. The AbortError case is no longer relevant due to FIFO ordering
Too bad we have to use timeouts
2015-02-10 14:33:23 -08:00
Nikhil Marathe
a24c37ea22 Bug 1041340 - Implement [[HandleDocumentUnload]]. r=baku 2014-10-24 15:11:26 -07:00
Andrea Marchesini
de5e712eda Bug 984050 - Persist ServiceWorkerRegistrations. r=bent, r=nsm 2015-02-11 06:53:00 -05:00
Carsten "Tomcat" Book
5e3f1e809b Backed out changeset b3a1efe7900a (bug 984050) for cpp unitest failures on a CLOSED TREE 2015-02-11 13:29:16 +01:00
Andrea Marchesini
81ac08e913 Bug 984050 - Persist ServiceWorkerRegistrations. r=bent,nsm 2015-02-11 10:10:23 +01:00
Andrea Marchesini
0155dd5d36 Bug 1131700 - ServiceWorkerManager::CreateServiceWorker should use RuntimeService::GetOrCreateService. r=nsm 2015-02-10 09:58:00 +01:00
Dhi Aurrahman
1aac214090 Bug 1113003: Remove domain level lookup from ServiceWorkerManager. r=nsm 2015-02-09 11:33:39 +07:00
Phil Ringnalda
b2db6abba6 Back out 3da63ccbadef (bug 984050) for Windows cppunit bustage
CLOSED TREE
2015-02-06 19:49:42 -08:00
Andrea Marchesini
838bcc28bc Bug 984050 - Persist ServiceWorker registrations, r=bent, r=nsm 2015-02-06 23:31:33 +00:00
Nikhil Marathe
793e653abc Bug 1113957 - ServiceWorker unregistration uses job queue. r=baku 2015-01-22 14:10:38 -08:00
Nikhil Marathe
9fe4527743 Bug 1113631 - Remove registration when installation failure occurs. Fixes spec issue #547. r=baku 2014-11-05 14:43:51 -08:00
Nikhil Marathe
296261621d Bug 1113627 - Refactor lifecycle event dispatching and handling. r=baku,bz 2014-12-19 05:01:53 -08:00
Nikhil Marathe
2e1201496c Bug 1113621 - Rename InstallPhaseEvent to ExtendableEvent. r=baku relanding because it wasn't supposed to be backed out on a CLOSED TREE
Change Exposed=ServiceWorker for all ServiceWorker events.
Move Func= exposure check to ServiceWorker.
2014-11-06 07:57:57 -08:00
Wes Kocher
16e803d0d7 Backed out changeset 5555ee7490fb (bug 1113631) for asan mochitest-4 bustage on a CLOSED TREE 2015-01-23 19:51:33 -08:00
Wes Kocher
c9a1df490c Backed out changeset 5ed6d1902cc7 (bug 1113621) for asan mochitest-4 bustage on a CLOSED TREE 2015-01-23 19:49:51 -08:00
Wes Kocher
64f9371a3e Backed out changeset 3ff80c877212 (bug 1113627) for asan mochitest-4 bustage on a CLOSED TREE 2015-01-23 19:49:39 -08:00
Nikhil Marathe
d2b3be9c98 Bug 1113631 - Remove registration when installation failure occurs. Fixes spec issue #547. r=baku 2014-11-05 14:43:51 -08:00
Nikhil Marathe
346486e3a6 Bug 1113627 - Refactor lifecycle event dispatching and handling. r=baku 2014-12-19 05:01:53 -08:00
Nikhil Marathe
cce8f43d85 Bug 1113621 - Rename InstallPhaseEvent to ExtendableEvent. r=baku
Change Exposed=ServiceWorker for all ServiceWorker events.
Move Func= exposure check to ServiceWorker.
2014-11-06 07:57:57 -08:00
Nikhil Marathe
4c858a3c67 Bug 1113619 - Abort on lifecycle event handler errors. r=baku
Folded:
Handle install event listener errors and fail installation
Activate handler runtime errors should lead to activation failure.
2014-12-19 04:45:07 -08:00
Nikhil Marathe
f5936227a8 Bug 1113582 - ServiceWorker parse errors are now properly handled during the Update phase. r=baku,bz
Folded:
Enable network error detection test. Fix scopes for network test and parse...

... test to deal with https://github.com/slightlyoff/ServiceWorker/issues/547
2014-12-19 02:48:31 -08:00
Nikhil Marathe
e7e13b2f52 Bug 1043701 - Fire statechange event on ServiceWorker instances. r=baku
Folded:
Various registration related UpdateState() calls and abort on failure to create a service worker.
Set ServiceWorker instances state based on corresponding ServiceWorkerInfo state.
2014-12-19 03:25:56 -08:00
Nikhil Marathe
a6d3c91c45 Bug 1113587 - Fire controllerchange event on controlled documents ServiceWorkerContainer. r=baku 2014-10-28 13:11:31 -07:00
Nikhil Marathe
ec6b753301 Bug 1089778 - ServiceWorkerManager NS_WARN_IF compiler error. a=bustage 2015-01-23 11:53:23 -08:00
Nikhil Marathe
ba6a5998ca Bug 1089778 - ServiceWorkerRegistration is keyed by scope for event dispatch and invalidation. r=baku 2014-10-27 11:52:57 -07:00
Nikhil Marathe
7ab9e80138 Bug 1113555 - Update ServiceWorker registration lifecycle. r=baku
Folded:
Allow file: serviceworkers
Registration fixes WIP
Queue updatefound instead of immediately firing
Initial "atomically" steps of registration should also be a part of the job
Fix some compiler errors
Be sure not to null out various workers too early during activation
Integrated ServiceWorkerGlobalScope::Update into the ServiceWorkerRegisterJob.
2014-12-19 02:00:29 -08:00
Andrea Marchesini
2a3999d9e4 Bug 1065366 - Implement ServiceWorkerGlobalScope update(), r=nsm 2014-10-06 16:45:14 +01:00
Ben Turner
c8ed07d8be Bug 701634 - Support IndexedDB in Workers, r=khuey+baku. 2014-12-16 22:26:15 -08:00
Ben Kelly
d1ef23e7c5 Bug 1107516 - Part 3: Make sure all workers have an nsILoadGroup when loading scripts. r=sicking, r=bent 2014-12-12 11:06:00 -05:00
Wes Kocher
3c0de68457 Backed out changeset bf25101e66cf (bug 1095098) for build bustage 2014-12-08 16:27:12 -08:00
Denis Volk
cbf9ae78f0 Bug 1095098: move do_QueryObject templates into their own header r=froydnj 2014-11-20 12:20:10 +01:00
Tom Tromey
3a019e7900 Bug 1101819 - Check result of ToJSValue. r=nsm 2014-11-19 13:38:00 -05:00
Catalin Badea
5b732be15c Bug 982726 - Patch 1.5 - Update getServiced test and fix an assert when the registration has been removed. r=baku 2014-11-04 13:04:00 +01:00