Andrea Marchesini
a90c5be53e
Bug 1156875 - patch 1 - URL.createObjectURL leaks in JS sandbox, r=bholley
2015-05-07 08:05:43 +01:00
Andrew McCreight
aeff7c99ee
Bug 1152551, part 2 - Fix mode lines in dom/. r=jst
2015-05-03 15:32:37 -04:00
Nikhil Marathe
60d2f6e781
Bug 1131327 - Patch 7 - Fire updatefound on worker registration. r=baku
2015-04-08 15:22:36 -07:00
Nikhil Marathe
a17b1f8132
Bug 1131327 - Patch 4 - Implement ServiceWorkerRegistration.update() on worker. r=baku
...
ServiceWorkerGlobalScope::Registration() now returns initialized registration.
2015-04-07 11:50:08 -07:00
Nikhil Marathe
dc1c6a0c24
Bug 1131327 - Patch 2 - Expose to workers. r=baku
...
This patch exposes ServiceWorkerRegistration (and ServiceWorker to satisfy constraints) to workers.
For now, a null registration is returned in the worker.
2015-04-03 22:46:07 -07:00
Nikhil Marathe
13399bc3c8
Bug 1131350 - Move update() to ServiceWorkerRegistration. r=baku
2015-03-19 18:09:10 -07:00
Jan de Mooij
bfb27c97d1
Bug 1155946 part 1 - Add a mayResolve class hook to optimize objects with resolve hooks better. r=bhackett
2015-04-23 15:51:28 +02:00
Daniel Holbert
a1b139a472
Bug 1092102, followup 2: Add missing 'override' annotation to WorkerDebuggerSandboxPrivate::GetGlobalJSObject() (and 'virtual', for consistency). rs=ehsan
2015-03-31 10:41:20 -07:00
Eddy Bruël
d00b267216
Bug 1092102 - Implement WorkerDebuggerGlobalScope.createSandbox;r=khuey
2015-03-31 12:22:40 +02:00
Carsten "Tomcat" Book
1c12053f95
Backed out changeset 71abbf190d53 (bug 1092102) for static analysis build bustage on a CLOSED TREE
2015-03-31 11:14:46 +02:00
Eddy Bruël
2f0b9d1497
Bug 1092102 - Implement WorkerDebuggerGlobalScope.createSandbox;r=khuey
2015-03-31 10:19:04 +02:00
Eddy Bruël
52887dab0d
Bug 1092102 - Implement WorkerDebuggerGlobalScope.setImmediate;r=khuey
2015-03-30 13:54:38 +02:00
Andrea Marchesini
b212600c95
Bug 1148527 - Indentation fix after bug 1145631, r=ehsan
2015-03-27 18:52:19 +00:00
Eddy Bruël
27ad456fde
Bug 1092102 - Implement WorkerDebuggerGlobalScope.enterEventLoop;r=khuey
2015-03-27 07:17:16 +01:00
Eddy Bruël
c35b5d7565
Bug 1092102 - Implement WorkerDebuggerGlobalScope.reportError;r=khuey
2015-03-26 20:09:45 +01:00
Ehsan Akhgari
33bb32f549
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Eddy Bruël
fdb3d0ade4
Bug 1092102 - Implement WorkerDebugger.postMessage;r=khuey
2015-03-20 12:15:59 +01:00
Boris Zbarsky
54c64f20a9
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
Ehsan Akhgari
4c972a5d64
Bug 1131353 - Make ServiceWorkerGlobalScope.close() throw InvalidAccessError; r=baku
2015-03-06 08:19:33 -05:00
Eddy Bruël
a471b66362
Bug 1092102 - Implement a WorkerDebuggerGlobalScope;r=khuey
2015-03-04 00:51:53 +01:00
Ben Kelly
499ef5cde1
Bug 940273 - Part 6 - Expose Service Worker Cache on workers as self.caches. r=ehsan
2015-03-02 14:23:00 +01:00
Jan de Mooij
c588ad661c
Bug 1137523 - Unprefix most js_* functions. r=bhackett CLOSED TREE
2015-02-27 16:08:15 +01:00
Andrea Marchesini
3557feb052
Bug 984050 - Persist ServiceWorkerRegistrations. r=bent, r=nsm
2015-02-11 06:53:00 -05:00
Carsten "Tomcat" Book
a0acb2cde4
Backed out changeset b3a1efe7900a (bug 984050) for cpp unitest failures on a CLOSED TREE
2015-02-11 13:29:16 +01:00
Andrea Marchesini
937507217d
Bug 984050 - Persist ServiceWorkerRegistrations. r=bent,nsm
2015-02-11 10:10:23 +01:00
Phil Ringnalda
8b344901ef
Back out 3da63ccbadef (bug 984050) for Windows cppunit bustage
...
CLOSED TREE
2015-02-06 19:49:42 -08:00
Andrea Marchesini
dff0b85534
Bug 984050 - Persist ServiceWorker registrations, r=bent, r=nsm
2015-02-06 23:31:33 +00:00
Nikhil Marathe
13b0afa850
Bug 1113577 - Fixes in ServiceWorkerGlobalScope.unregister implementation to prevent Promise release on wrong thread.
...
--HG--
extra : rebase_source : 8bfcc34f9520af2419d078c86525bcd308ab3107
2014-10-27 16:37:03 -07:00
Ehsan Akhgari
ef8ceb114c
Bug 1123016 - Clarify the ownership of DOMEventTargetHelper::mParentObject/mOwnerWindow; r=smaug
...
This patch converts DOMEventTargetHelper::mParentObject into an
nsWeakPtr, and adds fatal assertions to ensure that all future
nsIGlobalObject implementations support weak references. It also marks
DOMEventTargetHelper::mOwnerWindow as a non-owning reference.
2015-01-23 08:37:37 -05:00
Nikhil Marathe
595bb41b83
Bug 1113555 - Update ServiceWorker registration lifecycle. r=baku
...
Folded:
Allow file: serviceworkers
Registration fixes WIP
Queue updatefound instead of immediately firing
Initial "atomically" steps of registration should also be a part of the job
Fix some compiler errors
Be sure not to null out various workers too early during activation
Integrated ServiceWorkerGlobalScope::Update into the ServiceWorkerRegisterJob.
--HG--
extra : rebase_source : 14dd02d18e1209147acd3fd118807c9bd8d4d300
2014-12-19 02:00:29 -08:00
Peter Van der Beken
e08d1eb1bb
Bug 1096328 - Remove nativeOwnership from Bindings.conf, make rooting analysis happy. r=bz.
...
--HG--
extra : rebase_source : 54a1e408aec6c7485152f18693047b2992251aff
2015-01-08 22:56:42 +01:00
Andrea Marchesini
4a775b3930
Bug 1065366 - Implement ServiceWorkerGlobalScope update(), r=nsm
...
--HG--
extra : rebase_source : abdca619a27b46693ead93a6f468a40b2eeab2cf
2014-10-06 16:45:14 +01:00
Ben Turner
5976259500
Bug 701634 - Support IndexedDB in Workers, r=khuey+baku.
2014-12-16 22:26:15 -08:00
Andrea Marchesini
803e5951e9
Bug 1104064
- setInterval(,0) in workers must be scheduled correctly, r=khuey
2014-12-03 10:57:39 -08:00
Andrea Marchesini
8883a53fd9
Bug 1077393 - Rename ScalarValueString to USVString. r=smaug
...
--HG--
rename : dom/bindings/parser/tests/test_scalarvaluestring.py => dom/bindings/parser/tests/test_usvstring.py
rename : dom/bindings/test/test_scalarvaluestring.html => dom/bindings/test/test_usvstring.html
2014-11-20 12:58:00 +01:00
Ehsan Akhgari
f2167d5974
Bug 982726 - Part 1.2: Break the cyclic dependency between WorkerScope.h and ServiceWorkerClients.h, and introduce a ToSupports overload for WorkerGlobalScope in order to fix the b2g builds. r=baku
2014-10-27 12:03:00 +01:00
Catalin Badea
f841511972
Bug 982726 - Patch 1.1 - Service Worker: ServiceWorkerClients and Client interfaces with getServiced(). r=baku
2014-10-27 12:03:00 +01:00
Nikhil Marathe
b8edaa21bb
Bug 1039846 - Patch 4: FetchDriver with about:, blob: and data: fetching. r=baku
...
--HG--
extra : transplant_source : o%29%0E%5D%90%11%FA%1ExO%26%7E%9D_%F2%E7%0B%FE%21%B2
2014-10-06 11:01:20 -07:00
Peter Van der Beken
9254096129
Bug 1078744 - Replace SetIsDOMBinding with SetIsNonDOMBinding, remove nsWrapperCache::SetIsDOMBinding. r=bz.
...
--HG--
extra : rebase_source : 89c476cd9436530b2df5acc903909e34188417a0
2014-10-07 11:44:49 +02:00
Nikhil Marathe
a255aa8f1c
Bug 1017613 - Part 3 - fetch() IDL and stubs. r=baku
...
--HG--
extra : transplant_source : %B3%0A%E7%17m%5C%A5%DF%F4%1A%90Z%CF%B7%E2Y%CA%1E%21w
2014-07-24 18:30:07 -07:00
Andrea Marchesini
072f88419c
Bug 982728 - Implement ServiceWorkerGlobalScope unregister(), r=nsm
2014-09-10 11:21:32 -04:00
Ryan VanderMeulen
3164f3e5f7
Backed out 4 changesets (bug 982726) for the same serviceworker perma-fails it hit last time it landed.
...
Backed out changeset 9674f68df2e5 (bug 982726)
Backed out changeset 9d397edb8e9a (bug 982726)
Backed out changeset ebe7add5dd11 (bug 982726)
Backed out changeset 2771520aa1b9 (bug 982726)
2014-09-03 21:45:30 -04:00
Catalin Badea
27f6269f74
Bug 982726 - Patch 1 - Service Worker: ServiceWorkerClients and Client interfaces with getServiced(). r=baku
...
--HG--
extra : rebase_source : f8dd649fd30cfffb2a361aa24868e83413e7b54c
2014-08-27 10:24:09 -07:00
Wes Kocher
5580b0eaf5
Backed out 4 changesets (bug 982726) for mochitest-4 bustage
...
Backed out changeset 547076d4a357 (bug 982726)
Backed out changeset 095ca68e5d38 (bug 982726)
Backed out changeset 05acfcc7a341 (bug 982726)
Backed out changeset 9244a16c3258 (bug 982726)
2014-09-02 19:09:38 -07:00
Catalin Badea
70e37013d7
Bug 982726 - Patch 1 - Service Worker: ServiceWorkerClients and Client interfaces with getServiced(). r=baku
...
--HG--
extra : transplant_source : %06f%1C%BE%29%D4F%BAeN%0CI_%93y%8A%8FE%E5%BB
2014-08-27 10:24:09 -07:00
Andrea Marchesini
d81de203d4
Bug 1060621 - WorkerScope should CC mLocation and mNavigator, r=bz
2014-09-02 21:02:06 +01:00
Boris Zbarsky
1a59939ac3
Bug 908390 part 2. Implement performance.now() on workers. r=khuey
...
--HG--
rename : dom/workers/test/test_worker_interfaces.html => dom/workers/test/test_worker_performance_now.html
rename : dom/tests/mochitest/general/test_performance_now.html => dom/workers/test/test_worker_performance_now.js
2014-08-29 19:50:06 -04:00
Ehsan Akhgari
804ff9e81c
Bug 1050104 - Do not return a new console object every time self.console is called on workers; r=baku
...
--HG--
extra : rebase_source : f259f6677662ce019b19e22e60a167f64cf47c1d
2014-08-08 08:34:30 -04:00
Ehsan Akhgari
bb58dfc692
Backed out changeset 9cc8465f45a5 (bug 1050104) for mochitest-4 leaks
2014-08-08 09:30:25 -04:00
Ehsan Akhgari
fbbaa34f23
Bug 1050104 - Do not return a new console object every time self.console is called on workers; r=baku
2014-08-08 08:34:30 -04:00