Mike Hommey
1255a621c5
Bug 875099 - Avoid including MDDEPEND_FILES twice. r=ted
2013-05-23 07:28:08 +02:00
Bobby Holley
29228294cc
Bug 874318 - Don't allow CALL on XOWs. r=mrbkap
2013-05-22 22:27:16 -06:00
Bobby Holley
8e973c4709
Bug 862380 - Tests. r=mrbkap
2013-05-22 22:27:15 -06:00
Bobby Holley
047952f04b
Bug 862380 - Silently fail for enumerate-like operations on XOWs. r=mrbkap
2013-05-22 22:27:15 -06:00
Bobby Holley
7e08d10ad9
Bug 862380 - Be more explicit about rejecting JSID_VOID for XOWs. r=mrkbap
...
We already do this, but it's helpful to be clear about it.
2013-05-22 22:27:15 -06:00
Bobby Holley
db59678169
Bug 862380 - Pass the entered id in addition to the wrapper action to Policy::deny. r=mrbkap
2013-05-22 22:27:15 -06:00
Gary Kwong
2eac6fb615
Bug 776043 - Make jittests assert if an error does not exit with failure; r=terrence
...
--HG--
extra : rebase_source : 629830fae497347215d188d687e3dc1e41144b3f
2013-05-22 10:10:20 -07:00
Eddy Bruel
32dbbdb389
Bug 637572 - Implement Debugger.Script.prototype.source; r=jimb
2013-05-22 16:42:52 -07:00
Eddy Bruel
11025099d7
Bug 637572 - Use ScriptSourceObject instead of ScriptSource; r=jimb
2013-05-22 16:23:07 -07:00
Eddy Bruel
a76dd02494
Bug 637572 - Implement ScriptSourceObject; r=jimb
2013-05-22 16:06:54 -07:00
Brian Hackett
8f35d832f0
Bug 870821 - Seed observed values for integer CALLELEM ops with the possible targets, r=jandem.
2013-05-22 16:48:19 -06:00
Bobby Holley
3f8e672bcc
Bug 868110 - Remove JS_GetGlobalObject. r=luke
...
\o/
2013-05-22 15:42:45 -06:00
Bobby Holley
11f2396ec2
Bug 868110 - Introduce a more private API for the consumers that really do need the default compartment object. r=luke
...
The primary consumer of this is the whole inner/outer DOM window setup, which
uses the default global to track the current inner. But there are few other
random ones as well.
We use this as an opportunity to convert a bunch of consumers from the two-step
GetNativeContext() -> JS_GetGlobalObject() into just |GetNativeGlobal()|. This
will make things much easier to convert when we start tracking the current inner
explicitly.
2013-05-22 15:42:44 -06:00
Bobby Holley
48e5c84941
Bug 871306 - Use the current global rather than the default global in jsdContext::GetGlobalObject. r=gabor
...
As far as I can tell from the IDL docs and digging through the Firebug source,
this is what we want here.
2013-05-22 15:42:44 -06:00
Bobby Holley
a024c7d683
Bug 871306 - Remove globalObject from jsdIFilter. r=gabor
...
It looks like firebug only ever passes null, which is equivalent to not using
it at all.
2013-05-22 15:42:43 -06:00
Bobby Holley
bf47cc7efa
Bug 871306 - Add an API for directly accessing the default JSD global and use it in ActivateDebugger. r=gabor
2013-05-22 15:42:43 -06:00
Tom Schuster
0c845c2f9b
Bug 863957 - Check if jsid is really a string in Components.interfacesByID. r=bz
2013-05-22 22:32:50 +02:00
Terrence Cole
7c51f6a483
Bug 872384 - Clone self hosted objects directly into tenured; r=till
...
The jit is allowed to bake pointers to intrinsics into jitcode. Since all
self-hosted clones are intrinsics, we need these to always be tenured.
--HG--
extra : rebase_source : b4e6b63db874a95d5eac4cafa34a7aaadd163f58
2013-05-16 10:24:22 -07:00
Terrence Cole
d16755d75d
Bug 851057 - Implement generational GC support in IonMonkey; r=dvander
2013-04-18 17:03:40 -07:00
Brian Hackett
44e7cd3917
Bug 870052 - Various tweaks to reduce recompilation on asm.js style apps, r=jandem.
2013-05-22 11:36:29 -06:00
Bobby Holley
66c9dffde0
Bug 872135 - Use the SafeJSContext in nsXPConnect::CheckForDebugMode. r=gabor
2013-05-22 10:05:28 -06:00
Bobby Holley
bc91b98ea1
Bug 868130 - Fix include guard. r=me
2013-05-22 10:05:28 -06:00
Bobby Holley
1b2f22fe61
Bug 868130 - Remove the lion's share of JSAutoRequests in gecko. r=gabor
...
There are still a handful that either are used with other runtimes, or that
happen very early/late in cx the lifetime of various things where it doesn't
necessarily make sense to have a cx on the stack. This should definitely ensure
that we're not doing double-duty with the nsCxPusher change, though.
2013-05-22 10:05:28 -06:00
Bobby Holley
583ca59ca3
Bug 868130 - Add an AutoRequest inside nsCxPusher. r=gabor
2013-05-22 10:05:26 -06:00
Bobby Holley
2b2cd4e0b7
Bug 868130 - Remove the dependencies of the nsCxPusher machinery on nsContentUtils, use nsCxPusher in xpcshell, and privatize APIs. r=gabor
...
No more xpc::danger, for now. ;-)
2013-05-22 10:05:26 -06:00
Bobby Holley
772a8da25d
Bug 868130 - Move nsCxPusher into XPConnect. r=gabor
...
The JSContext stack is an XPConnect construction. In particular, there are
situations where we want to manipulate it outside the lifetime of nsContentUtils
but within the lifetime of the stack itself. In order to do this cleanly, it's
helpful to use private XPConnect APIs. So the first step here is to move this into
js/src/xpconnect, so that we can take advantage of the stuff in xpcprivate.h.
--HG--
rename : content/base/src/nsCxPusher.cpp => js/xpconnect/src/nsCxPusher.cpp
rename : content/base/public/nsCxPusher.h => js/xpconnect/src/nsCxPusher.h
2013-05-22 10:05:26 -06:00
Bobby Holley
ba05c93769
Bug 868130 - Include nsCxPusher.h everywhere we need it, and stop including it from nsContentUtils.h. r=gabor
2013-05-22 10:05:26 -06:00
Bobby Holley
e8d172db93
Bug 868130 - Make sure to push the context in the ObjectWrapperChild constructor. r=gabor
2013-05-22 10:05:24 -06:00
Bobby Holley
8ed4c38fb9
Bug 868130 - Enter a request for all of OnJSContextNew. r=peterv
2013-05-22 10:05:23 -06:00
Brian Hackett
8bbd38036f
Bug 871075 - Add rooting analysis warnings for unsafe address taken of variables DONTBUILD
2013-05-22 07:47:41 -06:00
Jan de Mooij
2c2722d303
Bug 857845 part 3 - Remove JM JSAPI flags, memory reporters and browser prefs. r=djvj
...
--HG--
extra : rebase_source : 8b2ed85801fcd8c8fd0fc16a89b1a275add1a310
2013-05-22 14:50:45 +02:00
Brian Hackett
7434d81681
Bug 871002 - Use uint32 comparisons more often, r=jandem.
2013-05-22 06:50:18 -06:00
Shu-yu Guo
df0a7a754a
Bug 867471 - Part 3: Compile rest parameter in Ion for parallel execution. (r=nmatsakis)
2013-05-21 23:52:45 -07:00
Shu-yu Guo
00a04666f5
Bug 867471 - Part 2: Compile rest parameter in Ion for sequential execution. (r=djvj)
2013-05-21 23:52:45 -07:00
Shu-yu Guo
3f483d8e00
Bug 867471 - Part 1: Compile rest parameter in Baseline. (r=djvj)
2013-05-21 23:52:44 -07:00
Brian Hackett
84d2860f57
Bug 868206 - Various fixes for the backtracking register allocator, r=jandem.
2013-05-21 21:40:44 -06:00
Matt Stults
d9592e088d
Bug 841615: Use MatchOnly mode for str.match(), saving wasted work when using .match() with a global regex; r=sstangl
2013-05-21 22:59:18 -04:00
Boris Zbarsky
b0c5538087
Bug 874612. Make some nsIXPConnectWrappedNative methods take a Handle<jsid> instead of a jsid. r=bholley
2013-05-21 22:59:17 -04:00
Luke Wagner
db9ac2b5d4
Bug 864587 - Avoid overflowing the stack on long if/else-if chains in asm.js (r=sstangl)
...
--HG--
extra : rebase_source : af47319af567ac1d6a86e67f95c5ac6d332b1713
2013-05-08 18:34:56 -07:00
Luke Wagner
6f87adbe20
Bug 686274 - Increase the limit on the maximum size of array initializers (r=bhackett)
...
--HG--
extra : rebase_source : 1c2cb231b8f7ea58089b353654efc886ad244ad0
2013-05-20 17:18:23 -07:00
Shu-yu Guo
d3daa92bb0
Bug 873320 - Pass DEBUG defines into embedjs.py. (r=till)
2013-05-21 14:03:57 -07:00
Terrence Cole
cf4e01f8ef
Bug 873136 - Only store the JSRuntime on the minor tracer once; r=billm
...
--HG--
extra : rebase_source : 76fc04c63d69041cd1133da2c7fa386d711ad0af
2013-05-14 13:09:22 -07:00
Terrence Cole
bcbc015831
Bug 870496 - Purge moved objects in the NewObjectCache on minor GC; r=billm
...
--HG--
extra : rebase_source : 8d4b7df4cff1df4f1fc1de88e823a3e7541a55df
2013-05-08 12:02:48 -07:00
Terrence Cole
6ed162ee8d
Bug 873142 - Do not shrink Arrays when tenuring; r=billm
...
The JITs assume that the capacity will not change between the initarray and the
actual initialization.
--HG--
extra : rebase_source : 53a3fe20f7fc687869ee303f58fbfa1bcf7324be
2013-05-14 13:09:26 -07:00
Kannan Vijayan
e9d7d8d22f
Bug 870514 - Uncommitted nit. r=h4writer
2013-05-21 16:42:56 -04:00
Kannan Vijayan
d200bc093a
Bug 870514 - Add Ion stubs for optimized shadowed gets on proxy objects. r=h4writer
2013-05-21 16:40:10 -04:00
Kannan Vijayan
ab2ecefe89
Bug 870514 - Add Baseline stubs for optimized shadowed gets on proxy objects. r=h4writer
2013-05-21 16:34:41 -04:00
Jason Orendorff
83482e8008
Back out 91b95649a71e for GCC bustage. r=red on a CLOSED TREE.
2013-05-21 14:29:16 -05:00
Jason Orendorff
32ba8511bd
Silence clang "enumeration value not handled in switch" warnings. No bug#, rs=sfink on IRC.
2013-05-21 11:51:23 -05:00
Jason Orendorff
bbfe4f76d6
Bug 874199 - Remove file-wide namespace blocks from Parser.cpp. r=luke.
2013-05-21 11:06:42 -05:00