Граф коммитов

2563 Коммитов

Автор SHA1 Сообщение Дата
Andrew McCreight 59208f6acc Bug 614238 - Dynamically check that classes QI to their own participant. r=smaug 2013-08-19 13:49:58 -07:00
Bobby Holley a9ebf59ecb 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 b0be1f6df6 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 b141d5f420 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
Wes Kocher 90c9ce278d Backed out changeset cfecdf10dcba (bug 614238) for b2g debug bustage on a CLOSED TREE 2013-08-20 15:47:28 -07:00
Andrew McCreight 41efd2023b Bug 614238 - Dynamically check that classes QI to their own participant. r=smaug 2013-08-19 13:49:58 -07:00
Andrew McCreight 440d2455eb Bug 886176 - Clean up XPCWN's participant. r=smaug 2013-08-19 10:04:03 -07:00
Ted Mielczarek ca9a717499 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 ad384dbcf6 Bug 856424 - Unpref Components for content. r=bholley 2013-08-20 02:44:31 +09:00
Gabor Krizsanits 5e531c269c Bug 877673 - Part2: Export helpers for sandbox. r=bholley 2013-08-19 11:46:36 +02:00
Phil Ringnalda 72c8f5969c Back out c39d60483813 (bug 905364) for xpcshell and b2g desktop bustage 2013-08-16 22:38:48 -07:00
Bobby Holley 363bb61e01 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 be7de2efa2 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 8812f84312 Bug 884410 - Remove JS_ValueToECMAInt32 and replace it with JS::ToInt32. r=terrence 2013-08-15 17:41:51 -04:00
Andrew McCreight 2f6eb1e77f Bug 902607 - Removed unused functions in nsXPConnect. r=bholley 2013-08-09 10:31:07 -07:00
Nikhil Marathe 8b1dc90725 Bug 906080 - Assert main thread in isChromeOrXBL(). r=khuey
--HG--
extra : rebase_source : e3cebe6ad88ce7f418501365efdca2cf72dfff83
2013-08-16 09:14:40 -07:00
Ehsan Akhgari 1ed269270a Backed out changeset 3d9664b78ca7 (bug 884410) because of build bustage on a CLOSED TREE 2013-08-15 18:20:00 -04:00
Tom Schuster 63f6d15be9 Bug 884410 - Remove JS_ValueToECMAInt32 and replace it with JS::ToInt32. r=terrence 2013-08-15 17:41:51 -04:00
Nicholas Nethercote 9ba5f75ade 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 df453f8483 Bug 850380 - Derecursify and optimize XPIDL processing and move into precompile tier; r=glandium 2013-08-14 08:40:25 -07:00
Ryan VanderMeulen 1c7ba28dbd Merge m-c to inbound. 2013-08-14 17:11:30 -04:00
Bobby Holley 03c1b0ddf4 Bug 903212 - Remove nsIXPCScriptNotify machinery. r=mrbkap 2013-08-14 14:00:03 -07:00
Bobby Holley 0846601377 Bug 903212 - Remove ScriptEvaluated, and simplify callers. r=mrbkap 2013-08-14 14:00:03 -07:00
Bobby Holley 0a570c79b5 Bug 903212 - Add a GC when popping a script entry point. r=mrbkap
I think that this is more or less isomorphic with the MaybeGC we do in
ScriptEvaluated in the cases that matter. And doing it in a spec-defined
place is helpful in getting rid of spec-nonsensical machinery.
2013-08-14 14:00:02 -07:00
Carsten "Tomcat" Book 3f249cd751 merge mozilla-central to b2g-inbound 2013-08-14 15:02:24 +02:00
Ms2ger 30f4e6e119 Merge latest PGO-green inbounc changeset to m-c. 2013-08-14 14:45:47 +02:00
Ms2ger 9d023a67df Bug 904110 - Move alignment features out of Util.h into a new header; r=Waldo 2013-08-14 09:00:52 +02:00
Ms2ger 32b4cafc67 Bug 903849 - Use MOZ_ASSERT consistently in XPConnect; r=bholley 2013-08-14 09:00:34 +02:00
Ms2ger 1a5ae526d9 Bug 901323 - Don't include nsContentUtils.h unnecessarily; r=jlebar 2013-08-14 08:56:21 +02:00
Szu-Yu Chen [:aknow] f82bcc0f60 Bug 887690 - Part 1: Add emergency callback mode support (idl, webidl). r=hsinyi, sr=smaug 2013-08-14 08:48:28 -04:00
Ehsan Akhgari e86e8a41ee Bug 904264 - Don't #include js/MemoryMetrics.h in xpcpublic.h; r=bholley 2013-08-13 13:51:50 -04:00
Kyle Huey 7ea5a68da2 Bug 901630: Remove support for the cc thread. r=mccr8 2013-08-13 10:45:32 -07:00
Ryan VanderMeulen 4d14292521 Backed out 4 changesets (bug 887690) for suspicion of causing frequent mochitest-2 failures.
Backed out changeset 106ae6eee902 (bug 887690)
Backed out changeset e2c72cb029f4 (bug 887690)
Backed out changeset 9eea090ed6f7 (bug 887690)
Backed out changeset 1defeb691f5c (bug 887690)
2013-08-12 19:13:38 -04:00
Ryan VanderMeulen 3f3c3722d8 Merge m-c to b2g-inbound. 2013-08-12 17:44:21 -04:00
Bobby Holley 80de28966e Bug 901364 - Make operation callbacks runtime-wide. r=mrbkap 2013-08-12 12:54:50 -07:00
Bobby Holley 6d6c84d0bf Bug 901364 - Implement a replacement operation callback in XPConnect. r=mrbkap 2013-08-12 12:54:49 -07:00
Jon Coppeard e133b9b2a9 Bug 903352 - Handlify remaining PropertyDescriptor APIs r=terrence r=bholley r=smaug 2013-08-12 12:09:14 +01:00
Ryan VanderMeulen 2a24087a6d Merge m-c to b2g-inbound. 2013-08-12 15:36:24 -04:00
Thomas Zimmermann 37771b0aa4 Bug 888595 - Convert BluetoothDevice to WebIDL. r=bz, r=echou
We keep the old XPIDL files in place to stay compatible with existing
code. They can probably be removed when all bindings have been converted
to WebIDL.
2013-08-12 10:34:28 +02:00
Carsten "Tomcat" Book 996c429895 Backed out changeset 6855c55668a7 (bug 888595) for mochitest oranges 2013-08-12 18:07:32 +02:00
Szu-Yu Chen [:aknow] bc23e1e885 Bug 887690 - Part 1: Add emergency callback mode support (idl, webidl). r=hsinyi, sr=smaug 2013-08-12 08:24:53 -04:00
Carsten "Tomcat" Book 82778372f3 merge mozilla-central to b2g-inbound 2013-08-12 11:52:02 +02:00
Thomas Zimmermann 32bbdfba58 Bug 888595: Converted BluetoothDevice to WebIDL, r=bzbarsky,echou
We keep the old XPIDL files in place to stay compatible with existing
code. They can probably be removed when all bindings have been converted
to WebIDL.

