gecko-dev/dom/workers
Nikhil Marathe fe819ad8d7 Bug 1180861 - Various ServiceWorker registration fixes to get test passing. r=bkelly,jgraham.
This commit implements the following changes to get registration.https.html working.
1) Fail with NS_ERROR_DOM_SECURITY_ERR where the spec requires it.
2) Propagate JSExnType to ServiceWorkerManager::HandleError() so that a JS
   exception object with the correct .name can be created.
3) Fail with security error on redirect failure.
4) Check fetched script's mimetype.
5) Add missing python server files for web-platform-tests.
6) Update web-platform-tests expected data.
7) Several tests have been changed to use TypeError or more appropriate JS
   errors based on my reading of the spec.

--HG--
extra : commitid : IxWo2IVUweU
extra : rebase_source : c3c1ead153027bf84e7f239fd7125224fe25c3c0
2015-08-19 16:21:25 -07:00
..
test Bug 1180861 - Various ServiceWorker registration fixes to get test passing. r=bkelly,jgraham. 2015-08-19 16:21:25 -07:00
ChromeWorkerScope.cpp Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
ChromeWorkerScope.h
DataStore.cpp Bug 1188265 - No manual JS_ClearPendingException when StructuredCloneHelper is used, r=smaug 2015-07-31 01:38:00 +01:00
DataStore.h
DataStoreCursor.cpp
DataStoreCursor.h
FileReaderSync.cpp Bug 1166231 - Make nsIDOMBlob an empty interface, r=ehsan 2015-05-19 15:36:37 +01:00
FileReaderSync.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
Location.cpp
Location.h
MessagePort.cpp Bug 1183894 - Remove warning if MessagePort::CloseInternal is called before start. r=khuey 2015-07-14 18:06:32 -07:00
MessagePort.h Bug 911972 - MessagePort and MessageChannel in workers, r=smaug, r=bent 2015-06-17 11:44:27 +01:00
moz.build Bug 1169819 Add browser chrome test to validate SW force refresh. r=ehsan 2015-06-12 18:59:01 -07:00
Navigator.cpp Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
Navigator.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
nsIWorkerDebugger.idl Bug 1168853 - Implement WorkerDebugger.isInitialized;r=khuey 2015-06-08 09:08:20 +02:00
nsIWorkerDebuggerManager.idl
Performance.cpp Bug 1196157 - Marks left by performance marks should print the domain of the application and not the complete URL. r=baku 2015-08-20 14:34:22 -07:00
Performance.h Bug 1186880 - Performance timing api in workers should output entries if preference is enabled. r=baku 2015-07-28 17:33:37 +01:00
Principal.cpp
Principal.h
PServiceWorkerManager.ipdl Bug 1167296 - patch 2 - ServiceWorkerManager::Remove should use PBackground, r=nsm 2015-06-21 12:19:07 +01:00
Queue.h
RegisterBindings.cpp
RuntimeService.cpp Bug 1193414 - Telemetry for SharedWorker spawning. r=bkelly 2015-08-12 06:00:00 -04:00
RuntimeService.h Bug 1179489 - Don't count service workers towards an origin's max worker quota; r=nsm 2015-07-02 18:48:48 -04:00
ScriptLoader.cpp Bug 1193911 - Ensure synthetic Responses gets a valid channel info. r=ehsan 2015-08-17 15:08:58 -07:00
ScriptLoader.h Bug 1148935 - Correctly reflect worker and sharedworker RequestContext values; r=smaug 2015-06-30 18:52:42 -04:00
ServiceWorker.cpp Bug 1193133 - Throw when calling postMessage from a Service Worker dom object with no global. r=bkelly 2015-08-17 10:38:34 -07:00
ServiceWorker.h Bug 1193133 - Drop the document and window references from ServiceWorker. r=bkelly 2015-08-17 10:38:34 -07:00
ServiceWorkerClient.cpp Bug 1193133 - Drop the document and window references from ServiceWorker. r=bkelly 2015-08-17 10:38:34 -07:00
ServiceWorkerClient.h Bug 1193133 - Drop the document and window references from ServiceWorker. r=bkelly 2015-08-17 10:38:34 -07:00
ServiceWorkerClients.cpp Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
ServiceWorkerClients.h Bug 1130684 - Implement Service Worker clients.claim. r=nsm,ehsan 2015-05-14 12:41:42 -07:00
ServiceWorkerCommon.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
ServiceWorkerContainer.cpp Bug 1180861 - Various ServiceWorker registration fixes to get test passing. r=bkelly,jgraham. 2015-08-19 16:21:25 -07:00
ServiceWorkerContainer.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
ServiceWorkerEvents.cpp Bug 1189644 - Update waitUntil() and activation to spec. r=catalinb 2015-08-24 14:42:14 -07:00
ServiceWorkerEvents.h Bug 1189644 - Update waitUntil() and activation to spec. r=catalinb 2015-08-24 14:42:14 -07:00
ServiceWorkerManager.cpp Bug 1180861 - Various ServiceWorker registration fixes to get test passing. r=bkelly,jgraham. 2015-08-19 16:21:25 -07:00
ServiceWorkerManager.h Bug 1180861 - Various ServiceWorker registration fixes to get test passing. r=bkelly,jgraham. 2015-08-19 16:21:25 -07:00
ServiceWorkerManagerChild.cpp Bug 1187350 - update() should return a Promise. r=ehsan,catalinb 2015-08-14 15:06:00 -07:00
ServiceWorkerManagerChild.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
ServiceWorkerManagerParent.cpp Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
ServiceWorkerManagerParent.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
ServiceWorkerManagerService.cpp Bug 1178233 - [non-e10s] The update process doesn't work within about:serviceworkers in non-e10s mode. r=baku 2015-07-14 15:44:13 +02:00
ServiceWorkerManagerService.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
ServiceWorkerPeriodicUpdater.cpp Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
ServiceWorkerPeriodicUpdater.h
ServiceWorkerRegistrar.cpp Bug 1189235 - Use originAttribute for ServiceWorkerRegistrar. r=baku 2015-08-20 18:20:19 +08:00
ServiceWorkerRegistrar.h Bug 1189235 - Use originAttribute for ServiceWorkerRegistrar. r=baku 2015-08-20 18:20:19 +08:00
ServiceWorkerRegistrarTypes.ipdlh
ServiceWorkerRegistration.cpp Bug 1187350 - update() should return a Promise. r=ehsan,catalinb 2015-08-14 15:06:00 -07:00
ServiceWorkerRegistration.h Bug 1187350 - update() should return a Promise. r=ehsan,catalinb 2015-08-14 15:06:00 -07:00
ServiceWorkerScriptCache.cpp Bug 1180861 - Various ServiceWorker registration fixes to get test passing. r=bkelly,jgraham. 2015-08-19 16:21:25 -07:00
ServiceWorkerScriptCache.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
ServiceWorkerWindowClient.cpp Bug 1162333 - Add stronger assertions to PromiseWorkerProxy in debug builds. r=catalinb 2015-06-11 00:35:18 +02:00
ServiceWorkerWindowClient.h Bug 1179982 - Fix all compile errors in dom/workers on non-unified build. r=mrbkap 2015-07-02 14:54:00 +02:00
SharedWorker.cpp
SharedWorker.h
URL.cpp Bug 1183907, properly wrappercache worker URL object, r=baku 2015-07-15 14:50:59 +03:00
URL.h Bug 1183907, properly wrappercache worker URL object, r=baku 2015-07-15 14:50:59 +03:00
WorkerDebuggerManager.cpp Bug 1181318 - Eliminate duplicate mRefCnt members in nsRunnable subclasses. r=ehsan 2015-07-07 14:03:00 +02:00
WorkerDebuggerManager.h
WorkerFeature.h
WorkerInlines.h
WorkerPrivate.cpp Bug 1180861 - Various ServiceWorker registration fixes to get test passing. r=bkelly,jgraham. 2015-08-19 16:21:25 -07:00
WorkerPrivate.h Bug 1193911 - Ensure synthetic Responses gets a valid channel info. r=ehsan 2015-08-17 15:08:58 -07:00
WorkerRunnable.cpp Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
WorkerRunnable.h
Workers.h Bug 1188062 - Unship Request.context; r=baku 2015-07-30 08:14:00 -04:00
WorkerScope.cpp Bug 1144660 - client.focus() adds window interaction checks and directly uses DOMServiceWorkerFocusClient to focus window. r=ehsan,dao 2015-07-23 08:30:27 -07:00
WorkerScope.h Bug 1144660 - client.focus() adds window interaction checks and directly uses DOMServiceWorkerFocusClient to focus window. r=ehsan,dao 2015-07-23 08:30:27 -07:00
WorkerStructuredClone.h Bug 1044102 - Part 3 - Support StructuredClone. r=baku 2015-07-30 20:50:00 +02:00
WorkerThread.cpp Bug 1179909: Refactor stable state handling. r=smaug 2015-08-11 06:10:46 -07:00
WorkerThread.h Bug 1188696 - Hoist nsRefPtr.h into MFBT. r=froydnj 2015-07-29 10:44:59 -07:00
XMLHttpRequest.cpp Bug 1192350 - XMLHttpRequest::Open() should check if mProxy has been already released in a nested ::Open() calls, r=khuey 2015-08-19 18:26:13 +01:00
XMLHttpRequest.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
XMLHttpRequestUpload.cpp
XMLHttpRequestUpload.h