Eric Faust
fc6584c144
Bug 924720 - Part 5: Allow callers of NewProxyObject() to specify a Proxy JSClass. (r=jwalden)
2014-01-29 17:20:16 -08:00
Eric Faust
9c04c0d68a
Bug 924720 - Part 2: Make OuterWindowProxy use the proxy HasInstance and Convert stubs. (r=bholley)
2014-01-29 17:20:15 -08:00
Bobby Holley
b23fdb2143
Bug 965082 - Tests. r=mrbkap,r=gabor
2014-01-29 13:07:13 -08:00
Bobby Holley
4261137095
Bug 965082 - Only run the {get,set}PrototypeOf override for non-SecurityWrappers. r=mrbkap,r=gabor
2014-01-29 13:07:13 -08:00
Bobby Holley
6a1e0258a1
Bug 965082 - Unify duplicate bits of state of proxies. r=mrbkap,r=gabor
...
Conceptually, these all boil down to "is this a security wrapper?"
2014-01-29 13:07:13 -08:00
Ed Morley
271b7ece33
Merge mozilla-central and inbound
2014-01-29 10:39:41 +00:00
Jon Coppeard
4bd291ee00
Bug 959787 - Handlify some JS friend APIs r=sfink
2014-01-29 10:01:33 +00:00
Jon Coppeard
d0ac1956cc
Bug 959787 - Handlify some misc JS APIs r=sfink r=smaug
2014-01-29 10:00:40 +00:00
Henry Chang
dad3338b91
Bug 811635 - Part 2: Implementation of WebIDLs/IDLs for WifiP2pManager and WifiP2pStatusChangeEvent. r=vchang
2014-01-27 15:48:10 +08:00
Chris Peterson
ac4837ccb1
Bug 964016 - Part 4: Replace JS_ALWAYS_INLINE with MOZ_ALWAYS_INLINE. r=luke
2014-01-24 20:14:56 -08:00
Andrew McCreight
b8f0bd8317
Bug 963665 - Make nsIXPConnect noscript. r=bholley
2014-01-27 07:16:38 -08:00
Peiyong Lin
886c35b281
Bug 961041 - Replace infallible allocation in DOMStorage::BroadcastChangeNotification with fallible allocation. r=smaug
2014-01-27 08:25:19 -05:00
Andrew McCreight
afb5cd4a63
Bug 963312 - Get JS engine telemetry values from Components.utils, not nsIXPConnect. r=bholley,taras
2014-01-26 07:57:00 -08:00
Zack Weinberg
84cc98dc82
Bug 933885 part 1: make xpcshell dump() and print() handle non-ASCII characters correctly. r=bz
2014-01-25 23:27:11 -05:00
Jon Coppeard
bfba7b5146
Bug 963167 - Convert JS_SetElement() to take HandleValue rather than MutableHandleValue r=sfink r=bz
2014-01-25 09:31:17 +00:00
Jon Coppeard
74da1a60c3
Bug 959787 - Handlify JS_Set* APIs r=terrence r=bz
2014-01-25 09:29:12 +00:00
Boris Zbarsky
ae288e85fc
Bug 962605 part 2. Enable baseline jit in xpcshell. r=bholley
2014-01-22 14:37:11 -05:00
Bobby Holley
499b09923b
Bug 957688 - Remove nsIXPCSecurityManager::CanAccess and nsScriptSecurityManager::CheckPropertyAccessImpl. r=mrbkap
...
\o/
2014-01-24 16:08:26 -08:00
Bobby Holley
048f4eae8c
Bug 957688 - Kill off checkAccess. r=mrbkap
2014-01-24 16:08:26 -08:00
Bobby Holley
63ace2357b
Bug 957688 - Remove checkAccess nsIXPCScriptable hook. r=mrbkap
2014-01-24 16:08:25 -08:00
Terrence Cole
07cf57140e
Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 7; r=sfink
2014-01-21 17:03:20 -08:00
Terrence Cole
91ca6a1d69
Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 6; r=jonco
2014-01-17 10:10:17 -08:00
Jon Coppeard
68ea58c9c7
Bug 959787 - Handlify JS_Lookup* APIs r=sfink r=bz
2014-01-24 14:03:56 +00:00
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