Commit Graph

3132 Commits

Author SHA1 Message Date
Nicholas Nethercote
0b05b51057 Bug 961883 (part 3) - Measure and report the Nursery. r=terrence.
--HG--
extra : rebase_source : 6f12d47ca8cedc96b0dd0477ca4f71de08e47181
2014-01-21 17:17:08 -08:00
Nicholas Nethercote
04907c0a12 Bug 961883 (part 2) - Measure and report the StoreBuffer. r=terrence.
--HG--
extra : rebase_source : f298f0373b7fee99eee7a62060f882d628f97eb2
2014-01-21 17:17:02 -08:00
Nicholas Nethercote
5de1ab52da Bug 961883 (part 1) - Measure and report the SourceDataCache. r=benjamin.
--HG--
extra : rebase_source : b599e19fb681e972b1f6e184c44f5a726a61009f
2014-01-20 19:52:57 -08:00
Ryan VanderMeulen
74b0ee69de Backed out changeset 26984019ff59 (bug 962605) for suspicion of causing OSX 10.8 debug mochitest-other crashes.
CLOSED TREE
2014-01-23 12:45:43 -05:00
Boris Zbarsky
9cebb8d6b3 Bug 962605. Enable baseline jit in xpcshell. r=bholley 2014-01-22 14:37:11 -05:00
Wes Kocher
5e765f516a Backed out changeset c75f13d4f160 (bug 962605) 2014-01-22 16:16:07 -08:00
Boris Zbarsky
ef95954bd2 Bug 962605. Enable baseline jit in xpcshell. r=bholley 2014-01-22 14:37:11 -05:00
Tom Schuster
18397aa440 Bug 958119 - Some cleanup for XPConnect. r=gabor 2014-01-22 18:50:32 +01:00
Carsten "Tomcat" Book
3f5b3dd046 Merge mozilla-central to mozilla-inbound 2014-01-22 14:37:23 +01:00
Carsten "Tomcat" Book
23879c668c merge b2g-inbound to mozilla-central 2014-01-22 13:59:54 +01:00
Gina Yeh
f386355248 Bug 952907 - Patch 1: Use WebIDL codegen to implement Bluetooth events, r=smaug 2014-01-22 14:26:29 +08:00
Nathan Froyd
64ef32eece Bug 962241 - don't spam error messages about ContractIDToCID failing; r=bholley 2014-01-21 16:14:22 -05:00
Jon Coppeard
5518bdc828 Bug 959787 - Handlify has property APIs r=terrence r=bz 2014-01-22 11:28:06 +00:00
Andrew McCreight
827af557a1 Bug 961551, part 9 - Split scope of |wrapper|, plus other cleanup. r=bholley 2014-01-21 17:56:16 -08:00
Andrew McCreight
ac5673a0d4 Bug 961551, part 8 - Use the code at the end of XPCWJS::GetNewOrUsed to build a new root wrapper. r=bholley
The code at the end of nsXPCWrappedJS::GetNewOrUsed will now correctly
construct a root wrapper when |root == nullptr|, so we can consolidate
the two places that construct |wrapper|.
2014-01-21 17:56:16 -08:00
Andrew McCreight
a407081861 Bug 961551, part 7 - Smart pointerize rootClasp. r=bholley
Also, move the declaration of |clasp| down to where it is used.
2014-01-21 17:56:16 -08:00
Andrew McCreight
064844dc92 Bug 961551, part 6 - Smart pointerize wrapper. r=bholley 2014-01-21 17:56:15 -08:00
Andrew McCreight
cedcce0853 Bug 961551, part 5 - Smart pointerize root. r=bholley 2014-01-21 17:56:15 -08:00
Andrew McCreight
d04e9ca0da Bug 961551, part 4 - Remove release_root from XPCWJS::GetNewOrUsed. r=bholley
GetNewOrUsed now always releases |root| when |root| is non-null, so
release_root can be eliminated.
2014-01-21 17:56:15 -08:00
Andrew McCreight
28e8ff08a4 Bug 961551, part 3 - Hold a strong ref to the root that is the result of Find in XPCWJS::GNOU. r=bholley
This is trickier than it looks, because this change causes additional
refcount traffic on |root| in the case where FindOrFindInherited
succeeds. This is potentially bad because if a WJS has a refcount of 1,
and no weak references to it, then if it goes to a refcount of 2 then
back to 1 it will be deleted.  A WJS can get in this state if it
is a root with a refcount of 2, and has a weak reference, then
its refcount drops to 1, then later the weak reference goes away.

