Jim Blandy
b755c3b751
Bug 796073: Use Debugger.Object.prototype.makeDebuggeeValue where appropriate, not Debugger.prototype.addDebuggee. r=luke
...
Many tests use Debugger.prototype.addDebuggee to produce Debugger.Object
instances referring to random objects. Now we have
Debugger.Object.prototype.makeDebuggeeValue to do that, which is more
careful about wrappers. This patch changes all the existing tests that
abuse addDebuggee in this way (well, they didn't have any choice when they
were written) to use makeDebuggeeValue instead, in preparation for
tightening up addDebuggee to only accept global objects.
2012-10-13 16:04:41 -07:00
Jim Blandy
9e7714919a
Bug 795119: Complain coherently when evalInGlobal{,withBindings} is passed a CCW to a global, not a global. r=luke
2012-10-13 16:04:16 -07:00
Jim Blandy
789197fda9
Bug 799272: Implement Debugger.Object.prototype.unwrap. r=luke
2012-10-13 16:04:16 -07:00
Jim Blandy
520b89592a
Bug 799272: Implement Debugger.Object.prototype.global. r=luke
2012-10-13 16:04:16 -07:00
Jacek Szpot
0ebb25a85a
Bug 800106: replace NS_ALWAYS_INLINE with MOZ_ALWAYS_INLINE; r=ehsan
2012-10-13 17:52:10 +02:00
Jan Beich
a9328aa582
Bug 801295 - mincore() call has incorrect type on tier3 (non-Linux). r=jlebar
...
--HG--
extra : rebase_source : 3201ac0b491a8cb40f916276e5b34a14d3122dc7
2012-10-13 09:34:00 -04:00
Till Schneidereit
70ab7b00c6
Bug 784400 - Move all intrinsics initialization from the globalObject->intrinsicsHolder object to the runtime's selfHostingGlobal. r=luke
2012-10-11 14:43:21 +02:00
Till Schneidereit
8cf23858fa
Bug 784400 - Enable cloning of object literals within functions. r=luke
2012-10-11 11:53:02 +02:00
Till Schneidereit
9c3f9146e0
Bug 784400 - Give self-hosted code access to standard builtins. r=luke
2012-08-28 04:58:00 +02:00
Till Schneidereit
8af01ce667
Bug 784620 - Support reading self-hosted JS from a file set via environment variable. r=terrence
2012-10-11 11:19:43 +02:00
Benjamin Peterson
e4dfaf6857
Bug 779118 - Try to be more robust about waiting for compression to finish. r=luke
2012-10-13 09:24:13 -04:00
Benjamin Peterson
85e07532ff
Bug 791465 - Fix processDirectives' ASI emulation. code=André Bargull r=benjamin
2012-10-13 09:23:53 -04:00
Benjamin Peterson
3d2f961aae
No bug - Readd executable bit. rs=terrence
...
--HG--
extra : rebase_source : c3a77fb2fd8d6b1bae65efdd2bbc481f139b91e9
2012-10-12 14:44:20 -04:00
Andrew Quartey
464807b57d
Bug 792581 - part 16: Replace LL_L2UI macro with uint32_t cast. r=ehsan
2012-10-12 13:29:11 -04:00
Justin Lebar
ddc9c65e5f
Bug 798510 - Part 2: Fix bug in JSRuntime::sizeOfExplicitNonHeap() where, if execAlloc_ is null, we don't measure the stack space. rs=njn
2012-10-12 10:26:06 -04:00
Justin Lebar
9ed3356569
Bug 798510 - Part 1: Use mincore to correctly calculate js::StackSpace::sizeOfCommitted() on *nix. r=luke,njn
...
Previously, we assumed all memory was committed, thus vastly overstating the memory used by our stack.
2012-10-12 10:26:06 -04:00
Ed Morley
8fc88262ba
Backout 3044539fec87 (bug 799465),2dbcd6d16b43 (bug 798264), f7019f73a5f0 (bug 711628), a484a3a904da, 7154061ddc00 & 7e7fc42021c1 (bug 799465) for burning
2012-10-12 14:45:38 +01:00
Peter Van der Beken
52e6c5623d
Fix for bug 799465 (Add complete support for non-nsISupports objects in new DOM bindings) - fix CC traversal and wrapper preservation. r=bz.
...
--HG--
extra : rebase_source : 42b0e6db4b418901f253d66e7323ba5a7cd83eea
2012-09-26 20:12:15 +02:00
Nicholas Cameron
404ba9b65d
Bug 734668; reviewer's changes. r=Ms2ger,roc
...
--HG--
rename : content/canvas/src/nsCanvasRenderingContext2DAzure.cpp => content/canvas/src/CanvasRenderingContext2D.cpp
extra : rebase_source : 827a45dd8cc2bdc77e850e8b1d1e23e9f2f72f7d
2012-10-12 22:42:53 +13:00
Nicholas Cameron
80df51e492
Bug 734668; remove canvas quickstubs. r=Ms2ger
...
--HG--
extra : rebase_source : ceefaf29933c58a0605d60a599fddf31b0c1b229
2012-10-12 22:42:53 +13:00
Nicholas Nethercote
0a7dd0f914
Bug 800481 - Remove unnecessary second arg from HashTable::hash{1,2}. r=luke.
2012-10-11 16:36:29 -07:00
Ehsan Akhgari
1b602e3962
Backout bug 798510 because of xpcshell orange
2012-10-11 20:17:33 -04:00
Trevor Saunders
3d3592cd63
bug 798595 - remove useless prmem.h includes r=ehsan
2012-10-04 02:14:06 -04:00
Justin Lebar
2b6b69da90
Bug 798510 - Part 2: Fix bug in JSRuntime::sizeOfExplicitNonHeap() where, if execAlloc_ is null, we don't measure the stack space. rs=njn
2012-10-11 18:55:53 -04:00
Justin Lebar
d90a8e1023
Bug 798510 - Part 1: Use mincore to correctly calculate js::StackSpace::sizeOfCommitted() on *nix. r=luke,njn
...
Previously, we assumed all memory was committed, thus vastly overstating the memory used by our stack.
2012-10-11 18:55:53 -04:00
David Anderson
3266eed6fc
Don't explicitly unbox before GetPropertyCache (bug 799907, r=djvj).
2012-10-11 13:47:50 -07:00
Bobby Holley
c30bf840f9
Bug 799348 - When creating a new content window, create the surrounding chrome docshell as system. r=bz
2012-10-11 19:44:20 +02:00
Nicolas B. Pierron
be98caba91
Bug 797977 - Rename StackIter::fp() to StackIter::interpFrame(). r=luke
2012-10-10 20:50:07 -07:00
Sean Stangl
5304d41f92
Bug 798946 - Confer with TI about the return type of Math.random(). r=dvander
2012-10-10 17:07:53 -07:00
Rafael Ávila de Espíndola
6bf8982169
Bug 799807 - update reference to llvm bug. r=dvander.
2012-10-10 10:31:02 -04:00
Bobby Holley
0403fed8cc
Bug 797204 - Remove API. r=mrbkap
...
\o/
2012-10-10 11:01:26 +02:00
Bobby Holley
220736fd0b
Bug 797204 - Consolidate XBL filename hack logic into nsContentUtils. r=mrbkap
...
These two functions do the exact same thing, as far as I can tell.
2012-10-10 11:01:26 +02:00
Bobby Holley
055fcd4448
Bug 789224 - Remove chrome check in xpc_EvalInSandbox. r=mrbkap
...
This function is also called to evaluate javascript:// URIs, at which point the chrome caller assumption isn't actually valid. Let's just do the modern thing here, and fix up the caller that breaks.
2012-10-10 11:01:26 +02:00
foudfou
3a23c1b328
Bug 793433 - Fix crash when nsAppShellService::RegisterTopLevelWindow called with invalid arguments. r=bholley
...
--HG--
extra : rebase_source : 2f3be0e474c727ea5a58177809bf3af1f34477ec
2012-10-09 11:56:58 +02:00
Marty Rosenberg
0755fd0e7b
Change the method we use to update ranges on phis so narrowing works properly (bug 799282, r=jandem)
2012-10-10 01:25:03 -04:00
Marty Rosenberg
7240ad13d1
The fix bitand to not compute bogus ranges (bug 799793, r=dvander)
2012-10-10 01:25:03 -04:00
Nicholas Nethercote
a67ecb43f6
Bug 793967 - Refactor Proxy::getElementIfPresent(). r=ejpbruel.
...
--HG--
extra : rebase_source : 5832487556791f6fc36b840d6306875c2c3e386a
2012-10-07 22:39:54 -07:00
Terrence Cole
acbbc1562e
Bug 799777 - Unravel the threaded interpreter; r=luke
...
With the JITs, this is no longer buying us performance proportional to its
complexity.
2012-10-09 17:26:13 -07:00
Terrence Cole
e7ed15573e
Bug 798624 - Specialize low-level character access to JSStableString; r=luke, rs=Waldo
...
Implements JSStableString::chars() and pushes StableCharPtr into the interface
at several key choke-points. This will solidly enforce the requirement that we
have uninlined jschar*s in places that we may GC with a jschar* on the stack.
--HG--
extra : rebase_source : 122785b474af371ed22d43a6bfcb600c05440405
2012-10-08 15:04:36 -07:00
Ehsan Akhgari
7d0ac4e6bc
Bug 799432 - Backout changeset 30ab4e1d4874 and changeset dbcc29e9fcf6 from bug 777292 since they're no longer necessary with bug 795238
2012-10-09 16:01:24 -04:00
Jim Blandy
ea20ea661f
Bug 795173: Make Debugger.Object.prototype.evalInGlobalWithBindings pass the right 'this' value. r=jorendorff
...
This also adds a test for Debugger.Frame.prototype.evalWithBindings, to
make sure it puts new variables on the right object; I couldn't find any
existing tests for the non-strict case (Frame-evalWithBindings-11.js
handles the strict mode case).
2012-10-09 12:02:30 -07:00
Benoit Jacob
966189fec7
Bug 779611 - part 9: port WebGLActiveInfo to WebIDL bindings - r=bz
2012-10-09 14:39:49 -04:00
Chris Peterson
4aecbbb60b
Bug 799307 - Remove some XPCDebug.cpp cruft that was obsoleted by bug 787856. r=billm
2012-10-08 17:29:47 -07:00
Bobby Holley
ccb9171060
Bug 786142 - Make sure we have a real WN in MoveWrappers. r=peterv
2012-10-09 17:28:13 +02:00
Gabor Krizsanits
741ac104b0
Bug 684601 - window.toString.call() with native JS Object; r=bz
2012-10-09 17:21:53 +02:00
Eddy Bruel
00c27f6ed0
Bug 797469 - Avoid putting a JSFunction in Objectbox; r=jorendorff
2012-10-09 17:02:00 +02:00
Ted Mielczarek
50d314a70a
bug 787176 - Add a Python wrapper script for running C++ unit tests. r=jmaher,waldo
...
--HG--
extra : rebase_source : 2282494578a7dd792555633df2526835d39c5ac4
2012-08-30 15:20:38 -04:00
Mike Hommey
da3307eff1
Bug 795204 - Trick make/pymake into waiting for shared libraries rules to run before installing import libraries in DIST/lib. r=ted
2012-10-09 10:17:26 +02:00
Nicolas B. Pierron
e478958e48
Bug 798913 - Prevent inlining of overflow of arguments. r=dvander
2012-10-08 18:12:25 -07:00
Sean Stangl
e0796dd756
Bug 799297 - Pass explicit type to loadUnboxedValue(). r=dvander
2012-10-08 17:27:10 -07:00