Commit Graph

84 Commits

Author SHA1 Message Date
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
Catalin Badea
9219811fbb Bug 982726 - Patch 1.1 - Service Worker: ServiceWorkerClients and Client interfaces with getServiced(). r=baku 2014-10-27 12:03:00 +01:00
Ehsan Akhgari
84273c2558 Bug 1072310 - Build more DOM code in unified mode; r=baku 2014-09-25 10:12:06 -04:00
Andrea Marchesini
01d4322083 Bug 982728 - Implement ServiceWorkerGlobalScope unregister(), r=nsm 2014-09-10 11:21:32 -04:00
Andrea Marchesini
0857e48dec Bug 1065109 - Remove the MOZ_ASSERT(IsControllingDocuments()) in ServiceWorkerManager CLOSED TREE, r=nsm 2014-09-09 18:01:07 -04:00
Ryan VanderMeulen
3b3a3d874b Backed out 4 changesets (bug 982726) for the same serviceworker perma-fails it hit last time it landed.
Backed out changeset 9674f68df2e5 (bug 982726)
Backed out changeset 9d397edb8e9a (bug 982726)
Backed out changeset ebe7add5dd11 (bug 982726)
Backed out changeset 2771520aa1b9 (bug 982726)
2014-09-03 21:45:30 -04:00
Catalin Badea
e703766515 Bug 982726 - Patch 1 - Service Worker: ServiceWorkerClients and Client interfaces with getServiced(). r=baku 2014-08-27 10:24:09 -07:00
Wes Kocher
f123f281cd Backed out 4 changesets (bug 982726) for mochitest-4 bustage
Backed out changeset 547076d4a357 (bug 982726)
Backed out changeset 095ca68e5d38 (bug 982726)
Backed out changeset 05acfcc7a341 (bug 982726)
Backed out changeset 9244a16c3258 (bug 982726)
2014-09-02 19:09:38 -07:00
Catalin Badea
e384aa41f5 Bug 982726 - Patch 1 - Service Worker: ServiceWorkerClients and Client interfaces with getServiced(). r=baku 2014-08-27 10:24:09 -07:00
Nikhil Marathe
a924abb582 Bug 1057933 - ServiceWorkerRegistrations should use scope and not window to obtain workers. r=baku 2014-08-24 22:35:03 -07:00
Andrea Marchesini
6d316e55fa Bug 1059174 - Allow ServiceWorkers over http on localhost, r=nsm 2014-09-02 21:07:55 +01:00
Ehsan Akhgari
99fed18e00 Bug 1061023 - Fix more bad implicit constructors in DOM; r=baku 2014-09-01 18:26:43 -04:00
Nikhil Marathe
4b83c35a32 Bug 1058043 - Patch 2 - StopListeningForEvents in ServiceWorkerRegistration destructor. r=baku 2014-08-27 13:33:20 -07:00
Andrea Marchesini
75d11e9f51 Bug 1025077 - Implement ServiceWorkerContainer.ready, r=nsm 2014-08-26 09:16:03 +01:00
Nikhil Marathe
88088eab5c Bug 1057135 - Use MOZ_ASSERT. r=ehsan 2014-08-22 15:19:37 -07:00
Nikhil Marathe
d7caad13f9 Bug 1057135 - Use MOZ_CRASH and not MOZ_ASSERT. Typo. r=bustage 2014-08-22 15:01:06 -07:00
Nikhil Marathe
3612840e87 Bug 1057135 - ServiceWorkerManager::Register() uses entry global. r=ehsan 2014-08-21 16:31:12 -07:00
Nikhil Marathe
a88a804ab7 Bug 1057136 - ServiceWorkers use longest-match for scopes. r=ehsan,bz 2014-08-21 16:38:40 -07:00
Nikhil Marathe
8f75bef4d7 Bug 1011268 - Unregister algorithm. r=ehsan 2014-07-14 10:33:44 -07:00