Commit Graph

50 Commits

Author SHA1 Message Date
Nikhil Marathe
cd10b7c6f8 Bug 1114554 - Patch 3 - Fire notificationclick event on ServiceWorkerGlobalScope. r=wchen,baku
Bug 1114554 - Patch 3.1 - ServiceWorker principal fixes. r=baku

Bug 1162088 introduced origin attributes that ServiceWorkerManager callers have to use. This patch updates notificationclick events to work.

Folded:
Hide NotificationEvent behind pref
2015-06-25 18:50:25 -07:00
Ryan VanderMeulen
965e1e9b30 Backed out 11 changesets (bug 916893, bug 1114554) for various mochitest and Gij failures.
Backed out changeset 247ca4bf258e (bug 1114554)
Backed out changeset 5578d5c280a6 (bug 1114554)
Backed out changeset 404830c1ecf7 (bug 1114554)
Backed out changeset 15bdf9c78e6e (bug 1114554)
Backed out changeset f92abe5ec784 (bug 1114554)
Backed out changeset 75324b6862a8 (bug 1114554)
Backed out changeset ce8a768782f2 (bug 1114554)
Backed out changeset 0d860fd12534 (bug 1114554)
Backed out changeset 7dc2448065a9 (bug 916893)
Backed out changeset c3b07f0d1a60 (bug 916893)
Backed out changeset 61c3f24cc908 (bug 916893)

CLOSED TREE
2015-06-25 19:52:40 -04:00
Nikhil Marathe
242fe36854 Bug 1114554 - Patch 3 - Fire notificationclick event on ServiceWorkerGlobalScope. r=wchen,baku
Bug 1114554 - Patch 3.1 - ServiceWorker principal fixes. r=baku

Bug 1162088 introduced origin attributes that ServiceWorkerManager callers have to use. This patch updates notificationclick events to work.