--HG--
extra : rebase_source : b6612fbd237d89bd02a2fde34e121691be3c0f08
2013-08-12 10:34:28 +02:00
Ryan VanderMeulen febf24bb96 Merge inbound to m-c. 2013-08-09 19:08:45 -04:00
Ryan VanderMeulen f3a8bfda31 Merge m-c to b2g-inbound. 2013-08-08 16:24:53 -04:00
Ryan VanderMeulen fab2c2a3c8 Backed out changesets 1fa1f28c6edf and e74f694f31c4 (bug 850380) for PGO bustage on a CLOSED TREE. 2013-08-14 15:12:20 -04:00
Brian O'Keefe 263f163332 Bug 896177 - Remove more config.mk includes; r=gps 2013-07-17 16:07:14 -04:00
Gregory Szorc d87c91cf0c Bug 850380 - Derecursify and optimize XPIDL processing and move into precompile tier; r=glandium 2013-08-14 08:40:25 -07:00
Ryan VanderMeulen 2ae0ffbbc8 Merge m-c to inbound. 2013-08-09 19:29:45 -04:00
Nicholas Nethercote 5a24325d2f Bug 898263 (part 15) - Remove jsutil.h from EXPORTS. r=jorendorff.
--HG--
extra : rebase_source : 5a835a5229838dfa03d3536cd2a3569344ccadb1
2013-07-26 00:57:03 -07:00