Commit Graph

567 Commits

Author SHA1 Message Date
Boris Zbarsky
e2ed0fe94a Bug 747815. Use const strings for arguments in DOM bindings. r=peterv 2012-04-26 00:42:03 -04:00
Ryan VanderMeulen
3d3d4922c1 Backout a0b3af4ac9f5 (bug 735280) due to Android jsreftest orange. 2012-04-25 21:59:36 -04:00
Gabor Krizsanits
0f38ab4f31 Bug 735280 - Part 3: Components object specific wrapper. r=bholley 2012-04-25 20:12:33 -04:00
Gabor Krizsanits
07fb83f53a Bug 735280 - Part 2: Add pre-create to nsXPComponents. r=bholley 2012-04-25 20:12:33 -04:00
Gabor Krizsanits
a9ded93717 Bug 735280 - Part 1: Connect XPCWrappedNativeScope and Components. r=bholley 2012-04-25 20:12:33 -04:00
Andrew McCreight
a9c6928a04 Bug 678615, part 2: remove FinishCycleCollection. r=smaug 2012-04-25 08:10:09 -07:00
Andrew McCreight
a5af270e47 Bug 678615 - remove ExplainLiveExpectedGarbage. r=smaug sr=peterv 2012-04-25 08:10:09 -07:00
Mike Hommey
79542a4d88 Bug 747870 - Properly align XPCLazyCallContext::mData. r=bholley 2012-04-25 09:09:08 +02:00
Matt Brubeck
d5da39b00f Back out bug 730208 and bug 747543 because of xpcshell test failures 2012-04-24 20:47:16 -07:00
Ryan VanderMeulen
d485f6d4b3 Backout 0b170d1f5d10 (bug 735280) due to red. 2012-04-24 22:09:23 -04:00
Gabor Krizsanits
f58f1c2ecd Bug 735280 - Part 3: Components object specific wrapper. r=bholley 2012-04-24 21:48:02 -04:00
Gabor Krizsanits
8abef4d8c3 Bug 735280 - Part 2: Add pre-create to nsXPComponents. r=bholley 2012-04-24 21:48:01 -04:00
Gabor Krizsanits
e6e268bb09 Bug 735280 - Part 1: Connect XPCWrappedNativeScope and Components. r=bholley 2012-04-24 21:47:54 -04:00
Ehsan Akhgari
a992263c77 Merge mozilla-central into mozilla-inbound 2012-04-24 21:29:44 -04:00
Patrick Wong
30fd6e9e6a Bug 745659 - Removed the nsPrintfCString constructor which takes a length and all corresponding instances that call that particular constructor. This is accomplished by removing the length component from the instantiation. r=jlebar 2012-04-24 14:43:00 -04:00
Ehsan Akhgari
624b7c422e Merge from mozilla-central 2012-04-23 18:17:44 -04:00
Kyle Huey
a2478f9645 Bug 747245: Fix a silly weak reference assertion. r=bent a=mfinkle 2012-04-23 14:14:10 -07:00
Ehsan Akhgari
06098487ea Merge mozilla-central into birch 2012-04-22 16:10:35 -04:00
Boris Zbarsky
e6901a65af Bug 742168. Refer to experimental bindings, not Paris bindings, in the pref code, since it will only control a subset of the Paris bindings. r=peterv 2012-04-18 12:02:04 -04:00
Marco Bonardo
8fd56f3066 Merge last green PGO from inbound to central 2012-04-17 15:31:58 +02:00
Olli Pettay
d796636855 Bug 731875 - Geolocation doorhanger might cause a zombie compartment, GeoPositionOptions part, r=dougt 2012-04-16 22:08:48 +03:00
Justin Lebar
5766598758 Bug 741378 - Rejigger the js memory reporters to match jemalloc's. r=njn 2012-04-16 12:20:54 +10:00
Justin Lebar
b391903730 Back out changeset 21f34fdd64a3 (bug 741378) because it breaks telemetry. r=me 2012-04-16 11:34:00 +10:00
Justin Lebar
dbb7a3bbac Bug 741378 - Rejigger the js memory reporters to match jemalloc's. r=njn 2012-04-16 11:17:26 +10:00
Bobby Holley
1037d6c217 Bug 745483 - Don't assert that TI is enabled when the pref is disabled. r=jdm 2012-04-15 17:54:03 -07:00
Bobby Holley
b0e37aa6d8 Bug 743843 - Introduce the options object for Components.Exception. r=Ms2ger,sr=mrbkap 2012-04-15 17:51:37 -07:00
Bobby Holley
50e6634137 Bug 743843 - Ditch the confusing switch-based parsing and add some comments. r=Ms2ger 2012-04-15 17:51:36 -07:00
Bobby Holley
1e648b7690 Bug 743843 - Factor individual argument parsers into helper methods. r=Ms2ger 2012-04-15 17:51:36 -07:00
Bobby Holley
d8267ab1e1 Bug 743843 - Factor out Exception argument parsing into a helper class. r=Ms2ger
For ease of reviewing, note that there are only 2 changes to the big switch statement:
1 - return ThrowAndFail(...) -> return false.
2 - eMsgBytes -> messageBytes
2012-04-15 17:51:36 -07:00
Ms2ger
1de8ab38d4 Bug 742893 - Part a: Make xpc_qsValueTo{Uint,Int}64 public; r=bholley 2012-04-14 15:07:31 +02:00
Ms2ger
c6ce9f7d79 Bug 741349 - Get rid of the mozilla::xpconnect::memory namespace; r=bholley 2012-04-14 15:05:19 +02:00
Ms2ger
a37d5dbaac Bug 741347 - Remove nsIXPConnect::DefineDOMQuickStubs, call DOM_DefineQuickStubs directly instead; r=bholley 2012-04-14 15:05:17 +02:00
Ms2ger
8299fe6b09 Backing out bf0a78471e5e:dc7022e2d807 for inexplicable windows crashes. 2012-04-14 17:52:34 +02:00
Ms2ger
2b4ce9574c Bug 745427 - Fix XPCWrappedNativeScope::SetContext; r=gal 2012-04-14 15:10:05 +02:00
Ms2ger
7164d44025 Bug 742893 - Part a: Make xpc_qsValueTo{Uint,Int}64 public; r=bholley 2012-04-14 15:07:31 +02:00
Ms2ger
5a16b6f2fa Bug 741349 - Get rid of the mozilla::xpconnect::memory namespace; r=bholley 2012-04-14 15:05:19 +02:00
Ms2ger
ead7156eeb Bug 741347 - Remove nsIXPConnect::DefineDOMQuickStubs, call DOM_DefineQuickStubs directly instead; r=bholley 2012-04-14 15:05:17 +02:00
Ms2ger
f88fab52fb Bug 741245 - Remove nsresult return value from nsXPConnect::GetSafeJSContext(); r=bholley 2012-04-14 15:05:01 +02:00
Bobby Holley
dd4ac27670 Bug 745661 - Make TI assertion handle safe mode, too. r=khuey 2012-04-16 16:57:36 -07:00
David Anderson
f84d3b7b8d Remove more uses of JS_FrameIterator (bug 744617, r=mrbkap). 2012-04-16 12:30:04 -07:00
David Anderson
2b1abddde3 Remove simple JS_FrameIterator uses in xpconnect (bug 744617, r=bholley).
--HG--
extra : rebase_source : c206450cf46011543f58cded4c5aff2d49932afd
2012-04-16 12:25:28 -07:00
Steve Fink
c7e97d8358 Bug 730208 - UnmarkGray fixups for globals and contexts. r=billm
A common source of potential black -> gray edges is JSAPI calls made on objects with gray globals or contexts holding gray globals. (The call could potentially update a black object with a pointer to that global.) This patch mostly traps places where contexts are used, and unmarks their globals. It also includes some more global unmarking.

