Commit Graph

2883 Commits

Author SHA1 Message Date
Andrew McCreight
49ddb25fb6 Bug 937157, part 9 - Remove XPC_TRACK_WRAPPER_STATS. r=bholley 2013-11-17 14:47:00 -08:00
Andrew McCreight
b77d413d8f Bug 937157, part 8 - Remove XPC_TRACK_SCOPE_STATS. r=bholley 2013-11-17 14:47:00 -08:00
Andrew McCreight
4d2c0de390 Bug 937157, part 7 - Remove XPC_TRACK_PROTO_STATS. r=bholley 2013-11-17 14:46:59 -08:00
Andrew McCreight
9b7d840d3d Bug 937157, part 6 - Remove XPC_CHECK_WRAPPERS_AT_SHUTDOWN. r=bholley 2013-11-17 14:46:59 -08:00
Andrew McCreight
218a6e5880 Bug 937157, part 5 - Remove XPC_REPORT_SHADOWED_WRAPPED_NATIVE_MEMBERS. r=bholley 2013-11-17 14:46:59 -08:00
Andrew McCreight
1f5eb7b031 Bug 937157, part 4 - Remove XPC_CHECK_CLASSINFO_CLAIMS reference from xpcprivate.h. r=bholley 2013-11-17 14:46:58 -08:00
Andrew McCreight
adb156188b Bug 937157, part 3 - Remove XPC_ASSERT_CLASSINFO_CLAIMS. r=bholley 2013-11-17 14:46:58 -08:00
Andrew McCreight
51c14b3178 Bug 937157, part 2 - Remove flushing debug info plus a few other minor things. r=bholley 2013-11-17 14:46:58 -08:00
Andrew McCreight
982c68e309 Bug 937157, part 1 - Remove some ancient or unused debugging #defines. r=bholley 2013-11-17 14:46:57 -08:00
Tom Schuster
f311064c6e Bug 933834 - Rename and handlify JS_ValueToString. r=terrence,bz 2013-11-16 13:31:36 +01:00
Tom Schuster
7a9f2017c0 Bug 935696 - Tidy up XPCStringConvert::ReadableToJSVal. r=bz 2013-11-16 13:31:36 +01:00
Ms2ger
6b38d3ca3d Backout changesets ded0d64f6786:03f041d03f24 and 30cbd1abde1a (bug 935696, bug 933834 and bug 939194) for build bustage. 2013-11-17 16:39:25 +01:00
Tom Schuster
dd485f9336 Bug 933834 - Rename and handlify JS_ValueToString. r=terrence,bz 2013-11-16 13:31:36 +01:00
Tom Schuster
80c32cca12 Bug 935696 - Tidy up XPCStringConvert::ReadableToJSVal. r=bz 2013-11-16 13:31:36 +01:00
Bobby Holley
f298af1bab Bug 840488 - New domain policy API. r=bz
Note that this patch changes the semantics of javascript.enabled so that changes
to the pref do not apply to compartments that have already been created. This is
a significant change, but is necessary to support the new domain policy API.
After one cycle or so, we'll rip out the old API.
2013-11-12 16:43:35 -08:00
Bobby Holley
a80315ff5c Bug 840488 - Compute immunity from caps checks exactly once, and kill nsScriptSecurityManager::CanExecuteScripts. r=bz 2013-11-12 16:43:35 -08:00
Bobby Holley
15add0796f Bug 840488 - Remove per-JSContext script toggling. r=bz
Note that the checks in nsJSEnvironment::EvaluateString and EvalInWindow
can safely go away, because we call ssm->ScriptAllowed() in
nsJSUtils::EvaluateString.
2013-11-12 16:43:35 -08:00
Bobby Holley
70289cf621 Bug 840488 - Directly mark compartments whose docshells disable script execution. r=bz 2013-11-12 16:43:33 -08:00
Bobby Holley
2c448611f5 Bug 840488 - Introduce a mechanism to temporarily or permanently block script for a given scope, and use it for unsafe channels. r=bz 2013-11-12 16:43:33 -08:00
David Major
198e213e28 Bug 932100 - Part 2: Move DLL blocklist code to mozglue. r=bsmedberg, r=glandium
--HG--
rename : toolkit/xre/nsWindowsDllBlocklist.cpp => mozglue/build/WindowsDllBlocklist.cpp
2013-11-12 08:31:32 -05:00
Birunthan Mohanathas
58a91e67d8 Bug 784739 - Switch from NULL to nullptr in miscellaneous directories; r=ehsan 2013-11-11 14:17:14 -05:00
Ms2ger
7a032cfeab Bug 933326 - Part b: Remove xpc_qsThrowMethodFailedWithCcx and xpc_qsThrowMethodFailedWithDetails; r=bholley 2013-11-11 08:56:59 +01:00
Ms2ger
6c9dec4be0 Bug 933326 - Part a: Remove xpc_qsStringToJsstring; r=bholley 2013-11-11 08:56:03 +01:00
Jeff Walden
04e9645fc3 Bug 903332 - Make watch/unwatch into proxy hooks and such, and make watching/unwatching work on DOM proxies and windows (or at least work as much as it ever did, which is to say kinda-sorta-ish). r=bhackett, r=efaust
--HG--
extra : rebase_source : 58dc71e7e58208a2cfa12b265adca7b189e5e5bd
2013-10-29 16:39:09 -07:00
Mike Hommey
8f10c67fbb Bug 935305 - Move preprocessor to mozbuild.action. r=gps
--HG--
rename : config/Preprocessor.py => python/mozbuild/mozbuild/preprocessor.py
rename : config/tests/unit-Expression.py => python/mozbuild/mozbuild/test/test_expression.py
rename : config/tests/unit-LineEndings.py => python/mozbuild/mozbuild/test/test_line_endings.py
rename : config/tests/unit-Preprocessor.py => python/mozbuild/mozbuild/test/test_preprocessor.py
2013-11-09 10:35:44 +09:00
Ryan VanderMeulen
e4bf9a3a4a Backed out changeset ec8ac6112088 (bug 933885) for frequent xpcshell test_singlebytes.js timeouts. 2013-11-07 16:45:17 -05:00
Ryan VanderMeulen
9d31989c15 Backed out changeset 471db633b20c (bug 903332) for B2G desktop mochitest-1 failures. 2013-11-07 16:10:21 -05:00
Zack Weinberg
7782ff7dd7 Bug 933885: make xpcshell dump() handle non-ASCII characters correctly. r=bz,ted 2013-11-07 14:10:58 -05:00
Jeff Walden
39bee2a91f Bug 903332 - Make watch/unwatch into proxy hooks and such, and make watching/unwatching work on DOM proxies and windows (or at least work as much as it ever did, which is to say kinda-sorta-ish). r=bhackett, r=efaust
--HG--
extra : rebase_source : b5bae3832b7718b579abb7c09f36c9c46907d7cc
2013-10-29 16:39:09 -07:00
Andrew McCreight
b5a0433a5f Bug 905382, part 2 - Implement per-zone string conversion cache. r=bz 2013-09-26 16:18:27 -07:00
Boris Zbarsky
bb048bcdda Bug 934544. For the case when we have to copy an XPCOM string into a JSString, just ask the JS engine to do that. It'll do a better job of avoiding malloc than we can, since it can sometimes store string data inline in the string. r=peterv 2013-11-06 13:02:58 -05:00
Tom Schuster
8f66a758c7 Bug 934557 - Handlify JS::ToBoolean and remove JS_ValueToBoolean. r=terrence 2013-11-06 16:26:50 +01:00
Nicholas Nethercote
d8a3b0f0bb Bug 934321 - Add MemoryMultiReporter, a helper class that reduces some boilerplate, and convert all existing multi-reporters to use it. r=wchen.
--HG--
extra : rebase_source : a6110c3558c571b7908b63e8cc7ca21103098d0d
2013-11-06 14:58:20 +11:00
Gijs Kruitbosch
659ec36f05 Fix mochitest-other debug bustage caused by bug 821726 by expecting assertions, rs=bustage on a CLOSED TREE 2013-11-05 21:43:01 +01:00
Gijs Kruitbosch
b9bab00f22 Bug 821726 - allow bypassing script cache when using loadSubscript, r=bholley 2013-11-05 16:35:41 +01:00
Peter Van der Beken
255e6fe560 Bug 932322 - Make Window's WebIDL properties be own properties of window. r=bz.
--HG--
extra : rebase_source : 5595267a420f81f20e5e227712886c9329bec473
2013-10-08 18:18:40 +02:00
Gabor Krizsanits
8550f0ba8d Bug 930523 = createObjectIn should waive. r=bholley 2013-11-05 08:02:07 +01:00
Gabor Krizsanits
0fa275fef4 Bug 930910 - evalInWindow for Cu. r=bholley 2013-11-05 08:00:30 +01:00
Gabor Krizsanits
b509eb8d77 Bug 930910 - exportFunction for Cu. r=bholley 2013-11-05 08:00:20 +01:00
Gabor Krizsanits
fa55e5337b Bug 930910 - options object for Cu.createObjectIn. r=bholley 2013-11-05 08:00:05 +01:00
Mike Hommey
ff32f10568 Bug 934337 - Get rid of custom rules fiddling with SHARED_LIBRARY. r=mshal
While here, remove other custom rules in the same Makefiles.
2013-11-05 13:28:26 +09:00
Mike Hommey
7f655b04c9 Bug 934336 - Remove apparently useless dependencies on js-confdefs.h. r=mshal 2013-11-05 07:39:28 +09:00
Ryan VanderMeulen
78649cfa0f Backed out 3 changesets (bug 932309, bug 932322) for Linux mochitest-bc timeouts on a CLOSED TREE.
Backed out changeset aea34e69d171 (bug 932322)
Backed out changeset 2b99a0f6ff1b (bug 932309)
Backed out changeset 0e3bcb78784e (bug 932309)
2013-11-04 14:31:21 -05:00
Peter Van der Beken
96bb7d1a68 Bug 932322 - Make Window's WebIDL properties be own properties of window. r=bz.
--HG--
extra : rebase_source : b8ce4fedf7fc46b14a1d01663945d1b0e22bdcdd
2013-10-08 18:18:40 +02:00
Nicholas Nethercote
cdfc960ca4 Bug 837566 - Remove js_RemoveRoot. r=terrence.
--HG--
extra : rebase_source : b3b615c34cfa4b9766a3484060242498c5a57e63
2013-02-03 20:16:19 -08:00
Tom Schuster
b0f36a0a96 Bug 933946 - Remove the rest of the old number conversion functions from SpiderMonkey. r=terrence 2013-11-02 13:48:09 +01:00
Tom Schuster
357151515a Bug 933810 - Really remove JS_ValueToECMAUint32. r=terrence f=mccr8 2013-11-01 20:44:05 +01:00
Bobby Holley
c3012b9053 Bug 911864 - Make in-content XBL event handlers allowuntrusted=false by default. r=smaug 2013-11-01 15:31:58 +01:00
Bobby Holley
7b822eba16 Bug 911864 - When QIing objects bound with XBL scopes, route the XPCWrappedJS through an XrayWrapper from the XBL scope. r=smaug 2013-11-01 15:31:57 +01:00
Bobby Holley
8cce7588ac Bug 911864 - Add annotations to our XBL tests as-needed. r=smaug 2013-11-01 15:31:57 +01:00