Commit Graph

2592 Commits

Author SHA1 Message Date
Andrew McCreight
ccacde7823 Backed out changeset 365053e73efa for build bustage on this CLOSED TREE. 2013-08-27 09:54:01 -07:00
Andrew McCreight
f74cd40dfd Bug 904826 - Remove some unneeded nsLayoutStatics calls. r=smaug 2013-08-20 14:19:33 -07:00
Mike Hordecki
368c68a39e Bug 908918 - Fix an XPConnect typo. r=bholley 2013-08-26 11:28:26 -04:00
Geoff Brown
220e4a5f85 Bug 865006 - (4) Add more xpcshell tests for android; r=jmaher 2013-08-25 10:58:31 -06:00
Boris Zbarsky
f80a9893ef Bug 908576 part 6. Expose just a NativePropertyHooks pointer, not the object itself, so we can forward-declare it in bindings headers. r=smaug 2013-08-23 22:42:41 -04:00
Boris Zbarsky
b89190851a Bug 908530 part 3. Stop including xpcpublic.h in DOMJSProxyHandler.h. r=khuey 2013-08-23 22:42:40 -04:00
Boris Zbarsky
7da23c2946 Bug 908530 part 2. Fix all the places that are bootlegging things (esp nsIURI) via xpcpublic.h. r=khuey 2013-08-23 22:42:40 -04:00
Boris Zbarsky
253a8c8d80 Bug 908351. Stop over-including DOMJSClass.h, so we don't rebuild as much when PrototypeList.h changes. We do this by factoring out the slot macros into a separate header and including that. r=khuey 2013-08-23 22:42:39 -04:00
Gabor Krizsanits
73d41a24b4 Bug 886237 - follow-up part2: Comment formatting in sandbox.cpp. r=bholley 2013-08-23 09:56:03 +02:00
Gabor Krizsanits
be6a2be548 Bug 886237 - follow-up part1: Moving Sandbox/XPCComponents helpers into namespace xpc. r=bholley 2013-08-23 09:55:47 +02:00
Kyle Huey
450b0c5f42 Bug 903772: Part 9 - Use a different class in the weakmap test now that the implementation of TextDecoder has changed. r=peterv 2013-08-22 22:17:10 -07:00
Kyle Huey
8edf4de9ad Bug 903772: Part 4 - Harmonize main thread and worker dictionary implementations. r=peterv 2013-08-22 22:17:09 -07:00
Kyle Huey
de0ee30e74 Bug 903772: Part 3 - Refactor GlobalObject. r=peterv 2013-08-22 22:17:08 -07:00
Nicholas Nethercote
d208a00ee8 Bug 905017 (part 3, attempt 2) - Move profiling stack stuff from jsapi.h to js/ProfilingStack.h. r=billm.
--HG--
extra : rebase_source : 8226a31c4f2a286ba843da616b1061ca034a5d41
2013-08-19 23:45:26 -07:00
Nicholas Nethercote
9ce6c39a8f Bug 905017 (part 2, attempt 2) - Move structured clone stuff from jsapi.{h,cpp} and jsclone.{h,cpp} to js/StructuredClone.{h,cpp}. r=billm.
--HG--
rename : js/src/jsclone.cpp => js/src/vm/StructuredClone.cpp
extra : rebase_source : 2699588c63ef58ab84bc8c63adc0487648af3834
2013-08-19 23:43:47 -07:00
Bobby Holley
4e5093e6fa Bug 903891 - Default the iid to nsISupports in NativeInterface2JSObject, and assert |Interface| when getting an XPCWrappedNative. r=mrbkap 2013-08-22 15:51:35 -07:00
Bobby Holley
222832d3b4 Bug 891891 - Print diagnostics when an XPCWrappedJS is QI-ed off-main-thread. r=mrbkap
Let's try to figure out which XPCWrappedJS is causing this. I've filed a reminder
for myself to back this out by sept 3.
2013-08-22 12:40:29 -07:00
Gabor Krizsanits
56184ed022 Bug 886237 - Splitting up XPCComponents. r=bholley 2013-08-22 08:26:37 +02:00
Ms2ger
8bfa279bb1 Merge m-c to inbound 2013-08-22 10:38:48 +02:00
Ms2ger
87ae95251c Merge PGO-green changeset from inbound to m-c. 2013-08-22 10:31:44 +02:00
Ms2ger
f79ae70d10 Backout changesets 7e6fb33fdf22:c85332df4320 (bug 905017) for windows bustage. 2013-08-22 10:16:30 +02:00
Ms2ger
4922ccbc0a Bug 904831 - Part b: Move unconditional MSVC_ENABLE_PGO definitions into moz.build; r=gps 2013-08-22 08:56:01 +02:00
Ms2ger
dba42e4001 Bug 883284 - Part d: Move LIBXUL_LIBRARY into moz.build (f-j); r=bsmedberg 2013-08-22 08:56:00 +02:00
Ms2ger
4d968c40e1 Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps 2013-08-22 08:55:59 +02:00
Ms2ger
3a227519f8 Bug 903796 - Remove remaining traces of GeoPositionError; r=jst 2013-08-22 08:30:28 +02:00
Bobby Holley
ab06fa04af Bug 907508 - Provide a mechanism for adding extra slots for XPConnect globals. r=bz
mhordecki needs this in bug 898559.
2013-08-20 21:21:01 -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
137154e93e Bug 907508 - Drop the number of slots on XPConnect globals from 2 to 1. r=bz
In the old world, XPConnect globals had one reserved slot, which was used to
store a private pointer to the XPCWrappedNativeScope.

