Jan Varga
24f8419a8f
Bug 884936 - Add Blob/File support to xpcshell. r=bent
2013-06-21 17:15:46 +02:00
Jan de Mooij
f957967378
Bug 881902 - Remove ContextStack and StackSpace. r=luke,njn
2013-06-21 08:28:06 +02:00
Jon Coppeard
cdf1583b6e
Bug 885310 - 2 Rename JSHandleFoo in js directory r=bholley
2013-06-21 14:12:46 +01:00
Bobby Holley
7a9309f7be
Bug 883450 - Miscellaneous requests. r=gabor
2013-06-20 11:05:34 -07:00
Bobby Holley
b997cd8dc3
Bug 883450 - Remove custom request munging in XPCCallContext and use a JSAutoRequest. r=gabor
2013-06-20 11:05:34 -07:00
Bobby Holley
b3a2a6fb80
Bug 883450 - Unscope the JSAutoRequest in XPCJSContextStack. r=gabor
2013-06-20 11:05:33 -07:00
Bobby Holley
f3f2e9af1f
Bug 883450 - MOZ_CRASH if we fail to spin up the SafeJSContext, and remove error handling. r=gabor
...
There's not a lot we can do without it in the browser these days.
2013-06-20 11:05:33 -07:00
Bobby Holley
b214e9065e
Bug 884245 - Simplify nsContentUtils::GetDocumentFromCaller. r=bz
...
The first three lines of this function are an obvious bug. But the behavior in
general is also worrisome, because it's using antiquated XPConnect machinery
that will be less and less correct as we move to the new DOM bindings. Let's
just infer our global from the active compartment.
2013-06-20 11:05:32 -07:00
Olli Pettay
75377b423a
Bug 884296 - Remove the rest of the classinfos for DOM events, r=peterv
...
--HG--
extra : rebase_source : 9b397e2e19e8e15d2753dc5bf7c18e2b3147f92b
2013-06-20 17:13:52 +03:00
Ed Morley
cf5b96d1e9
Merge mozilla-central and inbound
2013-06-20 09:20:10 +01:00
Ed Morley
4e0a681101
Merge latest green birch changeset and mozilla-central
2013-06-20 09:01:19 +01:00
Gregor Wagner
944367b7e8
Bug 885025 - B2G: Add missing request in mozJSComponentLoader::UnloadModules. r=khuey
2013-06-19 21:09:48 -04:00
Brian O'Keefe
ed17339221
Bug 875934 - Move LIBRARY_NAME to moz.build (batch #1 ); r=mshal
...
--HG--
extra : rebase_source : 385d3fd65475ffc18ee44ae088753649470e214b
2013-06-17 15:21:01 -04:00
L. David Baron
c906c85901
Fix XPC_DUMP_AT_SHUTDOWN bustage from Bug 882162 Part 1 (changeset efb0b493cc21).
2013-06-19 16:55:06 -07:00
Kyle Huey
c696ced296
Bug 882893: Move observer notifications out of the cycle collector and into the runtime. r=smaug
2013-06-19 14:06:50 -07:00
Terrence Cole
3234462fbc
Bug 884410 - Handlify the JS_EnumerateStandardClasses interface; r=jonco
...
--HG--
extra : rebase_source : b111de82bde762c2d34897bd7e65c55cd239e0df
2013-06-13 17:10:00 -07:00
Terrence Cole
066e7ee97b
Bug 884410 - Handlify the JS_ResolveStandardClass interface; r=jonco
...
--HG--
extra : rebase_source : 3ba45931aad97fb7cbca517ae9bccb974d42e57a
2013-06-13 17:10:00 -07:00
Terrence Cole
075d331390
Bug 884410 - Handlify the JS_TransplantObject interfaces; r=jonco
...
--HG--
extra : rebase_source : f1c2adc7380e5806ce6b4fce5bb41f9400b9e1b1
2013-06-13 17:09:55 -07:00
Boris Zbarsky
919f238e96
Bug 884401. Remove the hasXPConnectImpls annotations for HTMLElement, Element, and Node in WebIDL bindings, since all those are gone. r=peterv
2013-06-19 14:48:43 -04:00
Andrea Marchesini
cac6aa669b
Bug 841442 - Move HTMLFormElement to WebIDL, r=bz
2013-06-19 10:24:37 -04:00
Andrea Marchesini
dc9752fc49
Bug 841442 - Rename nsHTMLFormElement to HTMLFormElement
...
--HG--
rename : content/html/content/src/nsHTMLFormElement.cpp => content/html/content/src/HTMLFormElement.cpp
rename : content/html/content/src/nsHTMLFormElement.h => content/html/content/src/HTMLFormElement.h
2013-06-19 10:24:37 -04:00
Jon Coppeard
fb1219b24e
Bug 884371 - Remove JSMutableHandleXXX from the js directory r=bholley
2013-06-19 11:32:27 +01:00
Ryan VanderMeulen
6e172126b6
Merge cypress and inbound.
2013-06-18 18:15:53 -04:00
Kyle Huey
48d0d710c8
Bug 882162: Part 11 - Push the final uses of mJSHolders down into mozilla::CycleCollectedJSRuntime and make it private. r=mccr8
2013-06-18 12:02:16 -07:00
Kyle Huey
b2eb672ede
Bug 882162: Part 10 - Add a hook for tracing black JS and update the big comment to more accurately describe how this works. r=mccr8
2013-06-18 12:02:16 -07:00
Kyle Huey
1b8071cf87
Bug 882162: Part 9 - Kill nsCycleCollectionJSRuntime. r=mccr8
2013-06-18 12:02:16 -07:00
Kyle Huey
67e8082658
Bug 882162: Part 8 - Move the rest of nsCycleCollectionJSRuntime's implementation into mozilla::CycleCollectedJSRuntime. r=mccr8
2013-06-18 12:02:16 -07:00
Kyle Huey
9863cf7d37
Bug 882162: Part 7 - Move tracing of gray roots into mozilla::CycleCollectedJSRuntime. r=mccr8
2013-06-18 12:02:15 -07:00
Kyle Huey
24678967c5
Bug 882162: Part 6 - Move the runtime and zone CC participants into mozilla::CycleCollectedJSRuntime. r=mccr8
2013-06-18 12:02:15 -07:00
Kyle Huey
9ca4ebe0b0
Bug 882162: Part 5 - Move most of nsCycleCollectionJSRuntime's implementation into mozilla::CycleCollectedJSRuntime. r=mccr8
2013-06-18 12:02:15 -07:00
Kyle Huey
3df573da7b
Bug 882162: Part 4 - Push tracing of global objects down into mozilla::CycleCollectedJSRuntime. r=mccr8
2013-06-18 12:02:15 -07:00
Kyle Huey
7530b2b62d
Bug 882162: Part 3 - Replace GetJSRuntime() with just Runtime(). r=mccr8
2013-06-18 12:02:15 -07:00
Kyle Huey
c5d2a3de07
Bug 882162: Part 2 - Begin to push mJSHolders down into mozilla::CycleCollectedJSRuntime. r=mccr8
2013-06-18 12:02:14 -07:00
Kyle Huey
ab9a17c350
Bug 882162: Part 1 - Create a mozilla::CycleCollectedJSRuntime class. r=mccr8,bholley
2013-06-18 12:02:07 -07:00
Kyle Huey
d91ec7682b
Bug 877584: Route JS holding through the cycle collection runtime so it can do different things on different threads. r=mccr8
2013-06-18 12:01:26 -07:00
Jon Coppeard
c43484e0e2
Bug 877762 - GC: Post-barrier cycle collector participants - 7 Convert most JSObect to use Heap<T> (ex. XBL) r=bz
2013-06-18 11:00:38 +01:00
Jon Coppeard
c1b9a0f0bd
Bug 877762 - GC: Post-barrier cycle collector participants - 6 Convert jsid and JS::String to use Heap<T> r=smaug
2013-06-18 11:00:38 +01:00
Jon Coppeard
7bcacd601c
Bug 877762 - GC: Post-barrier cycle collector participants - 5 Convert JS::Value to use Heap<T> r=smaug
2013-06-18 11:00:37 +01:00
Jon Coppeard
ab74ea727b
Bug 877762 - GC: Post-barrier cycle collector participants - 4 Convert JSScript* to use Heap<T> r=smaug
2013-06-18 11:00:37 +01:00
Olli Pettay
ce64a01652
Bug 847611 - Paris bindings for autogenerated events, r=peterv
2013-06-18 21:48:45 +03:00
Dan Gohman
55d23f9696
Bug 883574 - Add const qualifiers to variables and pointers in the JS tree. r=evilpies
2013-06-17 18:31:47 -07:00
Nicholas Nethercote
a43808353f
Bug 884649 (part 1) - Used PLDHash instead of JSDHash in xpconnect. r=mccr8.
...
--HG--
extra : rebase_source : 7a206a6dfba19d8678ef9aee7517b4833c2a4f00
2013-06-19 16:15:21 -07:00
Boris Zbarsky
cf49b7e92e
Bug 882653 part 3. Make the "does not implement interface" error reporting better in WebIDL bindings. r=smaug
2013-06-17 13:07:03 -04:00
Nils Maier
82984fe6e0
Bug 846019 - Part 2: Prefix memory reports with add-on ids. r=njn
2013-06-14 22:48:28 -04:00
Peter Van der Beken
1ad10a867b
Bug 851465 - Remove slim wrappers - rename WRAPPER_MULTISLOT. r=bholley.
2013-06-13 16:55:40 +02:00
Peter Van der Beken
ef9e24aa33
Bug 851465 - Remove slim wrappers - remove slim wrapper macros and rename WN macros. r=bholley.
2013-04-19 21:58:30 +02:00
Peter Van der Beken
7d1069ede0
Bug 851465 - Remove slim wrappers - whitespace changes. r=bholley.
2013-04-19 21:58:26 +02:00
Peter Van der Beken
70822c5a47
Bug 851465 - Remove slim wrappers - remove slim wrapper proto code and logging code. r=bholley.
2013-04-19 21:58:26 +02:00
Peter Van der Beken
cffa62184d
Bug 851465 - Remove slim wrappers - remove various slim wrapper code and checks. r=bholley.
2013-04-19 21:57:18 +02:00
Peter Van der Beken
ed705d5d38
Bug 851465 - Remove slim wrappers - stop morphing slim wrappers. r=bholley.
2013-04-19 21:57:15 +02:00
Peter Van der Beken
8cd1dfca20
Bug 851465 - Remove slim wrappers - stop constructing slim wrappers. r=bholley.
2013-03-25 11:36:24 +01:00
Edgar Chen
c846841173
Bug 860585 - Part 1: Move cardLock API from mozMobileConnection to mozIccManager (IDL). r=allstars.chh. sr=sicking
...
--HG--
rename : dom/icc/interfaces/nsIDOMICCCardLockErrorEvent.idl => dom/icc/interfaces/nsIDOMIccCardLockErrorEvent.idl
2013-04-11 11:19:36 +08:00
Boris Zbarsky
65c0969f7c
Bug 880367 part 1. Change the "enabled" callback for WebIDL constructors to take a JSContext* and the object the constructor will be defined on. r=smaug,bholley
2013-06-13 01:12:26 -04:00
Nicholas Nethercote
5c0a0c7f4f
Bug 882520 - Two minor tweaks to the memory reporting paths. r=bhackett.
...
--HG--
extra : rebase_source : b6176cd0b0314c2216ccc79f76a34fd558876092
2013-06-12 20:14:52 -07:00
Bobby Holley
302ad9de7c
Bug 881517 - Remove mPrototypeNoHelper machinery. r=mrbkap
...
The comments surrounding it don't make any sense to me, and most likely applied
to a pre-CPG world.
2013-06-12 14:10:54 -07:00
Bobby Holley
bc3880cc53
Bug 881517 - Just use Object.prototype for vanilla XPCWNs. r=mrbkap
2013-06-12 14:10:53 -07:00
Andrea Marchesini
0abf71d713
Bug 856410 - Implement futures - Part 2: Future.then() and Future.catch(). r=mounir, r=bz, r=smaug
2013-06-11 21:41:22 -04:00
Ed Morley
aa048e78a3
Merge mozilla-central and inbound
2013-06-12 08:41:06 +01:00
Ms2ger
43b0a494b4
Bug 881358 - Kill build warnings in XPConnect; r=bholley
2013-06-12 09:00:09 +02:00
Ryan VanderMeulen
79cab24538
Backed out changeset 1df122edcf0d (bug 823978) for bustage (again).
...
CLOSED TREE (again)
2013-06-11 15:27:46 -04:00
Benjamin Peterson
ad3fb45421
Bug 823978 - Rename JSOPTION_STRICT to JSOPTION_EXTRA_WARNINGS. r=Waldo
...
--HG--
extra : rebase_source : 1396c8ec5bd99ab35343cfff2b87d22955671243
2013-06-11 11:30:18 -07:00
Phil Ringnalda
10c5964711
Back out 2ccb9ec11a9f:d27ecea31590 (bug 856410) for b2g mochitest-3 failures
...
CLOSED TREE
2013-06-11 21:24:56 -07:00
Andrea Marchesini
cb935c984c
Bug 856410 - Implement futures - Part 2: Future.then() and Future.catch(). r=mounir, r=bz, r=smaug
2013-06-11 21:41:22 -04:00
Ryan VanderMeulen
911f19ec09
Backed out changeset 7e69e102a432 (bug 823978) for bustage.
...
CLOSED TREE
2013-06-11 14:28:17 -04:00
Benjamin Peterson
bf9614501d
Bug 823978 - Rename JSOPTION_STRICT to JSOPTION_EXTRA_WARNINGS. r=Waldo
...
--HG--
extra : rebase_source : f5c0e9c743dadb0431eacef6b46b6e274264d3aa
2013-06-11 10:55:21 -07:00
Ed Morley
64b2bc1c50
Merge mozilla-central and inbound
2013-06-11 16:24:51 +01:00
Ed Morley
71b7df3bfd
Backed out changeset 2864e2610800 (bug 877584) for causing bug 881266
2013-06-11 16:11:14 +01:00
Ed Morley
f5d357a991
Backed out changeset 94fb66d82988 (bug 877584)
2013-06-11 16:10:51 +01:00
Kyle Huey
3329670a4b
Bug 877584: Add missing #ifdef DEBUG. r=me
2013-06-09 16:08:19 -07:00
Kyle Huey
756f02ce3d
Bug 877584: Route JS holding through the cycle collection runtime so it can do different things on different threads. r=mccr8
2013-06-09 16:02:02 -07:00
Bobby Holley
a0507f61d6
Bug 770840 - Add Runtime aborts when using XPCWrappedJS off-main-thread. v2
2013-04-12 15:35:00 -04:00
Bobby Holley
360f1a1f1e
Bug 770840 - Remove XPConnect test that explicitly runs JS on a seperate thread. v1
2013-04-12 15:34:00 -04:00
Gabor Krizsanits
08c61f7f29
Bug 877760 - XPConnect always logs an error when a component doesn't implement a method. r=mrbkap
2013-06-11 12:01:33 +02:00
Terrence Cole
6df78c5573
Bug 880392 - Fix use-after free with exact rooting in XPCShell; r=sfink
...
--HG--
extra : rebase_source : a509e84b7165b8a40f4a06e006dfc614665eef2c
2013-06-07 11:34:57 -07:00
Arnaud Sourioux
a5d79837b1
Bug 880089 - Remove unused parameter 'flags' from nsIXPConnect.idl's in setDefaultSecurityManager() methods correctly. r=bholley
2013-06-07 08:40:56 -04:00
Kyle Huey
86d6d2b6ae
Back out bug 877584 on this CLOSED TREE.
2013-06-06 10:49:09 -07:00
Kyle Huey
0c7597e1cb
Bug 877584: Route JS holding through the cycle collection runtime so it can do different things on different threads. r=mccr8
2013-06-06 10:23:45 -07:00
Peter Van der Beken
0e0cb23737
Bug 877654 - Remove thisptr offset tables - Remove thisptr table support from XPConnect. r=Ms2ger.
...
--HG--
extra : rebase_source : 9f333a76ba13b518e3a33a230adcdd154606fa1a
2013-05-21 21:59:30 +02:00
Daniel Holbert
984ba95807
Bug 880078: Remove no-longer-used variable 'secFlag' from XPCWrappedNative::CallMethod. r=bholley
2013-06-06 00:27:16 -07:00
Bobby Holley
a28e914d2c
Bug 877261 - Fold XPCCallContext::Init into XPCCallContext::XPCCallContext. r=Ms2ger
...
The large block is a simple move.
2013-06-04 21:11:21 -07:00
Bobby Holley
106481e316
Bug 877261 - Remove WrapperInitOptions. r=Ms2ger
...
Now that we don't have the separate path for initialization from an
XPCLazyCallContext, this stuff can be simplified. We get rid of Init entirely
in the next patch.
2013-06-04 21:11:21 -07:00
Bobby Holley
79e154981a
Bug 877261 - Kill XPCLazyCallContext. r=Ms2ger
...
\o/
2013-06-04 21:11:21 -07:00
Bobby Holley
9ab7c2d38c
Bug 877261 - Remove XPCLazyCallContext from Quickstubs. r=Ms2ger
...
There are a number of places where quickstubs does a scary-looking call to
lccx->SetWrapper. However, the lccx never gets morphed into a ccx, nor does
it escape in any other way. And unlike ccxes, declaring an lccx on the stack
doesn't have any observable side-effects. So this should actually be safe.
2013-06-04 21:11:20 -07:00
Bobby Holley
4843761664
Bug 877261 - Stop Passing lccx in a few Quickstubs places where we just want a JSContext. r=Ms2ger
2013-06-04 21:11:20 -07:00
Bobby Holley
6bfdce50e9
Bug 877261 - Remove the last two non-quickstub XPCLazyCallContexts. r=Ms2ger
2013-06-04 21:11:20 -07:00
Bobby Holley
e7426ec772
Bug 877261 - Remove a bunch of now-unnecessary ccx declarations from nsXPConnect. r=Ms2ber
2013-06-04 21:11:20 -07:00
Bobby Holley
19baba1983
Bug 877261 - Remove XPCCallContext from XPCCComponents. r=Ms2ger
2013-06-04 21:11:19 -07:00
Bobby Holley
ad7187ee15
Bug 877261 - Stop taking a cx in XPCWrappedJS::GetNewOrUsed. r=Ms2ger
...
Some of these callers seem to be passing a ccx when they don't need to, but
let's just remove the param all together for consistency.
2013-06-04 21:11:19 -07:00
Bobby Holley
41e994226a
Bug 877261 - Stop using XPCCallContext for XPCConvert. r=Ms2ger
2013-06-04 21:11:19 -07:00
Bobby Holley
21f7e67df3
Bug 877261 - Stop using XPCCallContext for most stuff in XPCWrappedNative.cpp. r=Ms2ger
...
Starting with the above, this is the smallest unit change that will compile.
2013-06-04 21:11:18 -07:00
Bobby Holley
84df3243e8
Bug 877478 - Remove the machinery for security managers in XPCContext. r=mrbkap
2013-06-04 19:56:43 -07:00
Bobby Holley
bb1196da20
Bug 877478 - Move all consumers of GetAppropriateSecurityManager to GetDefaultSecurityManager and rm the former. r=mrbkap
2013-06-04 19:56:43 -07:00
Bobby Holley
6592cd4cc4
Bug 877478 - Remove SetSecurityManagerForJSContext and related APIs. r=mrbkap
...
The only consumers here were the shells, which we've now fixed.
2013-06-04 19:56:43 -07:00
Bobby Holley
213d43e430
Bug 877478 - Remove FullTrustSecMan junk. r=mrbkap
...
This stuff shouldn't be necessary anymore. The default security manager should
do the right thing given for script running in the scope of a BackstagePass.
2013-06-04 19:56:42 -07:00
Bobby Holley
a473e25686
Bug 879341 - Use an AutoSafeJSContext in CheckForDebugMode like we should. r=gabor
2013-06-04 15:37:59 -07:00
Bobby Holley
2031113f6a
Bug 879341 - Move CheckForDebugMode into the main thread event observer. r=gabor
...
This gets invoked at the very end of nsThread::ProcessNextEvent(). If the cx stack
is empty here, that means the event loop isn't nested - if it it was, we'd at
least have a null cx on the stack from a higher-level call to OnProcessNextEvent
for the main thread observer.
As such, this seems like a much more reasonable place to make debug mode changes.
2013-06-04 15:37:58 -07:00
Bobby Holley
f21d52542c
Bug 877862 - Propagate exceptions from PrepareForWrapping. r=mrbkap
2013-06-04 10:30:11 -07:00
Daniel Holbert
b867c07c1b
Bug 879029: Remove no-longer-used variable 'xpc' from nsCxPusher::DoPush. r=bholley
2013-06-03 16:17:22 -07:00
Ryan VanderMeulen
125253843d
Backed out 3 changesets (bug 877862, bug 878325) for mochitest-other orange on a CLOSED TREE.
...
Backed out changeset 803586f0a297 (bug 878325)
Backed out changeset d4a39e18e5a7 (bug 878325)
Backed out changeset 08a29f18500a (bug 877862)
2013-06-03 15:50:59 -04:00
Bobby Holley
23b5ae184f
Bug 877862 - Propagate exceptions from PrepareForWrapping. r=mrbkap
2013-06-03 11:27:41 -07:00