Commit Graph

3427 Commits

Author SHA1 Message Date
Bobby Holley
a3079083ae Bug 997527 - Remove debugging code from bug 960828. r=me a=me DONTBUILD 2014-04-16 18:33:10 -07:00
Gabor Krizsanits
d6aefec690 Bug 996069 - Part3: Stop inheriting nsEP when window.open is called. r=bz 2014-04-16 22:29:57 +02:00
Terrence Cole
21e586caba Bug 959787 - Handlify JS_DefineProperty; r=Waldo, r=bz
--HG--
extra : rebase_source : 87991ed47ed071550af4e4125eea54a66fdb0071
2014-01-21 18:11:17 -08:00
Shian-Yow Wu
a10ec8bc68 Bug 945152 - Part 2: Report mapped array buffer statistics for about:memory. r=njn 2014-04-16 19:26:41 +08:00
Jon Coppeard
6e3781aa06 Bug 912581 - Make JS_Add*Root APIs take Heap<T> r=terrence r=bz r=bholley 2014-04-16 09:47:57 +01:00
Jon Coppeard
2c591777e1 Bug 993413 - Remove use of JS_Add/Remove*Root in favour of JS::PersistentRooted where possible r=terrence r=bz r=bholley 2014-04-16 09:47:53 +01:00
Bobby Holley
d39900b36b Bug 993423 - Don't hoist <svg:use> content into the XBL scope. r=smaug 2014-04-14 20:38:54 -07:00
Bobby Holley
1655b3aa4f Bug 989528 - Introduce AutoJSAPIWithErrorsReportedToWindow as a replacement for AutoPushJSContextForErrorReporting. r=bz 2014-04-14 20:26:59 -07:00
Luke Wagner
b9c343c46a Bug 980447 - Add persistenceType argument to nsIQuotaManager.clearStoragesForURI (r=janv)
--HG--
extra : rebase_source : 4d034bd92b099bd1385fc9e8a95fa959fc8e51e0
2014-04-14 15:48:49 -05:00
Bobby Holley
30ec466f9d Bug 995123 - Associate sandboxPrototyped Sandboxes to their prototype Window, if it exists. r=bz 2014-04-14 08:56:38 -07:00
Ehsan Akhgari
3e33317c6d Bug 995754 - Remove nsIDOMToString; r=bzbarsky 2014-04-13 18:53:36 -04:00
Olli Pettay
736b1d9117 Bug 688580 - Run deferred scripts before DOMContentLoaded; r=hsivonen 2014-04-12 11:02:21 +02:00
Ms2ger
76005bd991 Bug 983989 - Part c: Cleanup XPCConvert::NativeData2JS; r=bholley 2014-04-12 10:15:58 +02:00
Ms2ger
599fcddb90 Bug 983989 - Part b: Simplify code flow in XPCConvert::NativeData2JS; <3,r=bholley 2014-04-12 10:15:57 +02:00
Ms2ger
7da37a381e Bug 983989 - Part a: Reindent XPCConvert::NativeData2JS; r=bholley 2014-04-12 10:15:56 +02:00
Boris Zbarsky
34e0756678 Bug 995047. Change out stack/exception APIs to hand out AString instead of AUTF8String for filename/functionname, so we end up with fewer string conversions in practice. r=smaug 2014-04-11 22:20:40 -04:00
Ed Morley
5330c79ca6 Backed out changeset 592e6de7211b (bug 983989) 2014-04-10 15:48:11 +01:00
Ed Morley
915bed264b Backed out changeset 91885eced736 (bug 983989) 2014-04-10 15:48:08 +01:00
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