Then, in the new DOM bindings landing (bug 740069), we added two slots, one
for DOM_GLOBAL_OBJECT_SLOT, and one for DOM_PROTOTYPE_SLOT.

Then, in bug 761707, we removed DOM_GLOBAL_OBJECT_SLOT, but the slot count
remained at 3.

Then, in bug 797821, we stopped storing the XPCWrappedNativeScope in the slot
on the global, and dropped the XPConnect global count from 3 to 2.

Given the above, we can safely drop it to 1, here. It's easy to check that
this is correct, because reserved slots for globals have a different offset,
which is JSCLASS_GLOBAL_SLOT_COUNT. And according to mxr, the only thing
defined in terms of that is DOM_PROTOTYPE_SLOT (which takes the same value).
This means that all subsequent slots on the global are unused.
2013-08-20 21:21:00 -07:00
Nicholas Nethercote
c8e2369441 Bug 905017 (part 3) - Move profiling stack stuff from jsapi.h to js/ProfilingStack.h. r=billm.
--HG--
extra : rebase_source : 8322f1c96b95685912375484172d47f53107947f
2013-08-19 23:45:26 -07:00
Ms2ger
6004ebc69f Backout changeset b43d38c5c456 for build bustage. 2013-08-22 09:00:37 +02:00
Andrew McCreight
ff5720d8c6 Bug 614238 - Dynamically check that classes QI to their own participant. r=smaug 2013-08-19 13:49:58 -07:00
Gabor Krizsanits
f64006605c Bug 886237 - Splitting up XPCComponents. r=bholley 2013-08-22 08:26:37 +02:00
Nicholas Nethercote
42ccf38dcd Bug 905017 (part 1) - Minimize inclusions of JS engine headers in .h and .idl files. r=billm.
--HG--
extra : rebase_source : 984c61ab12f46be0509b1ce0d458d9a6e5841c64
2013-08-17 15:50:18 -07:00
Wes Kocher
5c4403a824 Backed out changeset cfecdf10dcba (bug 614238) for b2g debug bustage on a CLOSED TREE 2013-08-20 15:47:28 -07:00
Andrew McCreight
9bccf9d325 Bug 614238 - Dynamically check that classes QI to their own participant. r=smaug 2013-08-19 13:49:58 -07:00
Andrew McCreight
eb231a60ec Bug 886176 - Clean up XPCWN's participant. r=smaug 2013-08-19 10:04:03 -07:00
Ted Mielczarek
bcb2ff226d bug 842728 - init Breakpad from C++ in xpcshell, remove ability to init from script. r=bholley,gps 2013-08-15 14:48:12 -04:00
Masatoshi Kimura
431087ee79 Bug 856424 - Unpref Components for content. r=bholley 2013-08-20 02:44:31 +09:00
Gabor Krizsanits
5861d82dd2 Bug 877673 - Part2: Export helpers for sandbox. r=bholley 2013-08-19 11:46:36 +02:00
Phil Ringnalda
5ce9f052f8 Back out c39d60483813 (bug 905364) for xpcshell and b2g desktop bustage 2013-08-16 22:38:48 -07:00
Bobby Holley
1079a53da6 Bug 905364 - Stop using the SafeJSContext in nsScriptSecurityManager::Init. r=mrbkap
With this patch, I've confirmed that we instantiate the SafeJSContext much later
in startup, during nsAppStartupNotifier::Observe (which ends up invoking an
XPCWrappedJS). As such, this should solve a number of our startup ordering woes.
2013-08-16 20:28:17 -07:00
Luke Wagner
d781c80896 Bug 902506 - OdinMonkey: fix/enhance asm.js memory reporting (r=njn)
--HG--
extra : rebase_source : eafb0f56e7ed851e2e62a2ba908e63ea273c1c77
2013-08-08 21:38:42 -05:00
Tom Schuster
991ead8d61 Bug 884410 - Remove JS_ValueToECMAInt32 and replace it with JS::ToInt32. r=terrence 2013-08-15 17:41:51 -04:00
Andrew McCreight
2a9c479be7 Bug 902607 - Removed unused functions in nsXPConnect. r=bholley 2013-08-09 10:31:07 -07:00
Nikhil Marathe
eec9663dcd Bug 906080 - Assert main thread in isChromeOrXBL(). r=khuey
--HG--
extra : rebase_source : e3cebe6ad88ce7f418501365efdca2cf72dfff83
2013-08-16 09:14:40 -07:00
Ehsan Akhgari
fcb950e309 Backed out changeset 3d9664b78ca7 (bug 884410) because of build bustage on a CLOSED TREE 2013-08-15 18:20:00 -04:00
Tom Schuster
0cd7a5fca0 Bug 884410 - Remove JS_ValueToECMAInt32 and replace it with JS::ToInt32. r=terrence 2013-08-15 17:41:51 -04:00
Nicholas Nethercote
3d3e2d711a No bug. Fix minor quoting problem in the description of notable string memory reports. r=jlebar.
--HG--
extra : rebase_source : 531d37ec1f9ceb4e0a1ec702243bc934eb0329eb
2013-08-14 15:44:46 -07:00
Gregory Szorc
c089ae373d Bug 850380 - Derecursify and optimize XPIDL processing and move into precompile tier; r=glandium 2013-08-14 08:40:25 -07:00
Ryan VanderMeulen
8b8be2a46a Merge m-c to inbound. 2013-08-14 17:11:30 -04:00