Jason Orendorff
57e0541753
Bug 972319, part 2 - Transition some code using JS_SaveExceptionState to JS::AutoSaveExceptionState. r=bholley.
2014-02-26 08:55:34 -06:00
Jan de Mooij
f8a1ec2850
Bug 939562 part 2 - Move JIT flags from ContextOptions to RuntimeOptions. r=bent,bholley,luke
2014-02-26 10:25:36 +01:00
Jan de Mooij
ecb70ddc4c
Bug 939562 part 1 - Bump trusted script buffer size for ASAN builds. r=bholley
2014-02-26 10:19:45 +01:00
Luke Wagner
4c59cb92eb
Bug 976348 - Change DescribeScriptedCaller to not return a JSScript (r=bholley)
...
--HG--
extra : rebase_source : 58387ce3e4c49d3140b92b84bf3577fc6584820e
2014-02-25 09:43:14 -06:00
Bobby Holley
992eba1b46
Bug 976151 - Anti eval/Function() check during wrapping should use |subsumes|. r=gabor
2014-02-25 08:38:33 -08:00
Ehsan Akhgari
f594359272
Bug 975740 - Port WIN32_EXE_LDFLAGS to moz.build; r=mshal
2014-02-24 08:30:25 -05:00
Bobby Holley
091ae7c290
Bug 975277 - Introduce a mechanism to identify instances of standard classes. r=luke
2014-02-21 16:03:11 -08:00
Bobby Holley
56357094c5
Bug 975277 - Move the wrappedJSObject getter out of getPropertyDescriptor. r=gabor
...
The current setup is kinda wrong, and doesn't work with HasPrototype Xrays.
This change requires us to manually munge the holder, but that's probably ok
for now.
2014-02-21 16:03:08 -08:00
Bobby Holley
2ec68b243f
Bug 975277 - Clean up the XPCWN XrayHolder a bit. r=gabor
2014-02-21 15:55:31 -08:00
Peter Van der Beken
d9eb61589a
Bug 975277 - Pass the real receiver when using HasPrototype. r=bholley
2014-02-21 15:55:31 -08:00
Peter Van der Beken
24f17f7f15
Bug 975277 - Add some machinery to allow Traits to specify whether they want to use hasPrototype or not. r=bholley,efaust
2014-02-21 15:55:30 -08:00
Bobby Holley
6c1bcb5e71
Bug 973780 - Remove Xray expando slot from WNs. r=bz
2014-02-21 11:35:49 -08:00
Bobby Holley
0cb2796466
Bug 973780 - Hook Xrays up to the new expando map. r=bz
2014-02-21 11:35:48 -08:00
Bobby Holley
37d0e443fd
Bug 973780 - Implement an expando WeakMap on XPCWrappedNativeScope. r=mccr8
2014-02-21 11:35:48 -08:00
Luke Wagner
4eed36705e
Bug 797126 - Remove tinyid/shortid/userid (r=terrence)
...
--HG--
extra : rebase_source : d3cee5e71ca02708e91419b209b5914ce9fd2f9f
2014-02-21 10:24:26 -06:00
Phil Ringnalda
a196f2815f
Back out 0f5f58d5d410:8db4d719f5f8 (bug 973780) for debug WinXP mochitest-3 assertions
...
CLOSED TREE
2014-02-20 20:46:50 -08:00
Nicholas Nethercote
1a629c91d7
Bug 969415 (part 2) - Add a pref to enable memory report dumping on JS OOMs. r=luke.
...
--HG--
extra : rebase_source : 3971f809744869a2f2d77e435e95aca44bf7e9d7
2014-02-20 18:35:43 -08:00
Bobby Holley
732c715f1a
Bug 973780 - Remove Xray expando slot from WNs. r=bz
2014-02-20 18:24:09 -08:00
Bobby Holley
a3477db1f4
Bug 973780 - Hook Xrays up to the new expando map. r=bz
2014-02-20 18:24:09 -08:00
Bobby Holley
1c941984e6
Bug 973780 - Implement an expando WeakMap on XPCWrappedNativeScope. r=mccr8
2014-02-20 18:24:09 -08:00
Andrew McCreight
38957cb028
Bug 966762 - Add chrome JS function to unlink ghost windows. r=smaug
2014-02-20 12:55:40 -08:00
Chris Peterson
41e56b2e41
Bug 712873 - Part 2: Replace JS_ASSERT with MOZ_ASSERT outside js/src/ directory. r=luke
2014-02-17 22:24:15 -08:00
Bobby Holley
8cca66b363
Bug 960828 - More diagnostics. r=mccr8
2014-02-19 18:23:48 -08:00
Andrew McCreight
7ca0781046
Backout bug 966762 for Valgrind leaks
2014-02-19 17:17:58 -08:00
Andrew McCreight
558195773a
Bug 966762 - Add chrome JS function to unlink ghost windows. r=smaug
2014-02-19 13:27:15 -08:00
Brian Hackett
cae987d2a2
Bug 964059 - Share atoms compartment/zone between multiple runtimes, r=billm,bent.
2014-02-19 09:02:13 -07:00
Daniel Holbert
84283bddce
back out 3a8893b28489 (bug 712939) and 39adab158c17,16add78c43e3,37193db7e15b (bug 712873), for build bustage.
2014-02-19 00:15:51 -08:00
Chris Peterson
966ea39163
Bug 712873 - Part 2: Replace JS_ASSERT with MOZ_ASSERT outside js/src/ directory. r=luke
2014-02-17 22:24:15 -08:00
Phil Ringnalda
369e9f3db8
Merge b-i to m-c
2014-02-15 10:01:36 -08:00
Bobby Holley
bb7e5e5083
Bug 968003 - Return null for frameElement with a cross-origin parent. r=bz
2014-02-14 22:39:34 -08:00
Bobby Holley
263626e418
Bug 968335 - Tests. r=bz
2014-02-14 22:36:44 -08:00
Bobby Holley
aa566f93a5
Bug 968335 - Implement Cu.getWebIDLCallerPrincipal. r=bz
2014-02-14 22:36:44 -08:00
Bobby Holley
d927d55f46
Bug 968335 - Add an API to determine if a given AutoCxPusher corresponds to the stack-top cx push. r=bz
...
This patch, and those following, are part of an epic quest to make this API
work properly despite the fact that we don't yet have GetEntryGlobal. See
the comment a few patches forward.
2014-02-14 22:36:43 -08:00
Mike Habicher
a28ebb99d1
Bug 909542 - refactor CameraControl API, r=dhylands,jst,jesup,onecyrenus
2014-02-14 17:41:07 -05:00
Phil Ringnalda
d66d0a8ba2
Back out 4fc776ee6852:6a0ebe4ddd01 (bug 968335) and e7d697004921 (bug 923904) for b2g emulator build bustage
...
CLOSED TREE
2014-02-14 18:35:30 -08:00
Bobby Holley
11ba09a104
Bug 968335 - Tests. r=bz
2014-02-14 16:13:38 -08:00
Bobby Holley
6d16ee1449
Bug 968335 - Implement Cu.getWebIDLCallerPrincipal. r=bz
2014-02-14 16:13:38 -08:00
Bobby Holley
6f091ac9b4
Bug 968335 - Add an API to determine if a given AutoCxPusher corresponds to the stack-top cx push. r=bz
...
This patch, and those following, are part of an epic quest to make this API
work properly despite the fact that we don't yet have GetEntryGlobal. See
the comment a few patches forward.
2014-02-14 16:13:37 -08:00
Neil Rashbrook
581a903d05
Bug 966911 Part 4: Recreate the underlying nsAString when an an external string is passed back to C++ r=bholley
2014-02-14 19:44:55 +00:00
Michael Shuen
c489c0a6f2
Bug 934817 - Part 2: Remove 0-length check in XPCStringConvert::ReadableToJSVal and XPCConvert::NativeData2JS. r=bz
2014-02-14 11:15:42 -05:00
Bobby Holley
2fd8b7b977
Bug 956382 - Remove usage of explicit *IgnoringDomain variants. r=mrbkap
2014-02-13 18:57:36 -08:00
Bobby Holley
25cd8177a5
Bug 956382 - Consider document.domain when computing security wrappers. r=mrbkap
2014-02-13 18:57:35 -08:00
Bobby Holley
7a8e0ba5b9
Bug 956382 - Add AccessCheck::subsumesConsideringDomain and clean up other implementations. r=mrbkap
...
We now assert that we have a principal when we enter the wrap callback, and we
now have a convenient overload defined in nsIPrincipal.idl.
2014-02-13 18:57:34 -08:00
Bobby Holley
b73c1d8a7d
Bug 972478 - Docshell scriptability should only affect non-immune principals. r=bz
2014-02-13 15:40:50 -08:00
Bobby Holley
ea5dbd35dc
Bug 960828 - Diagnostics. r=mccr8
2014-02-13 11:54:59 -08:00
Bobby Holley
c5282f5045
Bug 965981 - Wrap ids in XPCWrappedNativeXrayTraits::enumerateNames. r=mccr8
2014-02-13 10:54:08 -08:00
Bobby Holley
1bb0b956eb
Bug 965901 - Add an ENUMERATE policy action. r=gabor sr=mrbkap
2014-02-13 10:54:08 -08:00
Bobby Holley
cdd1b51376
Bug 965901 - Track and assert the policy action in AutoEnterPolicy/assertEnteredPolicy. r=gabor sr=mrbkap
2014-02-13 10:54:07 -08:00
Jon Coppeard
8136579d75
Bug 959787 - Handlify arguments for Call APIs r=terrence r=bz
2014-02-13 15:33:04 +00:00
Jan de Mooij
811c597f28
Bug 931861 - Fix xpcshell to install breakpad signal handlers before AsmJS/Ion signal handlers. r=ted
2014-02-13 10:22:58 +01:00
Neil Rashbrook
df10f3f2af
Bug 966911 Part 3: Passing undefined to an AString param should (like ACString) convert to null, not the empty string r=bholley
2014-02-13 00:26:28 +00:00
Neil Rashbrook
3d72becf33
Bug 966911 Part 2: An AString out param should use a short lived string instead of wastefully creating an nsAutoString on the heap r=bholley
2014-02-13 00:08:57 +00:00
Andrew McCreight
58c4c1b64c
Bug 733636, part 2 - nsXPConnect::WrapNative should pass aAllowWrapping=true. r=bholley
2014-02-12 15:19:32 -08:00
Andrew McCreight
e42c89316b
Bug 733636, part 1 - Change the nsContentUtils::WrapNative aAllowWrapping default to true. r=bholley
2014-02-12 15:19:32 -08:00
Neil Rashbrook
42055a8e06
Bug 966911 Part 1: Improve DOMString and AString conversion code paths r=bholley
2014-02-12 21:22:07 +00:00
Jon Coppeard
52381adba2
Bug 969812 - Convert JS_NewArrayObject to use HandleValueArray r=terrence r=bz
2014-02-12 10:50:46 +00:00
Andrew McCreight
25aced0427
Bug 967023, part 2 - Get rid of XPCWrappedJSClass::GetNewOrUsed out param. r=bholley
2014-02-11 14:56:46 -08:00
Andrew McCreight
1e54c3b0bc
Bug 967023, part 1 - Rename clazz to clasp in XPCWrappedNative::GetNewOrUsed. r=bholley
2014-02-11 14:56:45 -08:00
Masatoshi Kimura
9306836991
Backed out changeset d7d447cac91b (bug 969762) for tp5 regression.
2014-02-12 06:01:29 +09:00
Jon Coppeard
60baf94ae8
Bug 965830 - Convert use of JS_CallFunction and related APIs uses to HandleValueArray r=terrence r=smaug
2014-02-11 10:59:16 +00:00
Ehsan Akhgari
b870bb3fe9
Bug 969757 - Remove the dead code in our tree which pretends to support OS/2; r=roc,mcmanus,gps,jorendorf,bsmedberg sr=bsmedberg
2014-02-10 17:57:01 -05:00
Masatoshi Kimura
84b0ee5c63
Bug 969762 - Support non-ASCII dump() messages on Windows. r=jimm
2014-02-11 05:50:16 +09:00
Bobby Holley
32debe31bf
Bug 965921 - Handle addons that expose JS-implemented XPCOM components to content. r=mrbkap
2014-02-10 10:27:24 -08:00
Bobby Holley
983a6bbd24
Bug 969156 - Don't fire onNewGlobalObject until the end of nsGlobalWindow::SetNewDocument. r=bz
2014-02-10 10:03:56 -08:00
Jon Coppeard
50cb1ea9e3
Bug 969798 - Convert JS_ConvertArguments APIs to take CallArgs rather than raw Value pointer r=terrence
2014-02-10 16:42:27 +00:00
Andrew McCreight
49737f8afc
Bug 965920, part3b - Add mozilla namespace to StaticRefPtr on this CLOSED TREE. r=bustage
2014-02-04 20:09:26 -08:00
Andrew McCreight
c74c718a3c
Bug 966766, part 4 - Smart pointerize clasp in XPCWrappedJSClass::GetNewOrUsed. r=gabor
2014-02-04 19:29:59 -08:00
Andrew McCreight
e71a246ee9
Bug 966766, part 3 - Rename clazz to clasp in XPCWrappedJSClass::GetNewOrUsed. r=gabor
2014-02-04 19:29:58 -08:00
Andrew McCreight
8f6860165e
Bug 966766, part 2 - Move AddRef out of the ctor for XPCWrappedJSClass. r=gabor
2014-02-04 19:29:58 -08:00
Andrew McCreight
44ed2b09c2
Bug 966766, part 1 - Remove null check in XPCWrappedJSClass::GetNewOrUsed. r=gabor
2014-02-04 19:29:58 -08:00
Andrew McCreight
c84efa5515
Bug 966765 - Remove DumpHeap call in ReleaseXPConnectSingleton. r=bholley
2014-02-04 19:29:58 -08:00
Andrew McCreight
125428116a
Bug 965920, part 3 - Smart pointerize newVariant. r=bholley
2014-02-04 19:29:58 -08:00
Andrew McCreight
bcb8940d58
Bug 965920, part 2 - Smart pointerize gSharedScriptableHelperForJSIID. r=bholley
2014-02-04 19:29:58 -08:00
Andrew McCreight
54dd65eac8
Bug 965920, part 1 - Smart pointerize getters in XPConnect. r=bholley
2014-02-04 19:29:57 -08:00
Phil Ringnalda
e2ac58a84b
Backed out 9 changesets (bug 965920, bug 966765, bug 966766)
...
CLOSED TREE
Backed out changeset 6c2bba06ed58 (bug 965920)
Backed out changeset e01c94498760 (bug 966766)
Backed out changeset e2585386f84e (bug 966766)
Backed out changeset d1db5d2a417f (bug 966766)
Backed out changeset f114c97660c6 (bug 966766)
Backed out changeset 2dd7d47a1e8c (bug 966765)
Backed out changeset 0f26c4b3eab7 (bug 965920)
Backed out changeset ca0b05e7155f (bug 965920)
Backed out changeset 55dcd2a5362e (bug 965920)
2014-02-04 21:01:19 -08:00
Andrew McCreight
8e4f22985b
Bug 965920, part3b - Add mozilla namespace to StaticRefPtr on this CLOSED TREE. r=bustage
2014-02-04 20:09:26 -08:00
Andrew McCreight
dea57666c2
Bug 966766, part 4 - Smart pointerize clasp in XPCWrappedJSClass::GetNewOrUsed. r=gabor
2014-02-04 19:29:59 -08:00
Andrew McCreight
efabfc8b21
Bug 966766, part 3 - Rename clazz to clasp in XPCWrappedJSClass::GetNewOrUsed. r=gabor
2014-02-04 19:29:58 -08:00
Andrew McCreight
b05f7817b5
Bug 966766, part 2 - Move AddRef out of the ctor for XPCWrappedJSClass. r=gabor
2014-02-04 19:29:58 -08:00
Andrew McCreight
fa0ef480d3
Bug 966766, part 1 - Remove null check in XPCWrappedJSClass::GetNewOrUsed. r=gabor
2014-02-04 19:29:58 -08:00
Andrew McCreight
69f3ca8723
Bug 966765 - Remove DumpHeap call in ReleaseXPConnectSingleton. r=bholley
2014-02-04 19:29:58 -08:00
Andrew McCreight
5c52f65c1f
Bug 965920, part 3 - Smart pointerize newVariant. r=bholley
2014-02-04 19:29:58 -08:00
Andrew McCreight
65a3d26078
Bug 965920, part 2 - Smart pointerize gSharedScriptableHelperForJSIID. r=bholley
2014-02-04 19:29:58 -08:00
Andrew McCreight
fa05df2e35
Bug 965920, part 1 - Smart pointerize getters in XPConnect. r=bholley
2014-02-04 19:29:57 -08:00
Bobby Holley
9e65275dc6
Bug 959013 - Create storage for declarative class bootstrapping information on js::Class. r=luke
2014-02-04 07:51:54 -08:00
Jon Coppeard
50e1f34d5a
Bug 959787 - Handlify JS_GetProperty and related APIs r=terrence r=bz
2014-01-31 09:55:20 +00:00
Carsten "Tomcat" Book
2a6caad1f0
Backed out changeset e2c75ec7f3d4 (bug 959787) for breaking b2g builds on a CLOSED TREE
2014-01-31 12:11:23 +01:00
Jon Coppeard
20b4926e22
Bug 965904 - Fix some rooting hazards in the browser r=terrence
2014-01-31 09:56:40 +00:00
Jon Coppeard
858370c616
Bug 959787 - Handlify JS_GetProperty and related APIs r=terrence r=bz
2014-01-31 09:55:20 +00:00
Chris Peterson
91f7b1bbc7
Bug 965693 - Remove annoying "Printing XUL documents is not supported" error dialog. r=roc
2014-01-29 20:40:34 -08:00
Eric Faust
750b2c708c
Bug 924720 - Followup: Add better comments to window convert stub change.(r=bholley over IRC)
...
DONTBUILD because comment-only.
2014-01-30 12:36:37 -08:00
Andrew McCreight
2d4fb597e8
Bug 963192, part 4 - Smart pointerize nsXPConnect::mDefaultSecurityManager. r=bholley
2014-01-30 11:20:42 -08:00
Andrew McCreight
bbdab5550f
Bug 963192, part 3 - Smart pointerize XPCContext::mException. r=bholley
2014-01-30 11:20:42 -08:00
Andrew McCreight
b470f2686e
Bug 963192, part 2 - Smart pointerize IID2ThisTranslatorMap. r=bholley
2014-01-30 11:20:42 -08:00
Andrew McCreight
acb5312bd5
Bug 963192, part 1 - Smart pointerize XPCWrappedJSClass::mInfo. r=bholley
2014-01-30 11:20:41 -08:00
Bobby Holley
5c45296ed8
Bug 872273 - Remove non-cx variant of ErrorFromException, and make it take a HandleObject. r=Waldo
...
We're going to need to start doing more work in js_ErrorFromException, which
will require a |cx| and may GC.
2014-01-30 09:30:29 -08:00
Bobby Holley
2b75bbbe71
Bug 959012 - Clean up and separate the semantics of js_{Get,Find}Class{Prototype,Object}. r=jorendorff
2014-01-30 07:45:16 -08:00
Bobby Holley
062a629dac
Bug 959012 - Remove unused cx parameter from JS_IdentifyClassPrototype. r=jorendorff
2014-01-30 07:45:16 -08:00
Andrea Marchesini
7184ae68ee
Bug 964293 - Implement Cu.cloneInto() method, r=bholley
2014-01-30 04:45:48 -08:00
Boris Zbarsky
e8d170691e
Bug 965144. Make the Window-specific bits of XrayWrapper work with WebIDL windows. r=bholley
2014-01-29 22:34:25 -08:00
Boris Zbarsky
e5abd9db16
Bug 963895. Add threadsafe versions of AutoJSContext/AutoSafeJSContext. r=bholley
2014-01-29 22:33:03 -08:00
Eric Faust
d24a35e290
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
fdd24700fe
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
a204c95cc9
Bug 965082 - Tests. r=mrbkap,r=gabor
2014-01-29 13:07:13 -08:00
Bobby Holley
731ce0363f
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
2a555922c2
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
92aa154f50
Merge mozilla-central and inbound
2014-01-29 10:39:41 +00:00
Jon Coppeard
d77eb96fa7
Bug 959787 - Handlify some JS friend APIs r=sfink
2014-01-29 10:01:33 +00:00
Jon Coppeard
e5c29b7f9d
Bug 959787 - Handlify some misc JS APIs r=sfink r=smaug
2014-01-29 10:00:40 +00:00
Henry Chang
c0e64a6d2c
Bug 811635 - Part 2: Implementation of WebIDLs/IDLs for WifiP2pManager and WifiP2pStatusChangeEvent. r=vchang
2014-01-27 15:48:10 +08:00
Chris Peterson
6fcb2b7947
Bug 964016 - Part 4: Replace JS_ALWAYS_INLINE with MOZ_ALWAYS_INLINE. r=luke
2014-01-24 20:14:56 -08:00
Andrew McCreight
a62f062437
Bug 963665 - Make nsIXPConnect noscript. r=bholley
2014-01-27 07:16:38 -08:00
Peiyong Lin
cc3a4c0c6b
Bug 961041 - Replace infallible allocation in DOMStorage::BroadcastChangeNotification with fallible allocation. r=smaug
2014-01-27 08:25:19 -05:00
Andrew McCreight
930625ba83
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
77460d628b
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
4a76452c21
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
cb8c659700
Bug 959787 - Handlify JS_Set* APIs r=terrence r=bz
2014-01-25 09:29:12 +00:00
Boris Zbarsky
be84d2e4ec
Bug 962605 part 2. Enable baseline jit in xpcshell. r=bholley
2014-01-22 14:37:11 -05:00
Bobby Holley
8356b2d621
Bug 957688 - Remove nsIXPCSecurityManager::CanAccess and nsScriptSecurityManager::CheckPropertyAccessImpl. r=mrbkap
...
\o/
2014-01-24 16:08:26 -08:00
Bobby Holley
094cd93292
Bug 957688 - Kill off checkAccess. r=mrbkap
2014-01-24 16:08:26 -08:00
Bobby Holley
fac9fbd739
Bug 957688 - Remove checkAccess nsIXPCScriptable hook. r=mrbkap
2014-01-24 16:08:25 -08:00
Terrence Cole
2ff953ff6d
Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 7; r=sfink
2014-01-21 17:03:20 -08:00
Terrence Cole
efb40c153d
Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 6; r=jonco
2014-01-17 10:10:17 -08:00
Jon Coppeard
b944c22698
Bug 959787 - Handlify JS_Lookup* APIs r=sfink r=bz
2014-01-24 14:03:56 +00:00
Nicholas Nethercote
b772cdc96b
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
26d6f457c4
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
84e05af59c
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
b6ff44e241
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
0933665788
Bug 962605. Enable baseline jit in xpcshell. r=bholley
2014-01-22 14:37:11 -05:00
Wes Kocher
3700a4c367
Backed out changeset c75f13d4f160 (bug 962605)
2014-01-22 16:16:07 -08:00
Boris Zbarsky
daf3325ff7
Bug 962605. Enable baseline jit in xpcshell. r=bholley
2014-01-22 14:37:11 -05:00
Tom Schuster
57f15ea1e2
Bug 958119 - Some cleanup for XPConnect. r=gabor
2014-01-22 18:50:32 +01:00
Carsten "Tomcat" Book
9a02f4280b
Merge mozilla-central to mozilla-inbound
2014-01-22 14:37:23 +01:00
Carsten "Tomcat" Book
95ba54861b
merge b2g-inbound to mozilla-central
2014-01-22 13:59:54 +01:00
Gina Yeh
a3eb2efd58
Bug 952907 - Patch 1: Use WebIDL codegen to implement Bluetooth events, r=smaug
2014-01-22 14:26:29 +08:00
Nathan Froyd
bc0d8111f4
Bug 962241 - don't spam error messages about ContractIDToCID failing; r=bholley
2014-01-21 16:14:22 -05:00
Jon Coppeard
739fa2381c
Bug 959787 - Handlify has property APIs r=terrence r=bz
2014-01-22 11:28:06 +00:00
Andrew McCreight
e09600e29f
Bug 961551, part 9 - Split scope of |wrapper|, plus other cleanup. r=bholley
2014-01-21 17:56:16 -08:00
Andrew McCreight
f9e241decc
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
3ca1e1b491
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
56a8074ebd
Bug 961551, part 6 - Smart pointerize wrapper. r=bholley
2014-01-21 17:56:15 -08:00
Andrew McCreight
e21cccb62b
Bug 961551, part 5 - Smart pointerize root. r=bholley
2014-01-21 17:56:15 -08:00
Andrew McCreight
dce295db38
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
e217280391
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
8bb0cff1fc
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
7219645381
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
cd58405598
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
1fc0abe0bc
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
b9bffb1af9
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
64053bce53
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