Mike Hommey
03e5fc6ffa
Bug 914274 - Remove MODULE_NAME. r=mshal
2013-11-21 17:31:19 +09:00
Bobby Holley
9699a172ce
Bug 858101 - Tests. r=mrbkap
2013-11-20 16:04:01 -08:00
Bobby Holley
df5c80866e
Bug 866823 - Tests. r=gabor,mrbkap
2013-11-20 16:04:00 -08:00
Andrew McCreight
9c3c29695f
Bug 935721, part 5 - Invert the control flow of CycleCollectNow's pre- and post-collection work, add CCResults as a field on the CC. r=smaug
...
nsJSEnvironment::CycleCollectNow does work before and after a CC runs. With ICC, nsJSEnv won't
know where in the CC when a CC is about to begin or end, so this patch reorganizes that work
into two separate callback hooks. This requires adding a new struct, CycleCollectorStats, to
hold data nsJSEnv needs between the two calls.
Rather than trying to pass around a pointer to a results structure, this patch just adds
it to the nsCycleCollector struct, and always stores them. The results are passed back
to the end CC callback.
2013-11-20 14:35:16 -08:00
Benjamin Smedberg
04357a9dd8
Bug 672843 part D2 - Fix the xpconnect exception code and Components.results to prefer the name NS_ERROR_ILLEGAL_VALUE over the other synonyms. Fix a few tests that rely on exception names to use exception values instead. r=bholley
2013-11-20 11:46:18 -05:00
Terrence Cole
f03fb3275f
Bug 940718 - Create the first safe JSContext in a GC safe location; r=bholley
...
--HG--
extra : rebase_source : fa6e43d8e194e21e1a5231050aa7a959d844edd5
2013-11-20 12:12:11 -08:00
Jon Coppeard
6ab18f1654
Bug 940727 - Fix rooting hazard in DOMProxyHandler::GetAndClearExpandoObject() r=bholley
2013-11-20 15:37:30 +00:00
Jon Coppeard
91b278ba3c
Bug 940639 - Fix rooting hazard in nsXPCComponents_Utils::(Un)blockScriptForGlobal() r=bholley
2013-11-20 15:37:30 +00:00
Jon Coppeard
45edc962cf
Bug 940505 - Fix rooting hazard in JSObject2JSObjectMap::Add() r=bholley
2013-11-20 15:37:30 +00:00
Bobby Holley
688bba41bf
Bug 939166 - Be more direct in GetStaticScriptGlobal. r=bz
...
This can all collapse because of the following facts:
* Ever since we introduced SandboxPrivate, we never actually use a Window
as an SOP for a sandbox.
* nsGlobalWindow is actually the only thing that implements nsIScriptGlobalObject.
2013-11-20 08:48:00 -08:00
Bobby Holley
0cbc09f09d
Bug 940783 - Tests. r=bz
2013-11-20 08:47:59 -08:00
Ed Morley
4f9c98b39c
Backed out changeset 017d3e4e80bf (bug 940505)
2013-11-20 16:38:04 +00:00
Ed Morley
2266a34f80
Backed out changeset ee2544f18623 (bug 940639)
2013-11-20 16:38:01 +00:00
Ed Morley
58ac75dfe2
Backed out changeset 17ca97e65aa5 (bug 940727)
2013-11-20 16:37:55 +00:00
Jon Coppeard
3d07a3a88d
Bug 940727 - Fix rooting hazard in DOMProxyHandler::GetAndClearExpandoObject() r=bholley
2013-11-20 15:37:30 +00:00
Jon Coppeard
c693051e65
Bug 940639 - Fix rooting hazard in nsXPCComponents_Utils::(Un)blockScriptForGlobal() r=bholley
2013-11-20 15:37:30 +00:00
Jon Coppeard
77e7c3f3f1
Bug 940505 - Fix rooting hazard in JSObject2JSObjectMap::Add() r=bholley
2013-11-20 15:37:30 +00:00
Terrence Cole
d0287c9257
Bug 940505 - Handlify GetXrayWaiver; r=bholley
...
--HG--
extra : rebase_source : 1812e79207fccdcf479b14637b67b2510d2f317b
2013-11-19 10:12:10 -08:00
Ehsan Akhgari
1c796694bb
Bug 939608 - Part 1: Code changes required to build xpconnect in unified mode; r=bholley
...
--HG--
extra : rebase_source : e691b361737fbb233a0b33ed7fc6aa97ae172223
2013-11-19 15:03:40 -05:00
Jan Varga
340148eccf
Bug 921478 - Remove BackstagePass IDB constructor resolve hook and use Cu.importGlobalProperties. r=bholley,bent
...
--HG--
rename : dom/indexedDB/test/test_globalObjects.xul => dom/indexedDB/test/test_globalObjects_chrome.xul
rename : dom/indexedDB/test/test_globalObjects.html => dom/indexedDB/test/test_globalObjects_content.html
rename : dom/indexedDB/test/unit/test_globalObjects.js => dom/indexedDB/test/unit/test_globalObjects_xpc.js
2013-11-19 08:36:12 +01:00
Carsten "Tomcat" Book
7210c41583
Backed out changeset 161bfee3f57a (bug 939608) PGO build issue
2013-11-19 14:13:15 +01:00
Carsten "Tomcat" Book
cfe659ca29
Backed out changeset 21df28ade757 (bug 939608) PGO build issue
2013-11-19 14:12:53 +01:00
Gijs Kruitbosch
2669f41615
Bug 890545 - provide a way to enumerate registered manifests, r=froydnj,f=glandium
...
--HG--
extra : rebase_source : 7534f0d3c0257ff34f1477c0bfdd23b540e7a7c7
2013-07-05 21:20:04 +02:00
Eddy Bruel
cf91a893bd
Bug 938907 - Get rid of the compile and go flag on ContextOptions; r=bholley
2013-11-19 12:41:42 +01:00
Carsten "Tomcat" Book
52bb79098d
Backed out changeset 5cda44ae1ba0 (bug 921478) for perma-orange on Mochitest-1 on B2G Linux Opt on a CLOSED TREE
...
--HG--
rename : dom/indexedDB/test/test_globalObjects_content.html => dom/indexedDB/test/test_globalObjects.html
rename : dom/indexedDB/test/test_globalObjects_chrome.xul => dom/indexedDB/test/test_globalObjects.xul
rename : dom/indexedDB/test/unit/test_globalObjects_xpc.js => dom/indexedDB/test/unit/test_globalObjects.js
2013-11-19 11:41:52 +01:00
Jan Varga
0d595eff6d
Bug 921478 - Remove BackstagePass IDB constructor resolve hook and use Cu.importGlobalProperties. r=bholley,bent
...
--HG--
rename : dom/indexedDB/test/test_globalObjects.xul => dom/indexedDB/test/test_globalObjects_chrome.xul
rename : dom/indexedDB/test/test_globalObjects.html => dom/indexedDB/test/test_globalObjects_content.html
rename : dom/indexedDB/test/unit/test_globalObjects.js => dom/indexedDB/test/unit/test_globalObjects_xpc.js
2013-11-19 08:36:12 +01:00
Mike Hommey
931cb49886
Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
...
Landing on a CLOSED TREE.
2013-11-19 11:50:54 +09:00
Mike Hommey
db9e5129bc
Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps
2013-11-19 11:48:10 +09:00
Mike Hommey
636b672657
Bug 914245 - Move FORCE_SHARED_LIB to moz.build. r=mshal
2013-11-19 11:47:45 +09:00
Mike Hommey
b18be7aacd
Bug 939044 - Rename remaining MODULE definitions to XPIDL_MODULE. r=mshal
2013-11-19 11:47:43 +09:00
Mike Hommey
f0d1cd1e10
Bug 939044 - Remove most definitions of MODULE. r=mshal
2013-11-19 11:47:39 +09:00
Mike Hommey
094cb7c044
Bug 939044 - Remove the last uses of the MODULE variable in makefiles. r=gps
2013-11-19 11:47:30 +09:00
Mike Hommey
b73ed76683
Bug 939042 - Remove library building related variables in directories that build no C/C++ sources. r=mshal
2013-11-19 11:47:29 +09:00
Mike Hommey
f81885e53b
Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps
2013-11-19 11:47:14 +09:00
Alexandre Poirot
16ffcc45fa
Bug 770915 - Make Sandbox.dump() appear in adb logcat. r=gabor
2013-11-18 12:54:46 -05:00
Ehsan Akhgari
d34b4a705a
Bug 939608 - Fix a build problem
2013-11-18 00:52:53 -05:00
Ehsan Akhgari
b4bd380bbc
Bug 939608 - Build xpconnect in unified mode; r=bholley
2013-11-18 00:47:30 -05:00
Bobby Holley
27b8ebcefe
Bug 938429 - Bump the trusted script buffer for macosx64 a bit. r=luke
2013-11-17 18:46:40 -08:00
Bobby Holley
1e3c4d3acc
Bug 938297 - Stop using GetContextFromDocument in GetStateObject. r=bz
2013-11-17 18:44:04 -08:00
Andrew McCreight
19d50159cb
Bug 937152 - Remove XPCWrappedJS::mMainThread and mMainThreadOnly. r=bholley
2013-11-17 14:47:02 -08:00
Andrew McCreight
65c749e39d
Bug 937157, part 13 - Remove DEBUG_shaver. r=bholley
2013-11-17 14:47:01 -08:00
Andrew McCreight
bbb445bc9d
Bug 937157, part 12 - Remove DEBUG_xpc_hacker. r=bholley
2013-11-17 14:47:01 -08:00
Andrew McCreight
e7fe28bf03
Bug 937157, part 11 - Remove XPC_DUMP_AT_SHUTDOWN. r=bholle
2013-11-17 14:47:01 -08:00
Andrew McCreight
f8517e0628
Bug 937157, part 10 - Remove DEBUG_xpc_leaks. r=bholley
2013-11-17 14:47:00 -08:00
Andrew McCreight
9da4e53963
Bug 937157, part 9 - Remove XPC_TRACK_WRAPPER_STATS. r=bholley
2013-11-17 14:47:00 -08:00
Andrew McCreight
8dc585fe66
Bug 937157, part 8 - Remove XPC_TRACK_SCOPE_STATS. r=bholley
2013-11-17 14:47:00 -08:00
Andrew McCreight
c6e28bb163
Bug 937157, part 7 - Remove XPC_TRACK_PROTO_STATS. r=bholley
2013-11-17 14:46:59 -08:00
Andrew McCreight
3249d41c33
Bug 937157, part 6 - Remove XPC_CHECK_WRAPPERS_AT_SHUTDOWN. r=bholley
2013-11-17 14:46:59 -08:00
Andrew McCreight
a288f3c946
Bug 937157, part 5 - Remove XPC_REPORT_SHADOWED_WRAPPED_NATIVE_MEMBERS. r=bholley
2013-11-17 14:46:59 -08:00
Andrew McCreight
07826be78e
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
7e4477dc70
Bug 937157, part 3 - Remove XPC_ASSERT_CLASSINFO_CLAIMS. r=bholley
2013-11-17 14:46:58 -08:00
Andrew McCreight
36d73a2e1c
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
11c210233b
Bug 937157, part 1 - Remove some ancient or unused debugging #defines. r=bholley
2013-11-17 14:46:57 -08:00
Tom Schuster
f052cdba92
Bug 933834 - Rename and handlify JS_ValueToString. r=terrence,bz
2013-11-16 13:31:36 +01:00
Tom Schuster
9839c0957a
Bug 935696 - Tidy up XPCStringConvert::ReadableToJSVal. r=bz
2013-11-16 13:31:36 +01:00
Ms2ger
29adada2a2
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
a12aa024e6
Bug 933834 - Rename and handlify JS_ValueToString. r=terrence,bz
2013-11-16 13:31:36 +01:00
Tom Schuster
83ffdabf31
Bug 935696 - Tidy up XPCStringConvert::ReadableToJSVal. r=bz
2013-11-16 13:31:36 +01:00
Bobby Holley
db1330e2ca
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
c04d2567ce
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
23cf12e7bb
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
a10c940425
Bug 840488 - Directly mark compartments whose docshells disable script execution. r=bz
2013-11-12 16:43:33 -08:00
Bobby Holley
260c41dfe4
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
25afc23f7c
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
192d1ba4c1
Bug 784739 - Switch from NULL to nullptr in miscellaneous directories; r=ehsan
2013-11-11 14:17:14 -05:00
Ms2ger
9f1382ddc6
Bug 933326 - Part b: Remove xpc_qsThrowMethodFailedWithCcx and xpc_qsThrowMethodFailedWithDetails; r=bholley
2013-11-11 08:56:59 +01:00
Ms2ger
dd7127ccd4
Bug 933326 - Part a: Remove xpc_qsStringToJsstring; r=bholley
2013-11-11 08:56:03 +01:00
Jeff Walden
f775bf0ab0
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
91af4c88d7
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
899501b7a2
Backed out changeset ec8ac6112088 (bug 933885) for frequent xpcshell test_singlebytes.js timeouts.
2013-11-07 16:45:17 -05:00
Ryan VanderMeulen
2cd9baaad6
Backed out changeset 471db633b20c (bug 903332) for B2G desktop mochitest-1 failures.
2013-11-07 16:10:21 -05:00
Zack Weinberg
c4ed613c62
Bug 933885: make xpcshell dump() handle non-ASCII characters correctly. r=bz,ted
2013-11-07 14:10:58 -05:00
Jeff Walden
ed9fef3e20
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
1b9cc2e51b
Bug 905382, part 2 - Implement per-zone string conversion cache. r=bz
2013-09-26 16:18:27 -07:00
Boris Zbarsky
f36b4cafef
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
d5f73dbc01
Bug 934557 - Handlify JS::ToBoolean and remove JS_ValueToBoolean. r=terrence
2013-11-06 16:26:50 +01:00
Nicholas Nethercote
b9e0d05f7e
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
d649dc25bb
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
a0af27438c
Bug 821726 - allow bypassing script cache when using loadSubscript, r=bholley
2013-11-05 16:35:41 +01:00
Peter Van der Beken
1f5317edd4
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
4b6ef2a00b
Bug 930523 = createObjectIn should waive. r=bholley
2013-11-05 08:02:07 +01:00
Gabor Krizsanits
9294bf448c
Bug 930910 - evalInWindow for Cu. r=bholley
2013-11-05 08:00:30 +01:00
Gabor Krizsanits
9e77af3a4e
Bug 930910 - exportFunction for Cu. r=bholley
2013-11-05 08:00:20 +01:00
Gabor Krizsanits
f78fec5657
Bug 930910 - options object for Cu.createObjectIn. r=bholley
2013-11-05 08:00:05 +01:00
Mike Hommey
44619982dd
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
c26251e049
Bug 934336 - Remove apparently useless dependencies on js-confdefs.h. r=mshal
2013-11-05 07:39:28 +09:00
Ryan VanderMeulen
6cddc919e9
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
86a3955c9b
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
cd0b801b1b
Bug 837566 - Remove js_RemoveRoot. r=terrence.
...
--HG--
extra : rebase_source : b3b615c34cfa4b9766a3484060242498c5a57e63
2013-02-03 20:16:19 -08:00
Tom Schuster
4b85960fb6
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
e4eba3d13f
Bug 933810 - Really remove JS_ValueToECMAUint32. r=terrence f=mccr8
2013-11-01 20:44:05 +01:00
Bobby Holley
93be455019
Bug 911864 - Make in-content XBL event handlers allowuntrusted=false by default. r=smaug
2013-11-01 15:31:58 +01:00
Bobby Holley
eaa51e3667
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
cb7b1e1b58
Bug 911864 - Add annotations to our XBL tests as-needed. r=smaug
2013-11-01 15:31:57 +01:00
Bobby Holley
c1e62da8c9
Bug 911864 - Install XBL members in the safe scope, then clone them into content (rather than the reverse). r=smaug
2013-11-01 15:31:57 +01:00
Nils Maier
b167bb7278
Bug 929120 - Add a way to get compartment locations ignoring non-addon locations. r=njn
...
Use that new way to map compartments to add-ons. As an added bonus, fix a currently unproblematic off-by-one error in the location parser.
2013-10-31 23:04:11 -04:00
Boris Zbarsky
7690d94087
Bug 882541 part 4. Treat undefined as missing for optional WebIDL arguments. r=khuey,ms2ger
2013-10-11 12:28:24 -04:00
Mike Hommey
45f0482824
Bug 864774 part 3 - Move some more CPPSRCS to moz.build. r=mshal
2013-10-30 07:51:03 +09:00
Ryan VanderMeulen
c80a525c6d
Merge m-c to inbound on a CLOSED TREE.
2013-10-30 22:42:13 -04:00
Terrence Cole
ae43bcf0e2
Bug 932364 - Fix an exact rooting hazard around AddSizeOfTab; r=njn
...
--HG--
extra : rebase_source : cb0ab85f7f850ce3c250dd75ff32a416dba7b153
2013-10-28 10:14:06 -07:00
Ed Morley
4326269d4b
Merge mozilla-central and b2g-inbound
2013-10-29 16:34:46 +00:00
Vicamo Yang
17e058673d
Bug 920551 - 2.h/2: fix dom/system/gonk/*. r=hsinyi,khuey
2013-10-29 16:12:45 +08:00
Nicholas Nethercote
b38b84f869
Bug 925584 - Remove some unnecessary jsapi.h inclusions from .cpp files. r=Ms2ger.
...
--HG--
extra : rebase_source : 41fcb0e922a519ef679c1c1b6293c2b638e83a48
2013-10-10 15:22:35 -07:00
Peter Van der Beken
69e7c5ae55
Bug 918345 - Turn on WebIDL binding generation for Window and hook it up to quickstubs. r=bz.
...
--HG--
extra : rebase_source : 7bde7ddfe297e189ffa678ca1d9c34000bc904ec
2013-10-08 17:51:42 +02:00
Tom Schuster
ce701cf26f
Bug 930782 - Handlify JS_WrapValue. r=terrence
2013-10-26 18:19:05 +02:00
Ms2ger
88bbf03777
Backout changeset 2e466ccc7bd0 for devtools test failures.
2013-10-26 17:02:20 +02:00
Peter Van der Beken
45ef6c1adc
Bug 918345 - Turn on WebIDL binding generation for Window and hook it up to quickstubs. r=bz.
...
--HG--
extra : rebase_source : 673c08ef093339e6bfb1418366af5cc5fabe7c4d
2013-10-08 17:51:42 +02:00
Phil Ringnalda
28b78c172b
Bug 929498 - Disable test_asmjs.html on Android for stopping Panda mochitest-7 runs
...
--HG--
extra : rebase_source : ff1ad8ac91f713ee0329b769e449f7b745f32507
2013-10-25 23:26:36 -07:00
Luke Wagner
b6a2088f23
Bug 929498 - fix test_asmjs.html mochitest to not run so long on slow machines (r=pending)
...
--HG--
extra : rebase_source : 61f561551b225697fe16b084d9b30577a3ff46b2
2013-10-22 16:16:09 -05:00
Ed Morley
c179e2ef19
Backed out changeset 03ffffc0bff4 (bug 929297)
2013-10-25 15:25:32 +01:00
Nils Maier
b8b97f853e
Bug 929297 - Part 2: Avoid calling amIAddonManager in reporters off the main process.
2013-10-23 11:46:00 +01:00
Mike Hommey
f1c0c07862
Bug 929905 - Consolidate sources in moz.build. r=gps
2013-10-25 08:23:05 +09:00
Terrence Cole
05b45c0c0f
Bug 929800 - Handlify the structured clone interface; r=sfink,smaug
...
--HG--
extra : rebase_source : 4f21dd799ad27dc665997d4912996a500ae8a2f2
2013-10-22 17:18:32 -07:00
Peter Van der Beken
6dd94daf3a
Bug 931467 - Make QS/DOM binding unwrapping like XPCConvert unwrapping for COWs. r=bholley.
...
--HG--
extra : rebase_source : bc3590722f310b7dfc9241cfa66eceb63651f5b7
2013-10-27 09:53:30 +01:00
Nils Maier
429701a912
Bug 929297 - Part 2: Avoid calling amIAddonManager in reporters off the main process. r=njn
2013-10-28 04:53:00 +00:00
Eddy Bruel
051cd28091
Bug 880330 - Refactor xpconnect shell to use the new options API; r=bholley
2013-10-28 12:43:17 +01:00
Brian O'Keefe
0cbcd904c7
Bug 928709 - Convert chromium-config.mk to mozbuild, r=mshal
2013-10-02 13:17:55 -04:00
Mike Hommey
80c623bb6a
Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps
2013-10-24 08:05:43 +09:00
Mike Hommey
5072f65f8c
Bug 913268 - Make CPP_SOURCES a StrictOrderingOnAppendList. r=mshal
2013-10-24 08:00:23 +09:00
Birunthan Mohanathas
de354c9745
Bug 784739 - Switch from NULL to nullptr in miscellaneous directories; r=ehsan
...
--HG--
extra : rebase_source : 9335e9b4b0ac02e8066fbb79797bbc0d3fd73874
2013-10-23 16:36:09 -04:00
Bobby Holley
d23fe1a7b3
Bug 928476 - Add telemetry to measure cross-global adopts. r=mrbkap,nfroyd
2013-10-23 14:02:42 +02:00
Nicholas Nethercote
d58b8ff6f4
Bug 918207 - Support per-tab memory profiling. r=billm,mccr8,till,smaug,nfroyd.
...
--HG--
extra : rebase_source : 7603eaedbd761c6b231b1b911f719388864755e6
2013-10-22 14:53:26 -07:00
Gabor Krizsanits
f655767c98
Bug 927765 - createObjectIn for exportHelpers. r=bholley
2013-10-22 14:24:07 +02:00
Gabor Krizsanits
4cfc5bad76
Bug 927765 - Options for createObjectIn. r=bholley
2013-10-22 14:23:41 +02:00
Ms2ger
39b292cc30
Merge inbound to m-c.
2013-10-20 10:40:40 +02:00
Ms2ger
b261954f7c
Bug 908142 - Part g: Remove defines from js/xpconnect/shell/Makefile.in; r=gps
2013-10-20 09:25:20 +02:00
Ms2ger
9325053582
Bug 908142 - Part d: Move FAIL_ON_WARNINGS to moz.build in js/xpconnect/shell/; r=gps
2013-10-20 09:25:19 +02:00
Tom Schuster
c4c16b0062
Bug 884410 - Remove JS_ValueToNumber. r=terrence
2013-10-19 18:39:52 +02:00
Andrew McCreight
4f6b4f41d9
Bug 927218 - Remove unused declaration of XPCWrappedNative::Morph. r=bholley
2013-10-17 06:24:18 -07:00
Andrew McCreight
74a3bafe4a
Bug 926081 - Move stuff from xpcpublic.h to xpcprivate.h. r=bholley
2013-10-17 09:02:20 -07:00
Steve Fink
98a2217207
Bug 925916 - Handlify various things in XPConnect, r=bholley
...
--HG--
extra : rebase_source : d6b2697f043d56e6c96e5addc7e6192d067a068c
2013-10-11 22:02:39 -07:00
Bobby Holley
5c32c180a4
Bug 922009 - MOZ_CRASH when trying to transplant objects with SCSWs. r=mrbkap
2013-10-17 10:00:02 +02:00
Ed Morley
fa71df56b3
Bug 927387 - Make xpc::SystemErrorReporter() JS exception fprintf()s not split the error across two lines; r=bholley
2013-10-16 16:18:24 +01:00
Gabor Krizsanits
ebb52400f3
Bug 925293 - Refactoring SandboxOptions parsing. r=bholley
2013-10-16 15:18:43 +02:00
Tom Schuster
f59a4cd93b
Bug 8844105 - Handlify JS_WrapObject. r=terrence
2013-10-15 20:02:23 -04:00
Ed Morley
d9879cd4ec
Merge latest green inbound changeset and mozilla-central
2013-10-14 17:39:02 +01:00
Ed Morley
da83085a5c
Backed out changeset ccf11ae08ba2 (bug 882541)
2013-10-14 17:30:43 +01:00
Eddy Bruel
2822dc03cc
Bug 880330 - Refactor xpconnect to use the new options API; r=bholley
2013-10-14 13:42:16 +02:00
Reuben Morais
9a394ad905
Bug 916267 - Remove XPIDL for MozContactChangeEvent. r=smaug
...
--HG--
extra : rebase_source : d8f8735865974e9e2ff76d5e9cde69866c8de3a5
2013-10-11 22:48:29 -03:00
Boris Zbarsky
316fae665f
Bug 882541 part 4. Treat undefined as missing for optional WebIDL arguments. r=khuey,ms2ger
2013-10-11 12:28:24 -04:00
Edgar Chen
a8154f3d20
Bug 873380 - Part 1: Refined the error report policy for card lock functionality. r=smaug. sr=hsinyi
2013-09-25 14:49:44 +08:00
Ehsan Akhgari
c52d2a5eab
Remove the unused UnexpectedFailure static function to fix my build, no bug
2013-10-10 17:39:52 -04:00
Birunthan Mohanathas
0fe811f2b7
Bug 784739 - Switch from NULL to nullptr in js/xpconnect/; r=ehsan
2013-10-10 16:35:53 -04:00
Dan Gohman
d87a4b311c
Bug 924642 - SpiderMonkey: Apply internal name linkage using static keywords. r=njn
2013-10-10 05:18:01 -07:00
Andrea Marchesini
d24dfb225f
Bug 920015 - Expose DOM URL to js modules, r=ehsan, f=emk, r=bz, r=bholley, r=smaug
...
--HG--
rename : js/xpconnect/tests/unit/test_textDecoder.js => js/xpconnect/tests/unit/test_url.js
2013-10-10 08:56:01 +02:00
Bobby Holley
a07607b748
Bug 921454 - Tests for NAC. r=jonco
2013-10-04 13:29:37 +02:00
Bobby Holley
c19386bfb3
Bug 921454 - Invert faulty assertion. r=jonco
...
This assertion is pretty clearly bogus, and only exists because, as it turns
out, we never had any test coverage for transplanting SCSW objects with
waivers. Even in the world when this stuff landed (bug 773962, which was well
before the removal of Location SCSWs in bug 808608 and the conversion of Nodes
to new bindings), we apparently never tested the waiver path. :-(
2013-10-04 13:29:36 +02:00
Bobby Holley
f8062f062d
Bug 921454 - Refactor proxy creation to use an options object. r=jonco
2013-10-04 13:29:35 +02:00
Bobby Holley
e049188b70
Bug 921454 - Skip unwrap safety assertion for cross-compartment SOWs. r=mrbkap
...
Currently this stuff just asserts when you pass NAC across compartments. And
the logic for this stuff is complicated enough that we don't gain a whole
lot from duplicating it.
2013-10-04 13:29:35 +02:00
Ms2ger
2f7a94dd23
Bug 912099 - Part a: Make sure CPP_SOURCES only points to existing files in most of the tree; r=mshal
2013-10-03 09:10:00 +02:00
Ms2ger
9d5ce8dfb7
Bug 922268 - Remove empty makefiles; r=gps
2013-10-03 09:10:00 +02:00
Ms2ger
f2703ebd89
Bug 898559 - Followup: Add back accidentally removed failure handling; r=bholley
2013-10-03 09:09:59 +02:00
Martijn Wargers
3ee6d7d7f3
Bug 922008 - Remove more enablePrivilege calls, part2. r=jmaher
2013-09-30 11:30:01 +02:00
Nicholas Nethercote
5bcfb5698f
Bug 921954 - Clean up type inference memory reporting. r=bhackett.
...
--HG--
extra : rebase_source : a3c640921882a997017b1cddca189f5b3217a88e
2013-09-30 16:20:33 -07:00
Ryan VanderMeulen
2a773817b4
Merge m-c to inbound.
2013-09-30 16:51:06 -04:00
Ryan VanderMeulen
e5b66a5e17
Merge m-c to b2g-inbound.
2013-09-30 16:30:26 -04:00
Benjamin Smedberg
9c04bbbd45
Bug 920695 part B - Remove references to JS_READLINE/EDITLINE since its in a different place now and won't work, r=bholley
...
--HG--
rename : js/xpconnect/shell/xpcshell.cpp => js/xpconnect/src/XPCShellImpl.cpp
extra : rebase_source : 01b0eb2d04a41fbc47f06c5030d730ae3e9323e2
2013-09-30 16:09:28 -04:00
Benjamin Smedberg
13993a098f
Bug 920695 part A - move xpcshell code into libxul and make the xpcshell binary just a stub, r=bholley
...
--HG--
rename : js/xpconnect/shell/xpcshell.cpp => js/xpconnect/src/XPCShellImpl.cpp
rename : js/xpconnect/shell/jsshell.msg => js/xpconnect/src/jsshell.msg
extra : rebase_source : 9a2ab7508e3cb7a6bfec6b1e98f49799221d1376
2013-09-30 16:09:28 -04:00
Gregory Szorc
f0bcf1241b
Bug 920223 - Part 3: Mass convert MOCHITEST_BROWSER_FILES to manifests; rs=Ms2ger
2013-09-30 09:52:06 +02:00
Gregory Szorc
89c902c7b2
Bug 920223 - Part 2: Mass convert MOCHITEST_CHROME_FILES to manifests; rs=Ms2ger
2013-09-30 09:52:01 +02:00
Boris Zbarsky
03a8251b92
Bug 906166. Make sure to initialize the "succeeded" outparam of XPC_WN_Helper_DelProperty. r=bholley
2013-09-30 10:31:30 -04:00
Gregory Szorc
c44d9c8614
Bug 920223 - Part 1: Mass convert MOCHITEST_FILES to manifests; rs=Ms2ger
2013-09-30 09:51:57 +02:00
Ed Morley
eae8f15a4a
Backed out changeset 77bff106b704 (bug 920223)
2013-09-30 12:50:12 +01:00
Ed Morley
74e3d6ce30
Backed out changeset 68b6b152f51a (bug 920223)
2013-09-30 12:50:09 +01:00
Ed Morley
5e3c678fac
Backed out changeset 8b02873ee07e (bug 920223)
2013-09-30 12:50:05 +01:00
Gregory Szorc
18c2c27094
Bug 920223 - Part 3: Mass convert MOCHITEST_BROWSER_FILES to manifests; rs=Ms2ger
2013-09-30 09:52:06 +02:00
Gregory Szorc
47e946bebe
Bug 920223 - Part 2: Mass convert MOCHITEST_CHROME_FILES to manifests; rs=Ms2ger
2013-09-30 09:52:01 +02:00
Gregory Szorc
3d0a157ac2
Bug 920223 - Part 1: Mass convert MOCHITEST_FILES to manifests; rs=Ms2ger
2013-09-30 09:51:57 +02:00
Reuben Morais
ed748e4a00
Backed out 8 changesets (bug 916267, bug 850430) for mochitest failures
2013-09-30 01:44:06 -03:00
Reuben Morais
4b25997198
Bug 916267 - Remove XPIDL for MozContactChangeEvent. r=smaug
2013-09-29 22:22:43 -03:00
Andrew McCreight
23fcdadf9b
Bug 915488 - Make CC participant's Root, Unroot and Unlink methods infallible. r=smaug
2013-09-11 18:57:53 -07:00
Jan Varga
23ce3971fb
Bug 832883 - Move IDBKeyRange to WebIDL and define indexedDB/IDBKeyRange in all the spots. r=khuey,bent (initial work done by Ms2ger)
2013-09-28 13:25:46 +02:00
Jan de Mooij
98e98fedfa
Bug 915763 - Remove TypeScript::dynamicList and dynamic Monitor functions. r=bhackett
2013-09-28 11:45:21 +02:00
Bobby Holley
9b45a35973
Bug 920553 - Introduce Cu.importGlobalProperties API. r=gabor
2013-09-27 18:34:25 +02:00
Bobby Holley
3dbfa793ab
Bug 920553 - Make GlobalProperties::Parse follow JSAPI exception convention. r=gabor
...
Anything that returns false should set an exception unless either (a) the
failure resulted from another JSAPI call that would have set an exception or
(b) the failure indicates OOM.
2013-09-27 18:34:25 +02:00
Bobby Holley
f51d8eec28
Bug 920553 - Hoist GlobalProperties out of SandboxOptions. r=gabor
2013-09-27 18:34:25 +02:00
Bobby Holley
65af77b3c0
Bug 921399 - Fix memory leak. r=gabor
2013-09-27 18:34:24 +02:00
Nicholas Nethercote
2d9b5e156d
Bug 920852 (part 4) - Reorder a bunch of stuff. r=till.
...
--HG--
extra : rebase_source : b386abc4bfcdc85fad4071eeb06de2ca83a17bd8
2013-09-25 20:17:19 -07:00
Nicholas Nethercote
5fd123f3a1
Bug 920852 (part 3) - Tweak various things about RuntimeStats. r=till.
...
--HG--
extra : rebase_source : 0748417364e0b8be25846f573d93fc657b228d19
2013-09-24 23:24:29 -07:00
Nicholas Nethercote
19db4d0520
Bug 920852 (part 2) - Rename fields of ZoneStatsPod and StringInfo to match memory reporter paths. r=till.
...
--HG--
extra : rebase_source : d67dc7deedee6213f640ca2ae31a959b66d8d64e
2013-09-24 23:24:28 -07:00
Nicholas Nethercote
7d3e82240b
Bug 920852 (part 1) - Rename fields of ObjectsExtraSizes and CompartmentStats to match memory reporter paths. r=till.
...
--HG--
extra : rebase_source : 0f55dd20e69d3410d0cb811529f53570f588cc5e
2013-09-24 23:24:28 -07:00
Ben Turner
fcdca3203a
Bug 920179 - 'Add resolve hook for IndexedDB constructors on non-window globals'. r=bholley.
...
--HG--
extra : transplant_source : %05%A0%9Av%A5%14%09%B1%3B%9E2%0B%80%CD%EA%F8%A8%D6%A4t
2013-09-25 16:10:57 -07:00
Ryan VanderMeulen
85b2edc046
Backed out 3 changesets (bug 920179, bug 920633, bug 920800) for Windows |make package| crashes on a CLOSED TREE.
...
Backed out changeset bb0041643a0f (bug 920800)
Backed out changeset 24818d9b7470 (bug 920633)
Backed out changeset d49b0f47b05a (bug 920179)
2013-09-26 14:22:43 -04:00
Ben Turner
5445873afd
Bug 920179 - 'Add resolve hook for IndexedDB constructors on non-window globals'. r=bholley.
...
--HG--
extra : transplant_source : 77%C6F%3FlL%0F%C2%DE36.%5DA%0D%F6H%0B%24
2013-09-25 16:10:57 -07:00
Nicholas Nethercote
a5d55e1483
Bug 919889 (part 4) - Assorted minor clean-ups. r=luke.
2013-09-24 23:24:28 -07:00
Nicholas Nethercote
20426ed4ad
Bug 919889 (part 3) - Move the private_ field out of ObjectsExtraSizes. r=luke.
2013-09-24 23:24:28 -07:00
Nicholas Nethercote
1cdfcceb25
Bug 920818 (part 2) - Remove dead EXPORT_XPC_API -D constant. r=glandium.
...
--HG--
extra : rebase_source : c3d2776c68f3ea207d93d9e7575b51976f298c31
2013-09-25 19:49:07 -07:00
Nicholas Nethercote
afb2c845ab
Bug 920818 (part 1) - Remove dead JSFILE -D constant. r=glandium.
...
--HG--
extra : rebase_source : 6979db199a850f38e07349fad08c9c00a6a83fde
2013-09-25 19:47:58 -07:00
Nicholas Nethercote
9c1dfff707
Bug 913260 (part 4) - Use distinguished amounts for all the memory measurements done by telemetry. r=mccr8.
...
CLOSED TREE
2013-09-19 15:52:30 -07:00
Nicholas Nethercote
e670fcccd8
Bug 913260 (part 3) - Formalize the concept of "distinguished amounts" in the memory reporter manager. r=mccr8.
2013-09-19 15:52:28 -07:00
Phil Ringnalda
f2d9988dbb
Backed out 3 changesets (bug 913260)
...
CLOSED TREE
Backed out changeset 9195be8a50cb (bug 913260)
Backed out changeset 09c71a3e7b85 (bug 913260)
Backed out changeset 8a8691a26012 (bug 913260)
2013-09-24 20:31:00 -07:00
Bobby Holley
7d352bf1c1
Bug 916945 - Tests. r=bz
2013-09-24 19:02:56 -07:00
Nicholas Nethercote
6a709f70b8
Bug 913260 (part 4) - Use distinguished amounts for all the memory measurements done by telemetry. r=mccr8.
...
--HG--
extra : rebase_source : 0e9db51b137770ba7db15a99a4ec1e87071d2f47
2013-09-19 15:52:30 -07:00
Nicholas Nethercote
8bd7f32128
Bug 913260 (part 3) - Formalize the concept of "distinguished amounts" in the memory reporter manager. r=mccr8.
...
--HG--
extra : rebase_source : cc6f50d85f384ed665d44b2e8850618fd8a56fa5
2013-09-19 15:52:28 -07:00
Dan Gohman
a08337eb0c
Bug 918023 - SpiderMonkey: Const-qualify various static variables. r=njn
2013-09-24 08:21:22 -07:00
Gregory Szorc
160a20817c
Bug 901990 - Part 2: Upgrade xpcshell manifests; r=ted
...
--HG--
rename : toolkit/mozapps/extensions/test/xpcshell-unpack/head_unpack.js => toolkit/mozapps/extensions/test/xpcshell/head_unpack.js
2013-09-24 11:50:08 -07:00
Ryan VanderMeulen
9fa464d752
Backed out changeset 2c3d1c9241d7 (bug 918023) for Windows debug TestEndian failures.
...
CLOSED TREE
2013-09-24 14:09:15 -04:00
Dan Gohman
f4b8189f4a
Bug 918023 - SpiderMonkey: Const-qualify various static variables. r=njn
2013-09-24 08:21:22 -07:00
Bobby Holley
497e849a07
Bug 915613 - Introduce a mechanism to get a default context for a runtime, and use that in js-ctypes. r=jorendorff
...
This causes us to use the SafeJSContext on main thread, and the singleton
JSContext on workers. I opted for the slightly-heavier-weight dynamic callback,
rather than just setting it as a member on the runtime, because we like to delay
the creation of the SafeJSContext a bit, so I didn't want to spin it up right
when we spin up the runtime.
2013-09-24 08:03:23 -07:00
Masayuki Nakano
835a1fca99
Bug 912956 part.3 Create mozilla/BasicEvents.h r=roc
2013-09-24 19:04:14 +09:00