Folded:
Hide NotificationEvent behind pref
2015-06-25 15:01:01 -07:00
Nikhil Marathe
386ed172ac Bug 1166350 - Push fixes for principals. r=kitcambridge,bholley
Fix xpcshell tests.
Add support for webapps-clear-data.
Trash old regs on idb version upgrade.
Use principal for permission check.
use principal in PushSubscription.
2015-06-24 13:34:54 -07:00
Ryan VanderMeulen
2768d1ce46 Backed out changeset 98c7277a8fb5 (bug 1166350) for xpcshell failures. 2015-06-24 16:10:45 -04:00
Nikhil Marathe
6475190f81 Bug 1166350 - Push fixes for principals. r=kitcambridge,bholley
Fix xpcshell tests.
Add support for webapps-clear-data.
Trash old regs on idb version upgrade.
Use principal for permission check.
use principal in PushSubscription.
2015-06-02 15:56:33 -07:00
Andrea Marchesini
d94332756c Bug 1167296 - patch 2 - ServiceWorkerManager::Remove should use PBackground, r=nsm 2015-06-21 12:19:07 +01:00
Andrea Marchesini
3853db5097 Bug 1167296 - patch 1 - ServiceWorkerManager::RemoveAll should use PBackground, r=nsm 2015-06-21 12:17:58 +01:00
Andrea Marchesini
3e8616e1d2 Bug 1155153 - about:serviceworkers should work in e10s mode, r=nsm, r=bholley 2015-06-04 19:51:57 +01:00
Carsten "Tomcat" Book
00075586c5 Backed out changeset bc305c9b5d05 (bug 1155153) for b2g xpshell test failure on a CLOSED TREE 2015-06-05 13:07:51 +02:00
Andrea Marchesini
f04368fa30 Bug 1155153 - about:serviceworkers should work in e10s mode, r=nsm, r=bholley 2015-06-04 19:51:57 +01:00
Andrea Marchesini
98a3ecde60 Bug 1162088 - patch 2 - ServiceWorkerManager should use OriginAttributes from the principal as scopeKey, r=nsm 2015-06-03 09:44:09 +01:00
Andrea Marchesini
5ad7cadc6a Bug 1162088 - patch 1 - ServiceWorkerManager should use OriginAttributes from the principal as scopeKey, r=nsm, r=bholley 2015-06-03 09:43:43 +01:00
Nikhil Marathe
799edd5e49 Bug 1080109 - Clear ServiceWorkers when clearing history or forgetting about site. r=baku,ehsan 2015-03-05 17:37:49 -08:00
Dragana Damjanovic
4ac30bbd3c Bug 1156397 - some fix for webpush PushServer. r=dougt r=nsm 2015-04-24 14:55:00 +02:00
Nikhil Marathe
2a0eedc7a2 Bug 1131327 - Patch 6 - SWM holds ServiceWorkerRegistrationListener for updatefound and invalidation notifications. r=baku
Splits up the listener interface to which SWM can hold rawptrs so that registration objects living on the worker thread can use awkward proxies to listen to these events.
2015-04-08 13:13:32 -07:00
Nikhil Marathe
a1cc668925 Bug 1131350 - Move update() to ServiceWorkerRegistration. r=baku 2015-03-19 18:09:10 -07:00
Ehsan Akhgari
9048331e30 Bug 1112469 - Part 2: Update the service workers in the parent and all child processes every day; r=nsm 2015-04-17 14:01:21 -04:00
Andrea Marchesini
9299a3b105 Bug 1154721 - Add an "Unregister" button to about:serviceworkers, r=ehsan 2015-04-15 18:11:17 +01:00
Doug Turner
81853c295b Bug 1038811 - Push Notifications - ServiceWorker changes, push event implementation. r=nsm 2015-04-10 20:19:28 -07:00
Doug Turner
d72f746c2a Bug 1038811 - Push Notifications - WebIDL changes. r=nsm. sr=jst 2015-04-10 20:19:28 -07:00
Andrea Marchesini
ae62b704cd Bug 1133601 - Implement about:serviceworkers, r=ehsan 2015-04-10 09:50:06 +01:00
Josh Matthews
02821cb4eb Bug 1134330 - Mark fetch events as reloads appropriately. r=smaug 2015-03-23 13:36:44 -04:00
Nikhil Marathe
51e0c370ac Bug 1130688 - Implement additional scope checking in service worker registration. r=bkelly,ehsan 2015-03-09 18:57:06 -07: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
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
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
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
Andrea Marchesini
01d4322083 Bug 982728 - Implement ServiceWorkerGlobalScope unregister(), r=nsm 2014-09-10 11:21:32 -04:00
Andrea Marchesini
8fbe805794 Bug 1065036 - nsIServiceWorkerManager.idl should be a builtinclass, r=nsm 2014-09-09 15:04:35 -04: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
75d11e9f51 Bug 1025077 - Implement ServiceWorkerContainer.ready, r=nsm 2014-08-26 09:16:03 +01:00
Nikhil Marathe
3612840e87 Bug 1057135 - ServiceWorkerManager::Register() uses entry global. r=ehsan 2014-08-21 16:31:12 -07:00
Nikhil Marathe
8f75bef4d7 Bug 1011268 - Unregister algorithm. r=ehsan 2014-07-14 10:33:44 -07:00
Andrea Marchesini
398ba28b05 Bug 1002571 - Implement navigator.serviceWorker.getRegistrations. r=nsm 2014-08-20 11:40:00 -04:00
Andrea Marchesini
f58a0cc498 Bug 1043004 - Update ServiceWorkerContainer API to spec. r=bkelly 2014-08-19 09:56:00 -04:00
Nikhil Marathe
91c337a7c2 Bug 1002570 - Return valid ServiceWorker instances for .installing, .waiting, .active and .controller. r=ehsan 2014-07-23 14:05:08 -07:00
Nikhil Marathe
d4200f5194 Bug 984048 - Part 7 - Documents register themselves with corresponding ServiceWorkerInfo. r=bz 2014-07-20 23:25:44 -07:00
Nikhil Marathe
2452e85f23 Bug 983497 - Patch 1: Infrastructure to fire events on ServiceWorkerContainers. r=ehsan,smaug 2014-07-14 14:15:23 -07:00
Nikhil Marathe
ba4423ecda Bug 984048 - Patch 6 - Scope ordering and utility functions. r=ehsan,khuey
Added r=khuey via IRC to validate webidl DOM peer check.
2014-07-11 11:52:19 -07:00
Nikhil Marathe
e89098ced8 Bug 984048: Part 1 - ServiceWorkerManager Register(). r=ehsan 2013-11-19 15:15:02 -08:00
Ryan VanderMeulen
7d6956db11 Backed out changeset 3add0c55a799 (bug 984048) for mochitest-e10s timeouts. 2014-05-29 15:02:41 -04:00
Nikhil Marathe
aa961d511f Bug 984048: Part 1 - ServiceWorkerManager Register(). r=ehsan 2013-11-19 15:15:02 -08:00