Kyle Huey
ce16c8e90c
Bug 1282603: Don't use 'workers': True for *WorkerGlobalScope. r=baku
2016-06-28 10:47:23 -07:00
Andrea Marchesini
ceedd485db
Bug 1243881 - patch 1 - unship performance.translateTime, r=bz
2016-02-01 21:48:04 +00:00
Kyle Huey
e95edb30a9
Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug
2016-01-30 09:05:36 -08:00
Andrea Marchesini
2c63669202
Bug 1169068 - Performance.translateTime(), r=bz
2015-11-19 14:04:47 +00:00
Ehsan Akhgari
8da0b128ef
Bug 1189685 - Part 1: Ensure that the state of all ServiceWorker instances is up to date when dispatching statechange events; r=bkelly
2015-10-26 12:37:48 -04:00
Catalin Badea
6240391214
Bug 1188545 - Disentangle service workers from shared workers and refactor event dispatching code into a separate class. r=nsm,mrbkap
2015-09-30 19:11:03 -04:00
Wes Kocher
4731d2ad0a
Backed out 12 changesets (bug 1188545) for test_fetch_cors failures CLOSED TREE
...
Backed out changeset e04738ee72a3 (bug 1188545)
Backed out changeset 1989893b59de (bug 1188545)
Backed out changeset 11ff29cc25d8 (bug 1188545)
Backed out changeset 4b6bdf859845 (bug 1188545)
Backed out changeset 76eb7ffeca2a (bug 1188545)
Backed out changeset 4473e036b52e (bug 1188545)
Backed out changeset 2a28cb794b23 (bug 1188545)
Backed out changeset 1fa2f55727f3 (bug 1188545)
Backed out changeset 032f4c24fc34 (bug 1188545)
Backed out changeset 4be675dc1b37 (bug 1188545)
Backed out changeset d5d05def5b17 (bug 1188545)
Backed out changeset e94f12b0bcf3 (bug 1188545)
2015-09-30 11:11:47 -07:00
Catalin Badea
43b165568f
Bug 1188545 - Disentangle service workers from shared workers and refactor event dispatching code into a separate class. r=nsm,mrbkap
2015-09-30 10:14:33 -04:00
Catalin Badea
c8a9f03c72
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
Catalin Badea
d3e17c25fb
Bug 1193133 - Drop the document and window references from ServiceWorker. r=bkelly
2015-08-17 10:38:34 -07:00
Ryan VanderMeulen
40078e5972
Backed out changesets 2381f29f63c2 and 9f2469ea7f01 (bug 1193133) for frequent w-p-t crashes/asserts. a=me
2015-08-14 09:00:59 -04:00
Catalin Badea
734dcafdcf
Bug 1193133 - Throw when calling postMessage from a Service Worker dom object with no global. r=bkelly
2015-08-13 13:35:10 -07:00
Catalin Badea
7786469599
Bug 1193133 - Drop the document and window references from ServiceWorker. r=bkelly
2015-08-13 13:35:10 -07:00
Hiroyuki Ikezoe
b61dee95d7
Bug 1179982 - Fix all compile errors in dom/workers on non-unified build. r=mrbkap
2015-07-02 14:54:00 +02:00
Ehsan Akhgari
689fe1ac1b
Bug 1179567 - Make ServiceWorker keep its document and window alive; r=baku
...
Without this, ServiceWorker::PostMessage won't work when the window has
been cleaned up, since at that time the event targets are disconnected
from their owners and GetParentObject() will return null.
2015-07-02 09:48:27 -04:00
Andrew McCreight
92010d3e4c
Bug 1152551, part 2 - Fix mode lines in dom/. r=jst
2015-05-03 15:32:37 -04:00
Boris Zbarsky
3a822d99b4
Bug 1117172 part 3. Change the wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv
...
The only manual changes here are to BindingUtils.h, BindingUtils.cpp,
Codegen.py, Element.cpp, IDBFileRequest.cpp, IDBObjectStore.cpp,
dom/workers/Navigator.cpp, WorkerPrivate.cpp, DeviceStorageRequestChild.cpp,
Notification.cpp, nsGlobalWindow.cpp, MessagePort.cpp, nsJSEnvironment.cpp,
Sandbox.cpp, XPCConvert.cpp, ExportHelpers.cpp, and DataStoreService.cpp. The
rest of this diff was generated by running the following commands:
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObject\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(Binding(?:_workers)?::Wrap\((?:aCx|cx|aContext|aCtx|js), [^,)]+)\)/\1, aGivenProto)/g'
2015-03-19 10:13:33 -04:00
Catalin Badea
de05780b97
Bug 1142015 - Add source for messages dispatched to a Service Worker. r=baku
2015-03-16 22:23:42 +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
Catalin Badea
cd8116e455
Bug 982726 - Patch 3.1 Throw InvalidStateError when ServiceWorkerState == Redundant. r=nsm
2015-02-16 23:03:48 +02:00
Catalin Badea
fa87c47818
Bug 982726 - Patch 2: Add postMessage to service worker. r=baku
2015-02-09 12:42:00 -05:00
Nikhil Marathe
2e1201496c
Bug 1113621 - Rename InstallPhaseEvent to ExtendableEvent. r=baku relanding because it wasn't supposed to be backed out on a CLOSED TREE
...
Change Exposed=ServiceWorker for all ServiceWorker events.
Move Func= exposure check to ServiceWorker.
2014-11-06 07:57:57 -08:00
Wes Kocher
c9a1df490c
Backed out changeset 5ed6d1902cc7 (bug 1113621) for asan mochitest-4 bustage on a CLOSED TREE
2015-01-23 19:49:51 -08:00
Nikhil Marathe
cce8f43d85
Bug 1113621 - Rename InstallPhaseEvent to ExtendableEvent. r=baku
...
Change Exposed=ServiceWorker for all ServiceWorker events.
Move Func= exposure check to ServiceWorker.
2014-11-06 07:57:57 -08:00
Tyler Smith
fe6940648a
Bug 1048595 Provide valid default ServiceWorker.state value to avoid crashing. r=bkelly
2014-08-14 11:35:21 -04:00
Nikhil Marathe
e89098ced8
Bug 984048: Part 1 - ServiceWorkerManager Register(). r=ehsan
2013-11-19 15:15:02 -08:00
Ryan VanderMeulen
7d6956db11
Backed out changeset 3add0c55a799 (bug 984048) for mochitest-e10s timeouts.
2014-05-29 15:02:41 -04:00
Nikhil Marathe
aa961d511f
Bug 984048: Part 1 - ServiceWorkerManager Register(). r=ehsan
2013-11-19 15:15:02 -08:00
Nikhil Marathe
6c25fb8680
Bug 930348 - window.navigator stubs for ServiceWorker. r=ehsan,bent
2013-11-19 15:14:07 -08:00
Ryan VanderMeulen
6026213560
Backed out changeset c189d09ec942 (bug 930348) for B2G desktop bustage.
...
CLOSED TREE
2014-05-13 15:33:58 -04:00
Nikhil Marathe
1d4eea6336
Bug 930348 - window.navigator stubs for ServiceWorker. r=ehsan,bent
2013-11-19 15:14:07 -08:00