gecko-dev/dom/workers
Nikhil Marathe 548809dc68 Bug 1197421 - Fix promise worker proxy cleanup and update callers. r=catalinb
Get rid of having users dispatch control runnables. It was error prone and
required too much reasoning. It was also possible to end up in a state where
callers would dispatch a WorkerRunnable, which would succeed, so they would not
dispatch a WorkerControlRunnable. Then the worker would stop Running,
canceling and releasing the runnable leading to releasing the proxy in an
unclean state. Instead, we AddRef() and add the feature and remove the feature
and Release() on Notify(). If callers successfully run a WorkerRunnable they
clean the proxy. If not, the proxy stays alive until the worker switches to
Canceling state.

--HG--
extra : commitid : BnnijSibVYe
extra : rebase_source : 15f6810dfbd0c88a983196de401c55e782b1d1d8
2015-09-02 10:07:26 -07:00
..
test Bug 1184967 P3 Switch mochitest redirect tests back to returning a CORS Response. r=nsm 2015-09-01 07:58:34 -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 1198795 - ipc/StructuredCloneUtils should be merged with StructuredCloneHelper, r=smaug 2015-09-02 17:20:30 +01:00
DataStore.h
DataStoreCursor.cpp
DataStoreCursor.h
FileReaderSync.cpp
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 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium. 2015-08-27 20:44:53 -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 1198982: Don't fail the SW load for an importScripts failure. r=bkelly 2015-08-30 10:31:52 -07:00
ScriptLoader.h Bug 1198982: Don't fail the SW load for an importScripts failure. r=bkelly 2015-08-30 10:31:52 -07: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 1198795 - ipc/StructuredCloneUtils should be merged with StructuredCloneHelper, r=smaug 2015-09-02 17:20:30 +01: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 1197421 - Fix promise worker proxy cleanup and update callers. r=catalinb 2015-09-02 10:07:26 -07:00
ServiceWorkerClients.h
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 1184967 P1 Set RequestMode based on LoadInfo securityMode and client request content policy. r=nsm 2015-09-01 07:58:34 -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 1198795 - ipc/StructuredCloneUtils should be merged with StructuredCloneHelper, r=smaug 2015-09-02 17:20:30 +01: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 1197421 - Fix promise worker proxy cleanup and update callers. r=catalinb 2015-09-02 10:07:26 -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 1197421 - Fix promise worker proxy cleanup and update callers. r=catalinb 2015-09-02 10:07:26 -07: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 1198795 - ipc/StructuredCloneUtils should be merged with StructuredCloneHelper, r=smaug 2015-09-02 17:20:30 +01:00
WorkerPrivate.h Bug 1147821 - Update IndexedDB to use common StorageAllowedForWindow logic, r=khuey 2015-08-28 10:10:30 -04: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 1147821 - Update IndexedDB to use common StorageAllowedForWindow logic, r=khuey 2015-08-28 10:10:30 -04:00
WorkerScope.cpp Bug 1197421 - Fix promise worker proxy cleanup and update callers. r=catalinb 2015-09-02 10:07:26 -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
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 1198795 - ipc/StructuredCloneUtils should be merged with StructuredCloneHelper, r=smaug 2015-09-02 17:20:30 +01:00
XMLHttpRequest.h Bug 1186307 - StructuredCloneHelper in workers.postMessage(), r=smaug 2015-08-27 17:19:13 +01:00
XMLHttpRequestUpload.cpp
XMLHttpRequestUpload.h