Kyle Huey
0c22f68bf6
No bug: Fix ply being stupid, take 2. r=me
2012-03-13 10:31:53 -07:00
Marco Bonardo
720c67a69d
Merge last green PGO from inbound to central
2012-03-13 11:17:21 +01:00
Masatoshi Kimura
cdb0659415
Bug 721569 - Implement Blob constructor. r=sicking
2012-03-12 21:44:56 -07:00
Masatoshi Kimura
dceba2b661
Bug 721569 - Implement nullable types. r=khuey
2012-03-12 21:44:51 -07:00
Masatoshi Kimura
c1d1c7ca5d
Bug 721569 - Support default values for Web IDL dictionaries. r=khuey CLOBBER BUILD
2012-03-12 21:44:48 -07:00
David Anderson
a02e3e035e
Remove JS_GetScriptedCaller (bug 732652, r=luke,mrbkap,bholley,smaug,bent).
2012-03-06 15:33:12 -08:00
Peter Van der Beken
ec969bf862
Add new DOM binding for SVG list classes. r=jst.
...
--HG--
extra : rebase_source : ce84f9457d7b9a14a0a65db5c643938d0e0e05bc
2011-08-22 11:14:13 +02:00
Peter Van der Beken
fed894c347
Fix for bug 734506 (Fix DOM list binding generation - fix bad argument throwing). r=jst.
...
--HG--
extra : rebase_source : b71d386827bb0114be6e68a696270868e487fe1c
2011-10-14 23:52:31 +02:00
Peter Van der Beken
13c9c8e483
Fix for bug 734506 (Fix DOM list binding generation - add includes for all types). r=jst.
...
--HG--
extra : rebase_source : 113e8e7e98dfea4b67cfa5e08bd281c5f105ab92
2011-10-14 23:18:41 +02:00
Peter Van der Beken
836ea0e962
Fix for bug 734508 (Add new DOM binding for SVG list classes). r=jst.
...
--HG--
extra : rebase_source : c32d2fd124093ae437f000655bba7f3a5f17d99d
2011-08-22 11:14:13 +02:00
Peter Van der Beken
d443e50672
Backout 790be8926d50 to fix commit message
...
--HG--
extra : rebase_source : 930b7802b35784ef5d70ed359d5d9932013ad62d
2012-03-12 21:13:23 +01:00
Peter Van der Beken
d17b094076
Fix for bug 734505 (Add new DOM binding for FileList). r=jst.
...
--HG--
extra : rebase_source : 7a563b1af70c24f9117b813016b7a37612e92431
2011-08-22 11:14:13 +02:00
Peter Van der Beken
a60207ce64
Fix for bug 734503 (Add new DOM binding for TouchList). r=jst.
...
--HG--
extra : rebase_source : 701eb8d9a60ffa981ebcd24f426109bd70cc5cbf
2011-08-22 11:14:13 +02:00
Peter Van der Beken
206b6be2e1
Fix for bug 734499 (Add new DOM binding for PaintRequestList). r=jst.
...
--HG--
extra : rebase_source : 37f4a1ea723db150abc07d66c6f167c27fd9c354
2011-08-22 11:14:13 +02:00
Peter Van der Beken
2671cc336a
Fix for new bug 734497 (Add new DOM binding for ClientRectList). r=jst.
...
--HG--
extra : rebase_source : 1cc96b94d21940ac1ed75ec6d46d9c2964fc54a0
2011-08-22 11:14:13 +02:00
Ms2ger
6b4c981885
Bug 733872 - Use JS_GetObjectPrototype in XPCWrappedNativeScope::SetGlobal; r=bholley
2012-03-11 09:43:22 +01:00
Igor Bukanov
524dbd7e47
bug 728250 - remove JSPrincipals::codebase. r=:luke,:bz
...
In just 2 cases where JSPrincipals::codebase is used it can be reconstructed from the values stored in the associated nsJSPrincipal. In addition the patch makes nsJSprincipals to inherit both from nsIPrincipal and JSPrincipals allowing to use static_cast to convert between nsIPrincipal and JSPrincipals pointers and to drop many cases of manual JSPrincipal reference counting.
2012-03-09 10:48:50 +01:00
Nicholas Nethercote
a4e916975c
Bug 732843 - Handle Callback() failures in memory multi-reporters. r=jlebar.
...
--HG--
extra : rebase_source : 54af85a1ef839922d5443cdc36f601611258944a
2012-03-04 15:26:30 -08:00
Matt Brubeck
2ff1acb70e
Merge mozilla-central to mozilla-inbound
2012-03-08 16:27:40 -08:00
Olli Pettay
beb0053f42
Bug 730891, event ctor for StorageEvent, r=sicking,kyle
2012-03-08 23:27:05 +02:00
Christian Holler
7e778dafa2
Bug 727445 - Add --enable-address-sanitizer for ASan specific workarounds. Add --enable-llvm-hacks to pass CFLAGS to NSS and omit -Wl,-z,defs for shared libs. r=khuey,kaie
2012-03-07 15:11:15 -08:00
Igor Bukanov
c5c7623497
bug 730234 - remove GC locking from activities, operation callbacks-related code and for code that accesses the JSContext list. r=luke
2012-02-24 12:03:28 +01:00
Bobby Holley
c591cdecfd
Bug 731804 - nsXPCWrappedJSClass::GetNamedPropertyAsVariant should jsvalify strings _after_ changing compartments. r=peterv
2012-03-08 11:13:34 -08:00
David Mandelin
0822e24e67
Bug 733260 followup: use uint32_t for array and string lengths, r=luke
...
--HG--
extra : rebase_source : 1729b4b927fde0678872b9de62a7466381aa07c3
2012-03-06 15:52:55 -08:00
Bobby Holley
cbe0f99786
Bug 731845 - XPCWrappedNative::ReparentWrapperIfFound should handle preserved wrappers. r=mrbkap
2012-03-05 16:58:59 -08:00
Bill McCloskey
f24f98c9e3
Bug 729369 - Expose the same set of SpiderMonkey testing APIs to debug shell and debug browser chrome (r=Waldo)
2012-03-06 11:38:44 -08:00
Matt Brubeck
e24272dc05
Back out 2fbc7d9ac670 (bug 731845) on suspicion of causing test_native_mouse_mac.xul timeouts
2012-03-06 11:05:37 -08:00
Nicholas Nethercote
d877788df3
Bug 729403 (follow-up) - Use the right KIND for runtime/gc-marker, thus avoiding warnings about explicit mismatches. r=me.
...
--HG--
extra : rebase_source : 4625531f438d5e1e6a2e600134dee959a45e8204
2012-03-05 21:04:38 -08:00
Mark Hammond
92fde76754
Bug 728986: dump() writes to stdout instead of stderr. r=bent
2012-03-06 15:44:37 +11:00
David Mandelin
fb07fe8847
Bug 733260: remove typedef jsuint, r=luke
...
--HG--
extra : rebase_source : e8f576e1b5b189b47807c613c0cff79f5c8038e7
2012-03-05 18:43:45 -08:00
Andrew McCreight
73839b9bd9
Bug 723971 - unmark gray for shapes. r=billm
2012-03-05 18:11:29 -08:00
Bobby Holley
23e960e8cf
Bug 731845 - XPCWrappedNative::ReparentWrapperIfFound should handle preserved wrappers. r=mrbkap
2012-03-05 16:58:59 -08:00
Bobby Holley
bf482f8215
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
9c7a81fdcd
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
c6f2bff359
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
c811c1de89
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
80b0c702b7
Bug 720580 - Introduce XPCWrappedNative::WrapNewGlobal. r=mrbkap
2012-03-05 15:22:45 -08:00
Bobby Holley
52cec1e1dd
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
75bca9c1ad
Bug 720580 - Make the call to PostCreatePrototype optional. r=mrbkap
2012-03-05 15:22:44 -08:00
Bobby Holley
2c37481521
Bug 720580 - Factor out the call to PostCreatePrototype into a helper method. r=mrbkap
2012-03-05 15:22:44 -08:00
Bobby Holley
a916a97461
Bug 720580 - Accept an explicit native global during XPCWrappedNativeScope creation. r=mrbkap
2012-03-05 15:22:44 -08:00
Bobby Holley
290339924f
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
6fa1a307cf
Bug 720580 - Make JSID class initialization happen on demand. r=mrbkap
2012-03-05 15:22:44 -08:00
Bobby Holley
90e916fe1a
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
00beb8f458
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
34848e85d4
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
9b083bbde3
Bug 720580 - Stop passing isGlobal everywhere and use the nsIXPCScriptable flags instead. r=mrbkap
2012-03-05 15:22:44 -08:00
Bobby Holley
3ca761b44b
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
5dd44b1a43
Bug 720580 - Remove unnecessary aIID parameter from nsIXPConnect::InitClassesWithNewWrappedGlobal. r=mrbkap
2012-03-05 15:22:44 -08:00
Bobby Holley
5541db6a29
Bug 720580 - Introduce a flag for global natives and assert that we have it. r=mrbkap
2012-03-05 15:22:44 -08:00