Andrew McCreight
ff5720d8c6
Bug 614238 - Dynamically check that classes QI to their own participant. r=smaug
2013-08-19 13:49:58 -07: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
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
Bobby Holley
2ce8f2d13b
Bug 903212 - Remove nsIXPCScriptNotify machinery. r=mrbkap
2013-08-14 14:00:03 -07:00
Bobby Holley
ecce09df53
Bug 903212 - Remove ScriptEvaluated, and simplify callers. r=mrbkap
2013-08-14 14:00:03 -07:00
Bobby Holley
7282f447c0
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
89b83199da
merge mozilla-central to b2g-inbound
2013-08-14 15:02:24 +02:00
Ms2ger
a04009b5b7
Merge latest PGO-green inbounc changeset to m-c.
2013-08-14 14:45:47 +02:00
Ms2ger
6d567ab3cc
Bug 904110 - Move alignment features out of Util.h into a new header; r=Waldo
2013-08-14 09:00:52 +02:00
Ms2ger
844b7ec109
Bug 903849 - Use MOZ_ASSERT consistently in XPConnect; r=bholley
2013-08-14 09:00:34 +02:00
Ms2ger
df8525f77d
Bug 901323 - Don't include nsContentUtils.h unnecessarily; r=jlebar
2013-08-14 08:56:21 +02:00
Szu-Yu Chen [:aknow]
f9a712c3b6
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
bbbc0d8b5c
Bug 904264 - Don't #include js/MemoryMetrics.h in xpcpublic.h; r=bholley
2013-08-13 13:51:50 -04:00
Kyle Huey
e9e214aa0e
Bug 901630: Remove support for the cc thread. r=mccr8
2013-08-13 10:45:32 -07:00
Ryan VanderMeulen
1f7ca11ce8
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
a12a9ef1b6
Merge m-c to b2g-inbound.
2013-08-12 17:44:21 -04:00
Bobby Holley
e923703302
Bug 901364 - Make operation callbacks runtime-wide. r=mrbkap
2013-08-12 12:54:50 -07:00
Bobby Holley
2898c52fcd
Bug 901364 - Implement a replacement operation callback in XPConnect. r=mrbkap
2013-08-12 12:54:49 -07:00
Jon Coppeard
11678aa48c
Bug 903352 - Handlify remaining PropertyDescriptor APIs r=terrence r=bholley r=smaug
2013-08-12 12:09:14 +01:00
Ryan VanderMeulen
73ebf67a95
Merge m-c to b2g-inbound.
2013-08-12 15:36:24 -04:00
Thomas Zimmermann
69dd42354a
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
cf01e81083
Backed out changeset 6855c55668a7 (bug 888595) for mochitest oranges
2013-08-12 18:07:32 +02:00
Szu-Yu Chen [:aknow]
18dd1799af
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
e64b974993
merge mozilla-central to b2g-inbound
2013-08-12 11:52:02 +02:00
Thomas Zimmermann
38795b8dfe
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
8afe7e8fed
Merge inbound to m-c.
2013-08-09 19:08:45 -04:00
Ryan VanderMeulen
4bdd6d2653
Merge m-c to b2g-inbound.
2013-08-08 16:24:53 -04:00
Ryan VanderMeulen
64b2bc7dd9
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
3fd496e231
Bug 896177 - Remove more config.mk includes; r=gps
2013-07-17 16:07:14 -04:00
Gregory Szorc
9f99cee9a1
Bug 850380 - Derecursify and optimize XPIDL processing and move into precompile tier; r=glandium
2013-08-14 08:40:25 -07:00
Ryan VanderMeulen
2cb6b07d20
Merge m-c to inbound.
2013-08-09 19:29:45 -04:00
Nicholas Nethercote
f948251e7a
Bug 898263 (part 15) - Remove jsutil.h from EXPORTS. r=jorendorff.
...
--HG--
extra : rebase_source : 5a835a5229838dfa03d3536cd2a3569344ccadb1
2013-07-26 00:57:03 -07:00