However, in this case, there can be no other WJS in the chain,
or the refcount would be greater than 1, so FindOrFindInherited
must end up returning |root|, so |wrapper == root|, and the
assignment to |wrapper| will make root go to a refcount of 3,
so the release of |root| on exit will only cause the refcount to
go to 2, so |root| won't be deleted.
2014-01-21 17:56:15 -08:00
Andrew McCreight
6bb140a339 Bug 961551, part 2 - Move addref out of XPCWrappedJS ctor. r=bholley
This paves the way for smart pointerization.
2014-01-21 17:56:15 -08:00
Andrew McCreight
3e8fc017f6 Bug 961551, part 1 - Add root wrappers to the map in XPCWrappedJS ctor. r=bholley 2014-01-21 17:56:15 -08:00
Bobby Holley
9b42f586d4 Bug 958324 - Remove SOW-transplant-related fixup. r=peterv
This became obsolete with bug 922009.
2014-01-21 08:26:41 -08:00
Bobby Holley
44cd3fcb36 Bug 958324 - Remove same-compartment security wrappers for WNs. r=peterv,r=mrbkap
We've fixed Components, and SOWs are new-binding only. Youpie!
2014-01-21 08:26:40 -08:00
Bobby Holley
06f47384db Bug 961054 - Don't invoke SetLastResult until the completion of an XPCWN method call. r=mrbkap 2014-01-21 08:25:29 -08:00
Jon Coppeard
37488975e6 Bug 961095 - Improve generic callbacks with better typing, and by only adding storebuffer entries when the key is in the nursery r=terrence 2014-01-21 10:44:39 +00:00
Andrea Marchesini
0ba0cf3428 Bug 958816 - UUIDs updated to make strings in nsIStackFrame API sane CLOSED TREE 2014-01-20 18:47:35 +01:00
Andrea Marchesini
b66fa0e177 Bug 958816 - Make strings in nsIStackFrame API sane, r=bz 2014-01-20 17:51:41 +01:00
Ms2ger
83cc868202 Bug 956553 - Remove js::IdToJsval in favour of js::IdToValue; r=luke 2014-01-20 08:58:27 +01:00
Ms2ger
7b4adf5c0f Bug 937952 - Replace JS_ROTATE_LEFT32 with mozilla::RotateLeft; r=Waldo 2014-01-20 08:58:26 +01:00
Ms2ger
5463f5d483 Bug 953425 - Part b: Move DOMFileMetadataParameters to WebIDL; r=janv 2014-01-20 08:58:24 +01:00
Terrence Cole
d902eeddc8 Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 4; r=sfink,r=bz
--HG--
extra : rebase_source : 8e1ff566f47795cd82e3f4c0a6fa37b88e7847b4
2014-01-17 10:08:51 -08:00
Ryan VanderMeulen
4578dde0df Backed out changeset 965cf4cbedc8 (bug 958816) for mochitest crashes.
CLOSED TREE
2014-01-17 10:20:05 -05:00
Andrea Marchesini
697ba5a8a2 Bug 958816 - Make strings in nsIStackFrame API sane, r=bz 2014-01-17 15:24:03 +01:00
Andrew McCreight
d59746be3b Bug 960715, part 2 - Remove nsXPConnect::FindMainThread(). r=bholley 2014-01-17 05:57:35 -08:00
Andrew McCreight
3dfc411af6 Bug 960715, part 1 - Remove XPCWrappedNativeProto::ClassIsMainThreadOnly. r=bholley 2014-01-17 05:57:34 -08:00
Andrew McCreight
cfc3abd252 Bug 959485, part 5 - Remove success from nsJSCID::NewID. r=gabor 2014-01-17 05:57:34 -08:00
Bobby Holley
18dab24d3d Bug 794943 - Followup bustage fix. r=me CLOSED TREE 2014-01-16 16:11:25 -08:00
Bobby Holley
aca56744a1 Bug 794943 - Make window.controllers [ChromeOnly], and remove nsISecurityCheckedComponent from nsXULControllers. r=bz 2014-01-16 15:45:40 -08:00
Bobby Holley
03822da20b Bug 794943 - Remove custom support for nsISecurityCheckedComponent in nsXPCWrappedJS. r=mrbkap 2014-01-16 15:45:39 -08:00
Bobby Holley
238b92b435 Bug 794943 - Remove nsISecurityCheckedComponent IID push from Components.interfaces{,ById}. r=mrbkap
This should have been in bug 951948 bug I missed it.
2014-01-16 15:45:39 -08:00
Terrence Cole
6beccf2363 Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 3; r=sfink
--HG--
extra : rebase_source : ace7b0fa6ba93acbf0ec8ecaeb68ffa287a33665
2014-01-16 09:48:58 -08:00
Terrence Cole
aa7ab27af5 Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 2; r=sfink
--HG--
extra : rebase_source : e36c89af9c362e781d9ca9aceee42779258328b5
2014-01-14 17:19:07 -08:00
Andrew McCreight
c5305f1631 Back out a669a3d25d38 for breaking everything on this CLOSED TREE 2014-01-16 10:07:17 -08:00
Andrew McCreight
6c33f318f1 Bug 959484 - de-THREADSAFE XPConnect. r=bholley 2014-01-16 08:49:26 -08:00
Andrew McCreight
ab91c61d9c Bug 959485, part 5 - Remove success from nsJSCID::NewID. r=gabor 2014-01-16 08:49:26 -08:00
Andrew McCreight
de855c4892 Bug 959485, part 4 - Cleanup nsJSCID::NewID. r=gabor 2014-01-16 08:49:26 -08:00
Andrew McCreight
9ece9575ee Bug 959485, part 3 - Cleanup nsJSIID::NewID. r=gabor 2014-01-16 08:49:26 -08:00
Andrew McCreight
39821f9aa8 Bug 959485, part 2 - Cleanup nsJSID::NewID. r=gabor
note that nsJSID::NewID(const char* str) isn't used
2014-01-16 08:49:25 -08:00
Andrew McCreight
c0f8fa233d Bug 959485, part 1 - Remove null checks of the result of new nsJS*ID. r=gabor 2014-01-16 08:49:25 -08:00