--HG--
extra : rebase_source : 1286bdbc4c337956242c292e0fa385629ee8850b
2012-03-14 09:32:58 -07:00
Steve Fink
4642a9a56c Bug 730208 - XPConnect changes to UnmarkGray some more objects and return them for convenience. r=mccr8
--HG--
extra : rebase_source : a1d56aa4dc9dcf1fe280c42667710494f2481a7c
2012-03-20 21:22:40 -07:00
Mark Capella
1a44f1208f Bug 740688 - Use uintptr_t instead of PRUword, and intptr_t instead of PRWord. r=jwalden
--HG--
extra : rebase_source : 648a581323d2c2893df780f71fe34dadcc4bbaab
2012-04-11 17:17:44 -07:00
Luke Wagner
f5f4ed58b7 Bug 744842 - don't include actual args in error.stack.toString (r=dmandelin)
--HG--
extra : rebase_source : 66a780c6abfc4fadc7cc08ed97224296af20ad61
2012-04-11 18:07:44 -07:00
Bobby Holley
ac0a01ac3b Bug 744034 - Link the script context to the outer window earlier to ensure that we always have TI for content. r=mrbkap 2012-04-12 11:21:12 -07:00
Masatoshi Kimura
23049011a9 Bug 730161 - Replace IDBDatabaseException and FileException with DOMException. r=sicking 2012-04-11 17:55:21 -04:00
Andrew McCreight
0f2d884b02 Bug 744272. disable test_watchpoints due to bogus failures. rs=billm 2012-04-10 18:43:22 -07:00
Kyle Huey
a321486239 Refix bug 741248 harder. r=me 2012-04-09 17:41:22 -07:00
Matt Brubeck
0f3bc5ceb0 Merge last green changeset from inbound to mozilla-central 2012-04-09 10:05:48 -07:00