Commit Graph

172 Commits

Author SHA1 Message Date
Andrea Marchesini
80f57ca876 Bug 1131352 - Part 3: ServiceWorkerManager::SetSkipWaitingFlag() updated CLOSED TREE 2015-06-03 15:20:52 +01:00
Jose Antonio Olivera Ortega
2d3a0be044 Bug 1131352 - Part 2: Add ServiceWorkerGlobalScope skipWaiting(). r=nsm, r=baku 2015-06-02 07:12:00 -04:00
Andrea Marchesini
a71e717b67 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
Ehsan Akhgari
0cd59018b9 Bug 1170550 - Don't crash when registering a service worker which has a strict mode error; r=baku 2015-06-02 18:20:52 -04:00
Jose Antonio Olivera Ortega
c5913f35b9 Bug 1169210 - Can't call content service worker from chrome. r=nsm
--HG--
extra : rebase_source : a49c90113ea72dad97d70906479870c5b50f29ad
2015-05-29 18:17:33 +02:00
Fernando Jimenez
95803111ef Bug 1161684 - Allow JAR channels to be intercepted by service workers. r=jdm 2015-05-22 09:32:25 +02:00
Sebastian Hengst
89d9f2f631 Backout 068cc6419d1e (Bug 1161684) for M4 perma-failures on opt. r=backout 2015-05-22 10:48:03 +02:00
Fernando Jimenez
6608088159 Bug 1161684 - Allow JAR channels to be intercepted by service workers. r=jdm 2015-05-22 09:32:25 +02:00
Ryan VanderMeulen
e1ee0d7597 Backed out changeset f0af05d88416 (bug 1162088) for various web-platform-test failures.
CLOSED TREE
2015-05-19 15:20:15 -04:00
Andrea Marchesini
1d31da42fd Bug 1162088 - ServiceWorkerManager should use the principal+scope for the initialization of ServiceWorkers, r=nsm,ehsan 2015-05-19 17:53:36 +01:00
Terrence Cole
161a4c26ba Bug 1164602 - Replace js::NullPtr and JS::NullPtr with nullptr_t; r=sfink 2015-05-13 14:07:34 -07:00
Catalin Badea
8b1fbc7805 Bug 1130684 - Implement Service Worker clients.claim. r=nsm,ehsan
--HG--
extra : rebase_source : ea1da8f6dfd8d31936c0ae495ec262581c9e5775
2015-05-14 12:41:42 -07:00
Ehsan Akhgari
ac2874c72f Bug 1130101 - Part 2: Honor the Service-Worker-Allowed header when prefix matching the service worker scope; r=nsm 2015-05-07 21:06:34 -04:00
Nikhil Marathe
1bcf68b61f Bug 1150959 - Log rejected Promise error message to browser console
--HG--
extra : rebase_source : e3fdd530c32c042791e959f896ef4ae06263f1f0
2015-04-08 16:04:12 -07:00
Nikhil Marathe
4c2d6784e1 Bug 1080109 - Clear ServiceWorkers when clearing history or forgetting about site. r=baku,ehsan
--HG--
extra : rebase_source : 41417b60ed6603d613b65cd7e96a5ba8121b05e5
2015-03-05 17:37:49 -08:00
Nikhil Marathe
cbd6b8b352 Bug 1154494 - Hit network only once. r=baku,bkelly
--HG--
extra : rebase_source : d2720c0bbef92595228658d92db3bbaef051cced
2015-04-13 21:05:28 -07:00
Ehsan Akhgari
c18dfa5852 Bug 1134325 - Part 2: Correctly reflect the Request's body to the service worker's fetch event; r=jdm 2015-05-05 13:20:54 -04:00
Andrew McCreight
9e8f4b219e Bug 1152551, part 2 - Fix mode lines in dom/. r=jst 2015-05-03 15:32:37 -04:00
Andrea Marchesini
7f54aa583d Bug 1157627 - about:serviceworkers should show new registered ServiceWorkers. r=nsm 2015-04-30 15:32:47 +01:00
Ben Kelly
f15449e4a2 Bug 1134841 Hold ServiceWorker alive during install event's waitUntil(). r=bz 2015-05-01 08:14:42 -07:00
Boris Zbarsky
1540774b0c Bug 1157898 part 1. Make code of the form "return rv.ErrorCode();" where rv is an ErrorResult use StealNSResult instead. r=peterv
This patch was generated with the following command:

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 's/return ([a-zA-Z0-9]+)\.ErrorCode\(\);/return \1.StealNSResult();/'
2015-04-27 09:18:51 -04:00
Dragana Damjanovic
984272cb6d Bug 1156397 - some fix for webpush PushServer. r=dougt r=nsm
--HG--
extra : rebase_source : 06425ea3c83db38da11e345ee998a470f9e26570
2015-04-24 14:55:00 +02:00
L. David Baron
b263b5134d Back out bug 1154494 (changeset 94c2f1d254e7 and changeset d1269f811e05) for causing intermittent orange in various service worker tests. 2015-04-25 15:07:54 -07:00
Nikhil Marathe
903081acfe Bug 1154494 - Hit network only once. r=baku,bkelly
--HG--
extra : rebase_source : b7683b543875fae592dc21e292d8807d3e90af45
2015-04-13 21:05:28 -07:00
Ben Kelly
ab4d405a60 Bug 1158218 Follow-up to fix mis-indentation. DONTBUILD, whitespace-only r=me 2015-04-24 11:55:06 -07:00
Ben Kelly
bd66f1624a Bug 1158218 Improve ServiceWorkerManager NS_WARNINGS on failure. r=nsm 2015-04-24 11:42:13 -07:00
Ehsan Akhgari
45059ab04f Back out bug 1154494 for test bustage on a CLOSED TREE 2015-04-23 16:59:24 -04:00
Nikhil Marathe
c7df8d193b Bug 1154494 - Hit network only once. r=baku,bkelly 2015-04-23 16:00:58 -04:00
Nikhil Marathe
d7b71e8fbf 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.

