Doug Turner
1803c2eea5
Bug 1157108 - onpush EventHandler support. r=ehsan
2015-04-23 20:43:40 +02:00
Nikhil Marathe
5b54bf699f
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.
--HG--
extra : rebase_source : ae1b59d5ee3b3522826ed59fcfcb31e009018ac3
2015-04-03 22:46:07 -07:00
Nikhil Marathe
e8ed488816
Bug 1131350 - Move update() to ServiceWorkerRegistration. r=baku
...
--HG--
extra : rebase_source : 0483ec35b9b53c4970afaf76ff3b8a6f92120e34
2015-03-19 18:09:10 -07:00
Eddy Bruël
b86b9bb514
Bug 1092102 - Implement WorkerDebuggerGlobalScope.createSandbox;r=khuey
2015-03-31 12:22:40 +02:00
Carsten "Tomcat" Book
5245fa5a7b
Backed out changeset 71abbf190d53 (bug 1092102) for static analysis build bustage on a CLOSED TREE
...
--HG--
extra : rebase_source : fb64615c90507f79d27f3ab096e6e0259cb38c3e
2015-03-31 11:14:46 +02:00
Eddy Bruël
0c47b481d2
Bug 1092102 - Implement WorkerDebuggerGlobalScope.createSandbox;r=khuey
2015-03-31 10:19:04 +02:00
Eddy Bruël
8f6d3f73d2
Bug 1092102 - Implement WorkerDebuggerGlobalScope.setImmediate;r=khuey
2015-03-30 13:54:38 +02:00
Andrea Marchesini
e6f385fb3d
Bug 1148527 - Indentation fix after bug 1145631, r=ehsan
2015-03-27 18:52:19 +00:00
Eddy Bruël
208b56c029
Bug 1092102 - Implement WorkerDebuggerGlobalScope.enterEventLoop;r=khuey
2015-03-27 07:17:16 +01:00
Eddy Bruël
7c855a15e6
Bug 1092102 - Implement WorkerDebuggerGlobalScope.reportError;r=khuey
2015-03-26 20:09:45 +01:00
Ehsan Akhgari
883849ee32
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
7989a0b7bf
Bug 1092102 - Implement WorkerDebugger.postMessage;r=khuey
2015-03-20 12:15:59 +01:00
Boris Zbarsky
dc24477d79
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
60095b3b16
Bug 1131353 - Make ServiceWorkerGlobalScope.close() throw InvalidAccessError; r=baku
2015-03-06 08:19:33 -05:00
Eddy Bruël
a95bcbb9fd
Bug 1092102 - Implement a WorkerDebuggerGlobalScope;r=khuey
2015-03-04 00:51:53 +01:00
Ben Kelly
8bf704b7d2
Bug 940273 - Part 6 - Expose Service Worker Cache on workers as self.caches. r=ehsan
2015-03-02 14:23:00 +01:00
Boris Zbarsky
436b43b3ce
Bug 1132655. Don't allow conversions from DOMString to const XPCOM string references, since it's meant to be an outparam only. r=smaug
2015-02-12 18:39:26 -05:00
Ehsan Akhgari
a61a347792
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
Peter Van der Beken
dc3a33aa88
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
449657cc1a
Bug 1065366 - Implement ServiceWorkerGlobalScope update(), r=nsm
...
--HG--
extra : rebase_source : abdca619a27b46693ead93a6f468a40b2eeab2cf
2014-10-06 16:45:14 +01:00
Ben Turner
2be368dceb
Bug 701634 - Support IndexedDB in Workers, r=khuey+baku.
2014-12-16 22:26:15 -08:00
Andrea Marchesini
9d30f59efd
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
e07a65fef2
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
610145e67c
Bug 982726 - Patch 1.1 - Service Worker: ServiceWorkerClients and Client interfaces with getServiced(). r=baku
2014-10-27 12:03:00 +01:00
Peter Van der Beken
d76c717d3c
Bug 1068740 - Consider putting union types in the binding files where they're used. r=bz.
...
--HG--
extra : rebase_source : 7e0b1e2f60757b7758704dab3672ee829f3e4085
2014-10-01 20:43:26 +02:00
Nikhil Marathe
6e8e93e87a
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
7396255880
Bug 982728 - Implement ServiceWorkerGlobalScope unregister(), r=nsm
2014-09-10 11:21:32 -04:00
Ryan VanderMeulen
8be77b965e
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
ac388bcb58
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
9e0a82dbec
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
a2d3be8aeb
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
Ehsan Akhgari
1b1d6ffebf
Bug 1061023 - Fix more bad implicit constructors in DOM; r=baku
...
--HG--
extra : rebase_source : c80c5f9d7ae28286513cdb52ad76b46c240bdd5d
2014-09-01 18:26:43 -04:00
Boris Zbarsky
ed56d2edc8
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
41a7ea2d35
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
1ba20dc5eb
Backed out changeset 9cc8465f45a5 (bug 1050104) for mochitest-4 leaks
2014-08-08 09:30:25 -04:00
Ehsan Akhgari
d1e4d33682
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
Boris Zbarsky
8b7f7ff8f1
Bug 1017988 part 10. Disallow Pref annotations on things that are exposed in workers. r=khuey
2014-08-04 22:20:35 -04:00
Nikhil Marathe
d16ae2c822
Bug 967264 - Patch 1: ServiceWorkerGlobalScope stub. r=khuey sr=jst
2014-05-13 14:28:01 -07:00
Boris Zbarsky
79dab91ff6
Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley
...
This patch was mostly generated with the following command:
find . -name "*.h" -o -name "*.cpp" | xargs sed -e '/WrapObject(JSContext/ {; N; s/\(WrapObject(JSContext *\* *a\{0,1\}[Cc]x\),\n\{0,1\} *JS::Handle<JSObject\*> a\{0,1\}[sS]cope/\1/ ; }' -i ""
and then reverting the changes that made to
dom/bindings/BindingUtils.h, since those WrapObject methods are not
the ones we're trying to change here, plus a bunch of manual fixups
for cases that this command did not catch (including all the callsites
of WrapObject()).
2014-04-08 18:27:18 -04:00
Masayuki Nakano
930436ef24
Bug 984269 Rename nsDOMEventTargetHelper to mozilla::DOMEventTargetHelper r=smaug
...
--HG--
rename : dom/events/nsDOMEventTargetHelper.cpp => dom/events/DOMEventTargetHelper.cpp
rename : dom/events/nsDOMEventTargetHelper.h => dom/events/DOMEventTargetHelper.h
2014-04-01 15:13:50 +09:00
Andrea Marchesini
f90b5edc71
Bug 965860 - patch 7 - Console API in workers, r=khuey
2014-02-27 23:39:30 +00:00
Boris Zbarsky
022c86a654
Bug 973905. setTimeout/setInterval with a string first arg but more than two arguments should still work (and ignore the extra arguments). r=smaug
2014-02-19 10:13:38 -05:00
Andrea Marchesini
9d352b3e2a
Bug 949946 - unique SharedWorker key composed by name and spec, r=bent
2014-02-06 14:39:10 +00:00
Andrea Marchesini
4fea33b3f0
Bug 620935 - Make console object available in Web Workers, r=ehsan, r=bz
2014-01-26 12:35:17 +00:00
Nikhil Marathe
c3934ac5d1
Bug 925437 - Implement navigator.onLine on Workers. r=khuey sr=sicking
2013-11-19 15:08:50 -08:00
Andrea Marchesini
2d0f4a55fe
Bug 487070 - a pref for enabling the lastest version of JS in Web Workers, r=baku, r=bent
2013-12-10 11:43:16 +00:00
Carsten "Tomcat" Book
730750085e
Backed out changeset 10800c0df8b5 (bug 487070) for build bustage on a CLOSED TREE
2013-12-11 10:56:23 +01:00
Andrea Marchesini
af2dd4beb8
Bug 487070 - a pref for enabling the lastest version of JS in Web Workers, r=baku, r=bent
2013-12-10 11:43:16 +00:00
Ryan VanderMeulen
6a9890da79
Backed out changeset dc5b1daf5fbb (bug 487070) for B2G mochitest-8 orange.
...
--HG--
extra : rebase_source : 83864e72c5b5082ccd2956cd89e25e1a6f16fee8
2013-12-10 14:28:44 -05:00
Andrea Marchesini
9abe98f247
Bug 487070 - a pref for enabling the lastest version of JS in Web Workers
2013-12-10 11:43:16 +00:00