Commit Graph

84 Commits

Author SHA1 Message Date
Andrea Marchesini
530c7f5110 Bug 1174381 - ServiceWorkerManager::TeardownRunnable should be called when xpcom-shutdown notification is received, r=nsm 2015-06-23 05:56:29 -07:00
Ryan VanderMeulen
565d733cc2 Backed out changeset b7653e3d5f91 (bug 1174381) for widespread assertion failures. 2015-06-21 07:47:02 -04: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
f8062b6dec Bug 1174381 - ServiceWorkerManager::TeardownRunnable should be called when xpcom-shutdown notification is received, r=nsm 2015-06-21 10:21:28 +01:00
Fernando Jimenez
d9d7dbf423 Bug 1169249 - Unregister service worker registration when uninstalling a service-worker-enabled application. r=baku 2015-06-11 19:42:38 +02: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
Ehsan Akhgari
3144e13581 Bug 1171486 - Avoid recursively obtaining the service worker manager service; r=nsm 2015-06-04 16:27:48 -04:00
Andrea Marchesini
19fd4301a8 Bug 1131352 - Part 3: ServiceWorkerManager::SetSkipWaitingFlag() updated CLOSED TREE 2015-06-03 15:20:52 +01:00
Jose Antonio Olivera Ortega
32e71ba20a Bug 1131352 - Part 2: Add ServiceWorkerGlobalScope skipWaiting(). r=nsm, r=baku 2015-06-02 07:12:00 -04: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
Catalin Badea
62c1d7dc08 Bug 1130684 - Implement Service Worker clients.claim. r=nsm,ehsan 2015-05-14 12:41:42 -07: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
Andrew McCreight
92010d3e4c Bug 1152551, part 2 - Fix mode lines in dom/. r=jst 2015-05-03 15:32:37 -04: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
0c816397ac Bug 1131327 - Patch 1 - Introduce ServiceWorkerRegistration{Base,MainThread,WorkerThread} r=baku 2015-04-03 15:18:55 -07:00
Andrea Marchesini
54b1f80bbb Bug 1156632 - Remove unused forward class declarations - patch 2 - dom/media, dom/indexedDB, dom/svg, r=ehsan 2015-04-22 08:29:17 +02:00
Doug Turner
81853c295b Bug 1038811 - Push Notifications - ServiceWorker changes, push event implementation. r=nsm 2015-04-10 20:19:28 -07:00
Nikhil Marathe
c87c82a2b9 Bug 931249 - patch 2 - cachename integration. r=nsm 2015-03-18 09:46:38 -07:00
Nikhil Marathe
e32a19812b Bug 931249 - patch 1 - Scriptloader use cache if needed. r=khuey 2015-03-19 11:41:42 -07:00
Ehsan Akhgari
ea41d8de48 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Catalin Badea
89789e6fc6 Bug 1058311 - Update client interface. Implement matchAll WindowClient. r=baku 2015-03-06 15:04:49 +02:00
Nikhil Marathe
bd7f32f7ea Bug 1131882 - Associate ServiceWorkers with underlying ServiceWorkerInfo. r=baku
This allows controller to track state too, and provides better encapsulation.
1) Move SW setup to SWM. RuntimeService now only creates the underlying SharedWorker.
2) Require a SWInfo to create a SW. The SW holds a refptr to the info.
2015-02-19 08:40:21 -08:00
Nikhil Marathe
2eb04ccb93 Bug 1132141 - Update storage when ServiceWorker registration fails. r=baku 2015-02-11 10:51:32 -08:00
Nikhil Marathe
4ba8470675 Bug 1131874 - ServiceWorker persistence activation fixes. r=baku 2015-02-10 18:08:58 -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
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
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
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
296261621d Bug 1113627 - Refactor lifecycle event dispatching and handling. r=baku,bz 2014-12-19 05:01:53 -08:00
Masatoshi Kimura
90898b1eb4 Bug 1111290 - Part 3: Remove TypedEnum.h and fold TypedEnumInternal.h into TypedEnumBits.h. r=waldo 2015-01-26 07:22:11 +09: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
0291f8d0a6 Bug 1113957 - Do not assert job queue empty at shutdown. a=bustage CLOSED TREE 2015-01-23 12:42:32 -08:00
Nikhil Marathe
346486e3a6 Bug 1113627 - Refactor lifecycle event dispatching and handling. r=baku 2014-12-19 05:01:53 -08:00