--HG--
extra : rebase_source : 7b9753742b3dd6e416057fdee528b0d2067c55a9
2015-04-08 13:13:32 -07:00
Nikhil Marathe
3f0efb4e4d Bug 1131327 - Patch 1 - Introduce ServiceWorkerRegistration{Base,MainThread,WorkerThread} r=baku
--HG--
extra : rebase_source : 352f05447f45a9dfa651bf683d22659b83508814
2015-04-03 15:18:55 -07:00
Nikhil Marathe
e8ed488816 Bug 1131350 - Move update() to ServiceWorkerRegistration. r=baku
--HG--
extra : rebase_source : 0483ec35b9b53c4970afaf76ff3b8a6f92120e34
2015-03-19 18:09:10 -07:00
Rahul
cc5d6147ae Bug 1152473 - Remove InstallEvent. r=nsm,ehsan
--HG--
extra : rebase_source : f2c7f7069f4b0606d3185d5be9255d1ae20fea1e
2015-04-20 18:47:13 -07:00
Denis Volk
32e981896d Bug 1095098 - move do_QueryObject templates into their own header; r=froydnj 2015-04-15 12:47:03 -04:00
Ehsan Akhgari
44e6522def 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
3faaae83fb Bug 1154721 - Add an "Unregister" button to about:serviceworkers, r=ehsan 2015-04-15 18:11:17 +01:00
Doug Turner
9c9d8e38df Bug 1038811 - Push Notifications - ServiceWorker changes, push event implementation. r=nsm 2015-04-10 20:19:28 -07:00
Andrea Marchesini
81daef00e3 Bug 1133601 - Implement about:serviceworkers, r=ehsan 2015-04-10 09:50:06 +01:00
Nikhil Marathe
2c8d274d0e Bug 931249 - Patch 16 - Keep ServiceWorker alive during installation steps. r=baku
--HG--
extra : rebase_source : 88d66a3005096765ba9958858fe683874453653a
2015-04-01 16:46:49 -07:00
Nikhil Marathe
cfaf66dfc3 Bug 931249 - Patch 11 - Remove unused cacheName. r=bkelly
--HG--
extra : rebase_source : 2ea9f85f5c818b19ba8920bd3668d4c573869863
2015-03-19 17:25:28 -07:00
Nikhil Marathe
3b27da6f52 Bug 931249 - Patch 9 - Use ServiceWorker cache name as part of it's unique name. r=khuey
When a SW script is updated (it gets a new cache), if there was already an existing running worker with the same scope and script, that would be reused and the update wouldn't happen.

--HG--
extra : rebase_source : baeb7d62845aee3ce7d1b1622e883528283500dc
2015-03-19 16:40:52 -07:00
Nikhil Marathe
17ef920c79 Bug 931249 - Patch 7 - Call Done() after Succeed() when cache and network match. r=bkelly
--HG--
extra : rebase_source : 4aef8d6428b6fcd05e7d400cbca4ff075cd49a69
2015-03-19 15:03:49 -07:00
Nikhil Marathe
1084347046 Bug 931249 - patch 4 - comparison. r=nsm
--HG--
extra : rebase_source : 863e9a46d04513ae8770da2dc9c406457fbda849
2015-03-18 09:52:54 -07:00
Nikhil Marathe
f9c8e3cf34 Bug 931249 - patch 2.2 - purge old active worker cache when activating new worker. r=baku
--HG--
extra : rebase_source : 68af9c1c291181abad3d4e70826c5077bab23010
2015-03-18 14:05:00 -07:00
Nikhil Marathe
14dbedd3aa Bug 931249 - patch 2.1 - reuse cache name between updating and installing worker. r=baku
--HG--
extra : rebase_source : 8484cf4e7e91dc5bd446bb7922ff112c137f5761
2015-03-18 14:02:51 -07:00
Nikhil Marathe
42de02a529 Bug 931249 - patch 2 - cachename integration. r=nsm
--HG--
extra : rebase_source : 8a5bd6a3ec53ccd83c08e58f7a74f6ae1f0edea7
2015-03-18 09:46:38 -07:00
Nikhil Marathe
238374c507 Bug 931249 - patch 1 - Scriptloader use cache if needed. r=khuey
--HG--
extra : rebase_source : c81b13a05ec04a68c3acd25807fcf997bd9db81e
2015-03-19 11:41:42 -07:00
Ehsan Akhgari
72ef6b42e1 Bug 1148854 - Part 1: Relax the assertion in ServiceWorkerManager::DispatchFetchEvent; r=nsm,jdm 2015-04-02 17:58:22 -04:00
Ehsan Akhgari
99c8062500 Bug 1147699 - Part 2: Set the content policy type on FetchEvent.request based on the content policy type of the channel; r=nsm
Note that InternalRequest::SetContentPolicyType takes care of updating the
RequestContext value stored in InternalRequest too.
2015-03-30 08:42:33 -04:00
Nick Fitzgerald
43962cb694 Bug 1038238 - Part 1: Make Error instances use SavedFrame objects for their
stacks; r=jorendorff
2015-03-27 13:08:46 -07:00
Andrea Marchesini
e6f385fb3d Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00:00