Bobby Holley
138146697b
Bug 720580 - Assert that we have the global jsclass flag if and only if we're a global. r=mrbkap
2012-03-05 15:22:53 -08:00
Bobby Holley
d3345b4254
Bug 720580 - Assert against creating globals in xpc_NewSystemInheritingJSObject. r=mrbkap
...
With this patch, the only call to JS_NewGlobalObject in XPConnect happens in xpc_CreateGlobalObject. \o/
2012-03-05 15:22:45 -08:00
Bobby Holley
73485885f8
Bug 720580 - Do the last bit of wrapped global initialization once the dust has settled. r=mrbkap
2012-03-05 15:22:45 -08:00
Bobby Holley
e0a6e0b68d
Bug 720580 - Kill temporary globals. r=mrbkap
...
This patch breaks the "every commit is a 100% correct tree" invariant a little bit, because constructors and prototypes for DOM globals are broken (PostCreatePrototype never gets called). This is fixed in the next patch. Doing it this way makes for a cleaner series of commits, and the browser still builds and runs fine.
2012-03-05 15:22:45 -08:00
Bobby Holley
06eb6e6126
Bug 720580 - Introduce XPCWrappedNative::WrapNewGlobal. r=mrbkap
2012-03-05 15:22:45 -08:00
Bobby Holley
df8c12c18b
Bug 720580 - Call TraceDOMPrototypes via TraceXPCGlobal, and avoid the verification process for wrapped natives. r=mrbkap
2012-03-05 15:22:45 -08:00
Bobby Holley
8fbe582aea
Bug 720580 - Make the call to PostCreatePrototype optional. r=mrbkap
2012-03-05 15:22:44 -08:00
Bobby Holley
ea2172967e
Bug 720580 - Factor out the call to PostCreatePrototype into a helper method. r=mrbkap
2012-03-05 15:22:44 -08:00
Bobby Holley
9afaa4890f
Bug 720580 - Accept an explicit native global during XPCWrappedNativeScope creation. r=mrbkap
2012-03-05 15:22:44 -08:00
Bobby Holley
8a333a7b50
Bug 720580 - Manually resolve |Object| on the global in XPCWrappedNativeScope::SetGlobal() to avoid calling into the XPConnect resolve hook too early. r=mrbkap
2012-03-05 15:22:44 -08:00
Bobby Holley
90f6c6474a
Bug 720580 - Make JSID class initialization happen on demand. r=mrbkap
2012-03-05 15:22:44 -08:00
Bobby Holley
9c4024ecaa
Bug 720580 - Modify the semantics of XPCWrappedNative::FinishCreate() so that it doesn't muck around with the refcounts of its inparam. r=mrbkap
...
The current semantics involve the caller transfering ownership of the input wrapper to FinishCreate(), which is complicated and error-prone. Now that we're using nsRefPtr at the callsites, we can get rid of it.
2012-03-05 15:22:44 -08:00
Bobby Holley
c1e81348b9
Bug 720580 - Use nsRefPtr instead of manual AddRef/Release in XPCWrappedNative::{GetNewOrUsed,Morph}. r=mrbkap
2012-03-05 15:22:44 -08:00
Bobby Holley
7f6929b9ff
Bug 720580 - Move the AutoMarkingWrappedNativePtr in XPCWrappedNative::{GetNewOrUsed,Morph} closer to where we need it. r=mrbkap
2012-03-05 15:22:44 -08:00
Bobby Holley
15d04a0773
Bug 720580 - Stop passing isGlobal everywhere and use the nsIXPCScriptable flags instead. r=mrbkap
2012-03-05 15:22:44 -08:00
Bobby Holley
d3868262e8
Bug 720580 - Stop passing aExtraPtr to InitClassesWithNewWrapedGlobal. r=mrbkap
...
We only ever pass null here anyway, and this whole infrastructure is going away real soon now.
2012-03-05 15:22:44 -08:00
Bobby Holley
1a5208e617
Bug 720580 - Remove unnecessary aIID parameter from nsIXPConnect::InitClassesWithNewWrappedGlobal. r=mrbkap
2012-03-05 15:22:44 -08:00
Bobby Holley
a7519fcb64
Bug 720580 - Introduce a flag for global natives and assert that we have it. r=mrbkap
2012-03-05 15:22:44 -08:00
Bobby Holley
b1d50a8c93
Bug 720580 - Indicate free bits in nsIXPCScriptable.idl. r=mrbkap
2012-03-05 15:22:43 -08:00
Cameron McCormack
24ec15b64b
Bug 732664 - Use FormatMessageA so that XPCOM stack walker prints error message correctly. r=dbaron
2012-03-06 10:04:40 +11:00
Andrew McCreight
001abedc5d
Bug 728460, part 2: remove childless nodes in slice before CC. r=smaug
2012-03-05 13:48:33 -08:00
Andrew McCreight
7dc772d01a
Bug 728460, part 1 - add forget_skippable option to remove childless nodes. r=smaug
2012-03-05 13:48:04 -08:00
Brian Nicholson
84bac5f8c4
Bug 729252 - Cache cursor data for AwesomeBar context menu. r=mfinkle
2012-03-05 13:31:55 -08:00
Brian Hackett
fef4714ccf
Don't use reference to freed contents of JIT script, bug 730806. r=dvander
2012-03-05 13:25:24 -08:00
Brian Nicholson
11527c9e91
Bug 726080 - Only update tab URLs if valid. r=mfinkle
2012-03-05 13:20:04 -08:00
Charles Chan
ae3662fc99
Bug 724736 - Move js::StringBuffer into js/src/vm/StringBuffer{-inl.h,.cpp}. r=jwalden
...
--HG--
extra : rebase_source : 69c3319801fbe80dbe0fc150680c9ffca2e519d9
2012-03-05 12:40:11 -08:00
Brian R. Bondy
673dc065d6
Bug 731901 - update.status telemetry ping is not reporting correctly. r=ehsan
2012-03-05 15:47:46 -05:00
Brian R. Bondy
22c90e2a57
Bug 711054 - Stop using readstrings errors for updater. r=rstrong
...
--HG--
rename : toolkit/mozapps/readstrings/errors.h => toolkit/mozapps/update/common/errors.h
rename : toolkit/mozapps/readstrings/readstrings.cpp => toolkit/mozapps/update/common/readstrings.cpp
rename : toolkit/mozapps/readstrings/readstrings.h => toolkit/mozapps/update/common/readstrings.h
2012-03-05 15:47:46 -05:00
Brian R. Bondy
3612e788bd
Bug 730792 - Enable new security checks for updates without the service. r=rstrong
2012-03-05 15:47:46 -05:00
Brian Hackett
5a694ed717
Ensure 'for' loops have a leading JSOP_NOP, bug 732776. r=dvander.
2012-03-05 12:45:14 -08:00
Benoit Girard
0eac7fe3b7
Bug 728352 - Implement a render trace utility for GFX perf & debugging. r=mattwoodroow
2012-03-05 15:17:13 -05:00
Wes Johnston
ac74e609f7
Backout 4253a5a838a8 and 7f5e40eb37c1
2012-03-05 12:01:48 -08:00
Jeff Walden
868086dce7
Bug 732669 - Box primitive values correctly when accessing properties of them. r=bhackett
...
--HG--
extra : rebase_source : c4c084557425e6d42b990ca22c10972fcc6697ce
2012-03-05 09:34:38 -08:00
Justin Lebar
4a19d1c912
Bug 731696 - Revert jemalloc isalloc test code added in bug 703087. r=khuey
2012-02-29 11:25:00 -05:00
Benoit Girard
f9eaee1ae0
Bug 717958 - Always read FPS pref on the main thread with OMTC. r=ajuma
2012-03-05 14:02:22 -05:00
Terrence Cole
191929071f
Bug 728343 - Make unbarriered object marking interface indirect ; r=billm
...
This will allow us to move objects that are not wrapped in a HeapPtr.
2012-02-17 11:46:11 -08:00
Rafael Ávila de Espíndola
d11f767d5e
Bug 731936 - Optimizations are disabled in NSPR when using --enable-optimize in mozconfig. r=khuey.
2012-03-05 15:09:36 -03:00
Wes Johnston
b124c1f94e
Bug 719276 - Remove tap highlight when viewport changes. r=mbrubeck
2012-03-05 09:11:46 -08:00
Wes Johnston
f5e4ab77ba
Bug 719276 - Use touchstart to determine when to start showing tap highlight. r=mbrubeck
2012-03-05 09:11:17 -08:00
Wes Johnston
e14f4abcdd
Bug 723658 - Use elements size on screen to determine whether or not to double tap zoom. r=mbrubeck
2012-03-05 09:06:50 -08:00
Ed Morley
e63b667897
Backout afeafc02c1de, dfae37833c9b & f9f51c726fa7 (bug 729940 parts 1-3) for talos regressions
2012-03-05 15:22:28 +00:00
Justin Dolske
d311d2f32e
Bug 720294 - Refactor style sheet switching code in browser.js. r=gavin
2012-03-05 11:53:34 +01:00
Vivien Nicolas
4c6f85dff7
Bug 732774 - [b2g] Cancel the click event when a panning action is running only if the touch happens on the panned area r=fabrice
2012-03-05 09:55:51 +01:00
Vivien Nicolas
7c89154f74
Bug 732770 - [b2g] Cancel the active state on the current target when a pan action has started r=fabrice
2012-03-05 09:55:51 +01:00
Vivien Nicolas
939c3bd6e9
Bug 732350 - [b2g] Cancel the click event sooner when panning has started to prevent unexpected clicks r=fabrice
2012-03-05 09:55:51 +01:00
Matthew Gregan
5690270a32
Bug 693021 - Back out the incorrect removal of bug 673698's fixed.
2012-03-05 19:19:45 +13:00
Timothy B. Terriberry
d667f50dcd
Bug 468275 - Fix mis-use of _ogg_free on allocation error path, r=kinetik
2012-03-04 20:32:35 -08:00
Nicholas Nethercote
78363fbd82
Bug 682431 (part 2) - Add memory reporters for URIs and Links. r=biesi,bz,jlebar.
...
--HG--
extra : rebase_source : db4f094a7d334914b986bb66f5bf1089aafda561
2012-02-19 19:51:48 -08:00
Makoto Kato
8e7fa7d23a
Bug 590390 - deCOM nsICharsetAlias. r=smontagu
...
--HG--
rename : intl/locale/public/nsICharsetAlias.h => intl/locale/public/nsCharsetAlias.h
rename : intl/locale/src/nsCharsetAliasImp.cpp => intl/locale/src/nsCharsetAlias.cpp
2012-03-05 12:57:51 +09:00
Eric Chou
a17fa9c7cc
Bug 729991: fix followup problems of bug 713116, r=ben
2012-03-04 19:54:01 -08:00