Ed Morley
efe4108058
Backed out changeset 14ab9b8d15be (bug 983989)
2014-04-10 15:48:04 +01:00
Ms2ger
8346630944
Bug 983989 - Part c: Cleanup XPCConvert::NativeData2JS; r=bholley
2014-04-10 13:24:25 +02:00
Ms2ger
42bbe814d2
Bug 983989 - Part b: Simplify code flow in XPCConvert::NativeData2JS; <3,r=bholley
2014-04-10 13:24:25 +02:00
Ms2ger
c2e5644788
Bug 983989 - Part a: Reindent XPCConvert::NativeData2JS; r=bholley
2014-04-10 13:24:24 +02:00
Boris Zbarsky
4a96901c0e
Bug 993889 part 4. Remove the scope argument of xpc_FastGetCachedWrapper. r=bholley
2014-04-10 00:58:42 -04:00
Boris Zbarsky
67f4d02e6f
Bug 993889 part 1. Remove "scope" argument from nsContentUtils::WrapNative. r=bholley
2014-04-10 00:58:41 -04:00
Boris Zbarsky
fdbb455d4f
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
Boris Zbarsky
3f26a82832
Bug 991742 part 6. Remove the "aScope" argument of binding Wrap() methods. r=bholley
...
This patch was mostly generated with this command:
find . -name "*.h" -o -name "*.cpp" | xargs sed -e 's/Binding::Wrap(aCx, aScope, this/Binding::Wrap(aCx, this/' -e 's/Binding_workers::Wrap(aCx, aScope, this/Binding_workers::Wrap(aCx, this/' -e 's/Binding::Wrap(cx, scope, this/Binding::Wrap(cx, this/' -i ""
plus a few manual fixes to dom/bindings/Codegen.py, js/xpconnect/src/event_impl_gen.py, and a few C++ files that were not caught in the search-and-replace above.
2014-04-08 18:27:17 -04:00
Boris Zbarsky
3b4c77d08b
Bug 991742 part 1. Enter the compartment of the current wrapper before we try to reparent objects. r=bholley
...
This lets us preserve some invariants about our current compartment matching the scope we want to wrap into.
2014-04-08 18:27:15 -04:00
Peter Van der Beken
333182db64
Bug 993057 - Fix Xrays to disallow indexed expando properties on Xrays for Window with a WebIDL binding. r=bholley.
...
--HG--
extra : rebase_source : a7762fc56b9ad1801be22aa3380f430b44082f9e
2014-02-15 22:12:35 +01:00
Peter Van der Beken
bc34bf3fb1
Bug 993053 - Add xpc::InitGlobal containing the common code for wrapping main-thread XPConnect and WebIDL globals. r=bholley.
...
--HG--
extra : rebase_source : b385e1a3bebc1ef76a49bd2fb0555b3dba640f0d
2014-02-05 22:09:19 +01:00
Peter Van der Beken
731e4f5b3d
Bug 990158 - Make inner windows use their wrapper cache. r=bz.
...
--HG--
extra : rebase_source : bc040c75280bb45ae7ab0ed302130ff5d7178153
2013-11-09 11:20:22 +01:00
Peter Van der Beken
94d6fed69a
Bug 984497 - Use SpecialPowers more and change SpecialPower usage to deal with Window on WebIDL bindings. r=bz.
...
--HG--
rename : content/media/webspeech/synth/test/test_setup.html => content/media/webspeech/synth/test/file_setup.html
rename : content/media/webspeech/synth/test/test_speech_queue.html => content/media/webspeech/synth/test/file_speech_queue.html
rename : content/media/webspeech/synth/test/test_speech_simple.html => content/media/webspeech/synth/test/file_speech_simple.html
extra : rebase_source : 687daf9d78e69fe6ae21f7c1a26503cf88a18b97
2014-02-15 22:12:34 +01:00
Steve Fink
730aa23053
Bug 912456 - transferable MessagePorts, r=jorendorff
...
--HG--
extra : rebase_source : 5b8a2a9b261c53f0ff5a860e1dc2e7ede711105f
2013-11-14 20:42:34 -08:00
Peter Van der Beken
f8dd810da5
Back out 75c95dac7fe0 (bug 984497) and f1b0d3d13755 (bug 990475) to fix bustage on a CLOSED TREE.
...
--HG--
extra : rebase_source : a63315cd428faeb95464f6ad76946d1c0c6d36c3
2014-04-07 22:18:53 +02:00
Peter Van der Beken
3d1f466234
Bug 984497 - Use SpecialPowers more and change SpecialPower usage to deal with Window on WebIDL bindings. r=bz.
...
--HG--
rename : content/media/webspeech/synth/test/test_setup.html => content/media/webspeech/synth/test/file_setup.html
rename : content/media/webspeech/synth/test/test_speech_queue.html => content/media/webspeech/synth/test/file_speech_queue.html
rename : content/media/webspeech/synth/test/test_speech_simple.html => content/media/webspeech/synth/test/file_speech_simple.html
extra : rebase_source : 3662ae8b0f35fefb250c9cd048e848d662863855
2014-02-15 22:12:34 +01:00
Bobby Holley
0200ccab40
Bug 980537 - Only store FakeBackstagePass instances in mThisObjects. r=khuey
2014-04-06 12:32:39 -07:00
Eric Faust
fb1731f8f3
Bug 890686 - Implement JS_GlobalObjectTraceHook, and install it appropriately. (r=billm)
2014-04-04 16:58:08 -07:00
Shu-yu Guo
3773d4e8e6
Bug 989509 - Part 1: js/ (r=luke)
2014-04-03 19:29:40 -07:00
Masayuki Nakano
852403f45d
Bug 990855 part.2 Remove dom/events from local includes of moz.build files r=smaug
2014-04-03 13:18:38 +09:00
Jon Coppeard
80edfe1cd6
Bug 959787 - Handlify remaining JS APIs r=sfink r=bholley r=smaug
2014-04-02 15:28:03 +01:00
Mark Hammond
763885adb1
Bug 987404 - Disable failing mochitest-browser tests in e10s. r=ted.
2014-04-02 10:53:55 +11:00
Jon Coppeard
bd123acdd3
Bug 959787 - Handlify JS_ExecuteScript and JS::Evaluate APIs r=terrence r=bz
2014-04-01 11:34:39 +01:00
Masatoshi Kimura
4e9896ada9
Bug 988122 - Expose Promise on non-window non-worker globals. r=bholley sr=bz
2014-03-29 15:55:53 +09:00
Terrence Cole
2fa50d786c
Bug 989035 - Track malloced slots attached to the nursery. r=njn
2014-03-27 22:52:02 -04:00
Ehsan Akhgari
345b35a6e8
Bug 798158 - Part 1: Use a pointer-sized type to store refcounts internally; r=bsmedberg
2014-03-27 16:38:33 -04:00
Ms2ger
b765dd44d3
Bug 984006 - Remove xpcom/ds from local includes; r=ehsan
2014-03-27 21:05:14 +01:00
Ryan VanderMeulen
d9d827e562
Merge inbound to m-c.
2014-03-26 20:58:31 -04:00
Nathan Froyd
b937ecac05
Bug 987457 - rename ProtoAndIfaceArray to ProtoAndIfaceCache; r=bz
2014-03-22 13:04:09 -04:00
Wes Kocher
f1802a1e54
Merge m-c to fx-team
2014-03-25 20:23:20 -07:00
Dave Townsend
97c13cdb97
Bug 986757: Defer firing OnNewGlobalObject until after the __URI__ property is set for JS Modules. r=bholley
2014-03-25 16:33:06 -07:00
Vladimir Vukicevic
7be28f189f
b=974660, remove unneeded and broken VTune cruft from xpcshell, r=sstangl
...
DONTBUILD
--HG--
extra : amend_source : f801a3a6b58dfa110e1d95ccf003d6475f589ee7
2014-03-24 15:28:12 -04:00
Ms2ger
8e4b6960fa
Bug 860731 - Part c: Move LockedFile to WebIDL; r=janv
2014-03-24 16:10:27 +01:00
Gabor Krizsanits
941fe47b2d
Bug 966609 - nsWrapperCache for SandboxPrivate. r=bholley
2014-03-24 16:00:52 +01:00
Bobby Holley
ec756ac56d
Bug 986940 - Remove Cu.createArrayIn. r=gabor
2014-03-24 11:30:20 -03:00
Bobby Holley
517fa7aa17
Bug 986940 - Remove Cu.createDateIn. r=gabor
...
When we switch ObjectWrapper.jsm to use Cu.cloneInto, this became unused.
2014-03-24 11:30:20 -03:00
Birunthan Mohanathas
a4b438c948
Bug 845478 - Part 6: Use JS::CallArgs instead of JS_{ARGV,SET_RVAL,...}, argc
, vp
in js/xpconnect/. r=bz
2014-03-24 08:49:57 -04:00
Bobby Holley
7f50082a84
Bug 986542 - Don't categorically disable script for detached docshells. r=bz
2014-03-23 12:54:18 -03:00
Phil Ringnalda
233d8c22e3
Merge m-c to m-i
2014-03-23 08:43:23 -07:00
Bobby Holley
a8f19c6cea
Bug 975042 - Tests. r=peterv
...
We try to make this test machinery reusable for future Xrayable JS objects.
2014-03-23 11:02:14 -03:00
Bobby Holley
03d7299cd4
Bug 975042 - Update expando sharing tests to test the Xray-to-JS case. r=peterv
2014-03-23 11:02:14 -03:00
Bobby Holley
44c28bf386
Bug 975042 - Enable JS Xray for the Date object. r=peterv
2014-03-23 11:02:14 -03:00
Bobby Holley
37409460f3
Bug 975042 - Implement resolveOwnProperty and enumerateNames trap. r=peterv
2014-03-23 11:02:13 -03:00
Bobby Holley
0aa740a8ce
Bug 975042 - Make enumerateNames trap virtual. r=peterv
2014-03-23 11:02:13 -03:00
Bobby Holley
b392cb1875
Bug 975042 - Implement getPrototypeOf. r=peterv
2014-03-23 11:02:13 -03:00
Bobby Holley
3e1bc46ccf
Bug 975042 - Implement createHolder. r=peterv
2014-03-23 11:02:13 -03:00
Bobby Holley
2ff7bd4ed5
Bug 975042 - Implement the easy trait hooks. r=peterv
2014-03-23 11:02:13 -03:00
Bobby Holley
126d0ab0f9
Bug 975042 - Basic Xray infrastructure and boilerplate. r=peterv
...
All of this machinery asserts if it actually get used. But it won't be used at
present, because we have an empty whitelist of JSProtoKeys.
2014-03-23 11:02:12 -03:00
Bobby Holley
e9c4522522
Bug 975042 - Remove the special COW support for Date. r=peterv
...
As soon as Date is on Xrays, this stuff won't work anyway. Henceforth, content
access to chrome Date objects is forbidden, and APIs should use something like
|new contentWindow.Date()| for any Date object they wish to expose to content.
2014-03-23 11:02:12 -03:00
Dave Townsend
6ab5501ee9
Bug 986107: Make new sandboxes inherit the metadata of the creating sandbox by default. r=bholley
2014-03-21 19:57:42 -07:00