Commit Graph

190 Commits

Author SHA1 Message Date
Ehsan Akhgari
af23023fc2 Bug 1175480 - Expose the external content policy type from the load info objects; r=smaug
Consumers of this type need to deal with the external content policy
types.  One example is HttpObserverManager.runChannelListener in
WebRequest.jsm.
2015-06-17 15:09:06 -04:00
Jose Antonio Olivera Ortega
0703eb0d29 Bug 1160458 - Part 1: Use the CSP of the principal passed to CreateServiceWorker. r=nsm 2015-06-16 09:20:21 +02:00
Ehsan Akhgari
f8893fada2 Bug 1172948 - Part 2: Consider all non-chrome parent documents when checking the authenticity of an origin; r=nsm 2015-06-12 09:45:48 -04:00
Ehsan Akhgari
158cbf198d Bug 1172948 - Part 1: Refactor the logic for checking for authenticated origins into a helper function; r=nsm 2015-06-12 09:45:46 -04:00
Nikhil Marathe
e37a9af56b Bug 1170822 - Fix controlled documents comparison. r=catalinb 2015-06-02 14:53:09 -07: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
Eric Rahm
b52acc87bf Bug 1171555 - Remove overly verbose ServiceWorker warnings. r=bkelly 2015-06-11 09:47:46 -07:00
Fernando Jimenez
7615e5c27c Bug 1137245 - ServiceWorkerManager should set WorkerPrivate::LoadInfo::mIndexedDBAllowed correctly. r=bent, bkelly 2015-06-11 15:32:54 +02:00
Ben Kelly
32d2fe664c Bug 1173361 Make ServiceWorkerRegisterJob::Start() call Done() async. r=nsm 2015-06-10 13:39:42 -07:00
Ehsan Akhgari
63c4516064 Bug 1173240 - Use the document URI for performing the service worker registration secure origin check; r=baku 2015-06-10 10:33:36 -04: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
Nikhil Marathe
5a1233d36a Bug 1172717 - Fail on UNKNOWN_APP_ID instead of crashing. r=bholley a=RyanVM 2015-06-08 16:18:09 -07:00
Jose Antonio Olivera Ortega
afca6bd24a Bug 1115820 - Add telemetry to ServiceWorkers. r=nsm, r=vladan 2015-06-05 08:11:18 +02:00
Ehsan Akhgari
e051bb83ce Bug 1171486 - Part 2: Make it OK to call ServiceWorkerManager::GetInstance() during its Init() function; r=baku 2015-06-05 08:52:19 -04: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
Bobby Holley
1a6e5451b1 Bug 1171175 - Improve BasePrincipal::IsCodebasePrincipal. r=baku 2015-06-04 10:01:40 -07: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
Ehsan Akhgari
87533a576a 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
91ac367fc9 Bug 1169210 - Can't call content service worker from chrome. r=nsm 2015-05-29 18:17:33 +02:00
Fernando Jimenez
2f6301087c Bug 1161684 - Allow JAR channels to be intercepted by service workers. r=jdm 2015-05-22 09:32:25 +02:00
Sebastian Hengst
f441f747e7 Backout 068cc6419d1e (Bug 1161684) for M4 perma-failures on opt. r=backout 2015-05-22 10:48:03 +02:00
Fernando Jimenez
e648ef08d0 Bug 1161684 - Allow JAR channels to be intercepted by service workers. r=jdm 2015-05-22 09:32:25 +02:00
Ryan VanderMeulen
4fdce31ae0 Backed out changeset f0af05d88416 (bug 1162088) for various web-platform-test failures.
CLOSED TREE
2015-05-19 15:20:15 -04:00
Andrea Marchesini
794ebddb76 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
3ffd505617 Bug 1164602 - Replace js::NullPtr and JS::NullPtr with nullptr_t; r=sfink 2015-05-13 14:07:34 -07:00
Catalin Badea
62c1d7dc08 Bug 1130684 - Implement Service Worker clients.claim. r=nsm,ehsan 2015-05-14 12:41:42 -07:00
Ehsan Akhgari
acb3211fe0 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
efc97c53da Bug 1150959 - Log rejected Promise error message to browser console 2015-04-08 16:04:12 -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
Nikhil Marathe
f4fbf7f348 Bug 1154494 - Hit network only once. r=baku,bkelly 2015-04-13 21:05:28 -07:00
Ehsan Akhgari
23ef39dec0 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
92010d3e4c Bug 1152551, part 2 - Fix mode lines in dom/. r=jst 2015-05-03 15:32:37 -04:00
Andrea Marchesini
a2bf47ce66 Bug 1157627 - about:serviceworkers should show new registered ServiceWorkers. r=nsm 2015-04-30 15:32:47 +01:00
Ben Kelly
636dc6c389 Bug 1134841 Hold ServiceWorker alive during install event's waitUntil(). r=bz 2015-05-01 08:14:42 -07:00
Boris Zbarsky
789a3bf96e 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
4ac30bbd3c Bug 1156397 - some fix for webpush PushServer. r=dougt r=nsm 2015-04-24 14:55:00 +02:00
L. David Baron
4b2943fc7c 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
0906cd1f97 Bug 1154494 - Hit network only once. r=baku,bkelly 2015-04-13 21:05:28 -07:00
Ben Kelly
98f7d5781b Bug 1158218 Follow-up to fix mis-indentation. DONTBUILD, whitespace-only r=me 2015-04-24 11:55:06 -07:00
Ben Kelly
9bdce7a4eb Bug 1158218 Improve ServiceWorkerManager NS_WARNINGS on failure. r=nsm 2015-04-24 11:42:13 -07:00
Ehsan Akhgari
bf955bc48e Back out bug 1154494 for test bustage on a CLOSED TREE 2015-04-23 16:59:24 -04:00
Nikhil Marathe
e5d073699c Bug 1154494 - Hit network only once. r=baku,bkelly 2015-04-23 16:00:58 -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
Nikhil Marathe
a1cc668925 Bug 1131350 - Move update() to ServiceWorkerRegistration. r=baku 2015-03-19 18:09:10 -07:00
Rahul
85a55d1303 Bug 1152473 - Remove InstallEvent. r=nsm,ehsan 2015-04-20 18:47:13 -07:00