Commit Graph

159 Commits

Author SHA1 Message Date
Boris Zbarsky
35fca5eeeb 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
54d409dfca 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
Peter Van der Beken
7ddc350148 Bug 983620 - Remove the unused aScope argument from WrapGlobalObject. r=bz. 2014-02-05 22:09:18 +01:00
Masayuki Nakano
a7a5e56dd5 Bug 981261 part.5 Rename nsEventListenerManager to mozilla::EventListenerManager r=smaug
--HG--
rename : dom/events/nsEventListenerManager.cpp => dom/events/EventListenerManager.cpp
rename : dom/events/nsEventListenerManager.h => dom/events/EventListenerManager.h
2014-03-17 15:56:53 +09:00
Andrea Marchesini
27aa10cd04 Bug 965860 - patch 7 - Console API in workers, r=khuey 2014-02-27 23:39:30 +00:00
Kyle Huey
4775871523 Bug 975052. r=smaug 2014-02-26 11:00:40 -08:00
Boris Zbarsky
e15f10d52f 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
Masatoshi Kimura
9306836991 Backed out changeset d7d447cac91b (bug 969762) for tp5 regression. 2014-02-12 06:01:29 +09:00
Masatoshi Kimura
84b0ee5c63 Bug 969762 - Support non-ASCII dump() messages on Windows. r=jimm 2014-02-11 05:50:16 +09:00
Andrea Marchesini
b859277a7b Bug 949946 - unique SharedWorker key composed by name and spec, r=bent 2014-02-06 14:39:10 +00:00
Andrea Marchesini
994bd1f6f9 Bug 620935 - Make console object available in Web Workers, r=ehsan, r=bz 2014-01-26 12:35:17 +00:00
Nikhil Marathe
cc61607627 Bug 925437 - Implement navigator.onLine on Workers. r=khuey sr=sicking 2013-11-19 15:08:50 -08:00
Andrea Marchesini
c0399b79f6 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
9d470ce1db Backed out changeset 10800c0df8b5 (bug 487070) for build bustage on a CLOSED TREE 2013-12-11 10:56:23 +01:00
Andrea Marchesini
58736053af 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
f058cca393 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
e2b80ee7c8 Bug 487070 - a pref for enabling the lastest version of JS in Web Workers 2013-12-10 11:43:16 +00:00
Nikhil Marathe
3b0df55ae4 Bug 936700 - Unused variable fix on a CLOSED TREE. r=bustage
--HG--
extra : amend_source : 578c954f8b91dcaedb3c757584a98e382f7141d9
2013-11-24 12:01:50 -08:00
Nikhil Marathe
552ae51362 Bug 936700 - Worker Preferences cache. r=bent 2013-11-24 11:27:15 -08:00
Boris Zbarsky
4c293cf8e4 Bug 941437 part 2. Remove the unused cx argument from UNWRAP_OBJECT and UNWRAP_WORKER_OBJECT. r=smaug 2013-11-21 07:51:16 -05:00
Boris Zbarsky
62cf6930a1 Bug 941437 part 1. Remove the unused cx argument from dom::UnwrapObject. r=smaug 2013-11-21 07:51:15 -05:00
Kyle Huey
46505eecd5 Bug 936327. r=bent 2013-11-19 14:05:41 +08:00
Ms2ger
5e1bd894df No bug - Fix some style issues in DOM code. 2013-11-11 09:04:41 +01:00
Kyle Huey
2789485d96 Bug 928312: Convert the worker global object and all remaining EventTargets to new DOM bindings. r=bent,peterv,smaug 2013-11-05 22:16:26 +08:00
Kyle Huey
d00c5443e9 Bug 919885: Move Worker to WebIDL and thread-agnostic event dispatch. r=bent,bz 2013-11-05 22:16:24 +08:00
Nikhil Marathe
e932ac968a Bug 930611 - Introduce WorkerType rather than boolean SharedWorker check. r=bent 2013-10-30 16:40:16 -07:00
Nikhil Marathe
fba70984c1 Bug 785656 - dump() should be disabled by default in Workers. r=bent 2013-10-30 14:40:34 -07:00
Birunthan Mohanathas
ca89c214af Bug 784739 - Switch from NULL to nullptr in dom/ (2/2); r=ehsan 2013-10-28 10:04:47 -04:00
Ryan VanderMeulen
e9e247b525 Backed out 2 changesets (bug 915757, bug 919885) for frequent Android Armv6 mochitest-8 crashes.
Backed out changeset 04610078280c (bug 915757)
Backed out changeset db9190b3ce60 (bug 919885)
2013-10-14 14:38:54 -04:00
Kyle Huey
09462c8153 Bug 919885: Move Worker to WebIDL and thread-agnostic event dispatch. r=bent,bz 2013-10-14 19:58:05 +08:00
Phil Ringnalda
7f4c6bd321 Backed out 2 changesets (bug 915757, bug 919885) for xpcshell bustage
Backed out changeset 5d17d90b838d (bug 915757)
Backed out changeset 91495d3a91c8 (bug 919885)
2013-10-13 21:59:58 -07:00
Kyle Huey
40ab109140 Bug 919885: Move Worker to WebIDL and thread-agnostic event dispatch. r=bent,bz 2013-10-14 11:10:43 +08:00
Ben Turner
7b97102c91 Bug 643325 - Implement SharedWorker. r=khuey.
--HG--
extra : transplant_source : %D6%8C%9Ajc%3C%F0%0E%DB%C6%7E2%AA%97%B8%AA%B2%7EY%B6
2013-06-05 07:04:23 -07:00
Kyle Huey
d82944e686 Bug 919457: Allow bindings specific to workers without the old-style worker ownership model. r=bz 2013-09-30 12:15:37 +08:00
Kyle Huey
067126c359 Back out bug 919457 for build bustage. r=me 2013-09-30 10:41:23 +08:00
Kyle Huey
b9565ad1bf Bug 919457: Allow bindings specific to workers without the old-style worker ownership model. r=bz 2013-09-30 09:37:26 +08:00
Boris Zbarsky
7370c94e13 Bug 917958 part 1. Stop using JSObject* to represent WebIDL callback functions in workers. r=smaug 2013-09-20 01:07:03 -04:00
Dan Gohman
8b7074b6dc Bug 910823 - Constify static js::Class/JSClass instances. r=waldo 2013-09-11 05:49:05 -07:00
Olli Pettay
f805ec81b0 Bug 910910 - Enable Event ctors in workers, r=khuey
--HG--
extra : rebase_source : 983d01d13aa66a8499350a4960b5913b22c9783a
2013-09-10 21:27:32 +03:00
Jeff Walden
417ac2b508 Bug 897678 - Make worker code stop using propertyops, as a step toward removing propertyops altogether. r=mrbkap
--HG--
extra : rebase_source : 17c2fccbde0b813fcff2b780c1896e35034c071d
2013-08-08 15:55:23 -07:00
Kyle Huey
27e346e22d Bug 911258: Part 5 - Use the unified exception handling mechanism on workers. r=bz 2013-09-08 20:29:21 -07:00
Kyle Huey
cf498d852b Bug 910924: Give workers an nsIGlobalObject. r=bent,bholley 2013-09-08 20:28:48 -07:00
Andrea Marchesini
c1a9777938 Bug 912086 - Several Workers methods do not set their return value. r=mrbkap
--HG--
rename : dom/workers/test/bug911085_worker.js => dom/workers/test/rvals_worker.js
rename : dom/workers/test/test_bug911085.html => dom/workers/test/test_rvals.html
2013-09-04 13:20:51 -04:00
Andrea Marchesini
ad3c17d9c2 Bug 911085 - Workers postMessage has to set its return value, r=mrbkap 2013-09-03 13:22:31 +02:00
Nicholas Nethercote
3f5d413d90 Bug 909597 (part 2) - Rename jsdbgapi.{h,cpp} as {js,vm}OldDebugAPI.{h,cpp}. r=luke.
--HG--
rename : js/src/jsdbgapi.h => js/public/OldDebugAPI.h
rename : js/src/jsdbgapi.cpp => js/src/vm/OldDebugAPI.cpp
extra : rebase_source : 9cd65a698e726c43d88d650f40823367bf98feae
2013-08-26 19:05:20 -07:00
Kyle Huey
8be1b490aa Bug 903772: Part 7 - Remove the worker thread TextEncoder implementation. r=emk 2013-08-22 22:17:10 -07:00
Kyle Huey
93c05d0f88 Bug 903772: Part 5 - Remove the worker TextDecoder implementation. r=emk 2013-08-22 22:17:09 -07:00
Bobby Holley
12e2bef827 Bug 907508 - Define the slot count for xpconnect and worker globals in terms of the slots defined in DOMJSClass.h. r=bz 2013-08-20 21:21:00 -07:00
Bobby Holley
d317034585 Bug 907508 - Drop the slot count for worker globals from 3 to 1. r=bz
Continuing the analysis of the previous patch, we actually have two free slots.

The first comes from the removal of DOM_GLOBAL_OBJECT_SLOT, as in the previous
patch.

The second comes from the fact that we mirrored the XPConnect slot for the
XPCWrappedNativeScope (so that slot offsets would be the same for workers and
non-workers), but didn't drop the slot count in bug 797821.
2013-08-20 21:21:00 -07:00
Nicholas Nethercote
b756f6b258 Bug 898914 (part 1) - Remove JSBool.
--HG--
extra : rebase_source : 2d202e0e5005a7f54724b1540481c15cde3ad52e
2013-08-08 15:53:04 -07:00