Commit Graph

19153 Commits

Author SHA1 Message Date
Benjamin Peterson
dd08b0a4b3 Bug 759498: fix defaults when arguments are bound as functions, r=jorendorff
--HG--
extra : rebase_source : 6671517779bbaaf7cf1fd6410255823f877345ad
2012-06-02 20:16:24 +02:00
Benjamin Peterson
9ee27fde3f Bug 757676: implement default parameters in JaegerMonkey, r=bhackett
--HG--
extra : rebase_source : f5220941d9502d49b0c230081c265f845396a251
2012-06-02 20:16:24 +02:00
Tom Schuster
6fdcc6686a Bug 752226 - Remove JSVAL_IS_OBJECT from the jsapi. r=dmandelin
--HG--
extra : rebase_source : 0943efd64ddf199a4cef12072239302408e5aae5
2012-06-02 20:15:38 +02:00
Blake Kaplan
80d8c99cbf Bug 751858 - Actually throw when we deny access. r=bholley 2012-05-04 14:22:55 +02:00
Phil Ringnalda
848811b688 Back out ee940e4debd0:7636c7036e2e (bug 659577) for asserting in testBug550743.js 2012-06-01 00:12:22 -07:00
Luke Wagner
aa64c23db1 Bug 659577 - Don't alias stack variables (r=bhackett)
--HG--
rename : js/src/jit-test/tests/basic/testBug659577.js => js/src/jit-test/tests/basic/testBug659577-1.js
2012-02-23 13:59:10 -08:00
Luke Wagner
ff6c3555a2 Bug 659577 - Embed blockChain information in ALIASEDVAR ops (r=waldo)
--HG--
extra : rebase_source : ea0deae107902520b392ed1eeddcd8c6420945ee
2012-05-10 11:24:20 -07:00
Luke Wagner
8f448975e1 Bug 659577 - emit ScopeCoordinate::hops (r=waldo)
--HG--
extra : rebase_source : e8496f21b3e025b5cee07f627e39535add9904f0
2012-04-11 18:09:20 -07:00
Luke Wagner
9ed98dedbf Bug 659577 - Remove ScopeObject::maybeStackFrame use in the debugger, part 2 (r=jimb)
--HG--
extra : rebase_source : 997dd4ccb8e2dce45b1d1eeae2ab7ec6679efed9
2012-05-09 23:03:12 -07:00
Luke Wagner
862b55e3eb Bug 659577 - Remove ScopeObject::maybeStackFrame use in the debugger, part 1 (r=jimb)
--HG--
extra : rebase_source : ff45b986e1a260b0f935913533f9b1c1e1ffdad8
2012-05-02 09:56:02 -07:00
Luke Wagner
b595435dc9 Bug 659577 - Don't alias stack variables (r=bhackett)
--HG--
extra : rebase_source : 0a7b6cae49e6de547de013c834d0ad258ecc3702
2012-02-23 13:59:10 -08:00
Luke Wagner
e395abbd15 Bug 659577 - Embed blockChain information in ALIASEDVAR ops (r=waldo)
--HG--
extra : rebase_source : 4d5eb44ed9a04b0185d6a64ed1dad710cf079f3f
2012-05-10 11:24:20 -07:00
Luke Wagner
731780b34b Bug 659577 - emit ScopeCoordinate::hops (r=waldo)
--HG--
extra : rebase_source : 3698a6411ffcae90bbcfaa7a965d8de648b3e509
2012-04-11 18:09:20 -07:00
Luke Wagner
a53f1cb215 Bug 659577 - Remove ScopeObject::maybeStackFrame use in the debugger, part 2 (r=jimb)
--HG--
extra : rebase_source : 1bd7e93270076aff49fdf5c23660d6678e3027c8
2012-05-09 23:03:12 -07:00
Luke Wagner
b67e550da3 Bug 659577 - Remove ScopeObject::maybeStackFrame use in the debugger, part 1 (r=jimb)
--HG--
extra : rebase_source : 7439c923afe48b3e63c498972c707eca947c53c9
2012-05-02 09:56:02 -07:00
Nicholas Nethercote
e3cf9cdc72 Bug 710922 - Don't call m_pools.all() if m_pools isn't initialized. r=luke.
--HG--
extra : rebase_source : 72da22ce0e29d449da9ffa211b4b892ab7796303
2012-05-31 19:10:05 -07:00
Luke Wagner
6419266cab Bug 760071 - Debug scope proxies should allow the debugger to define new properties (r=jimb) 2012-05-31 17:44:00 -07:00
Benjamin Peterson
9113be1e37 Bug 759976: remove JSDEBUGGER* sections, r=jorendorff
--HG--
extra : rebase_source : 28218e232c0ad77f649ce7d56a430b8f2e20777c
2012-05-31 16:14:13 -05:00
Benjamin Peterson
c437b7168b Bug 759902: reduce JSBool usage in js.cpp to a minimum, r=jorendorff
--HG--
extra : rebase_source : 096c936550ff7de2e89362a177fde76dfb58dbce
2012-05-31 16:14:04 -05:00
Benjamin Peterson
0a1ddddd6a Bug 758428: complain when the compiler returns false without an error, r=jorendorff
--HG--
extra : rebase_source : 7a4b97f8e28c7d89ab682d9d21dcfe65b23b2939
2012-05-31 16:13:10 -05:00
Jason Orendorff
376b7e9955 Fix building with --disable-e4x. No bug, r=jimb on IRC.
--HG--
extra : rebase_source : 7b9a7f8a6ec479caacbbf5ac36b89a0464efe897
2012-05-31 15:53:32 -05:00
Tom Schuster
8c91610c6d Bug 420837 - Calling Iterator() without parameters should throw a better error message. r=luke 2012-05-31 23:28:39 +02:00
Joey Armstrong
acc4f20b60 bug 758782: mkdir_deps dependencies should be .PRECIOUS 2012-05-30 10:27:09 -04:00
Boris Zbarsky
176566d5d3 Merge backout of changeset f96e0f078b49 (bug 748266) 2012-05-31 16:21:05 -04:00
Boris Zbarsky
19d2fed0a9 Backed out changeset f96e0f078b49 (bug 748266) because the test suite is bogus and we're failing a crashtest too. 2012-05-31 16:20:49 -04:00
Jim Blandy
9e3239cc9a Bug 747514: Implement Debugger.Environment.prototype.callee accessor. r=jorendorff 2012-05-31 13:13:53 -07:00
Jim Blandy
3256e3de7b Bug 747514: Assert that object environments' scopes are either WithObjects or non-DebugScopes. r=jorendorff 2012-05-31 13:13:53 -07:00
David Zbarsky
f19b65b484 Bug 759504: return NULL instead of false for getPrototype r=peterv 2012-05-31 11:47:22 -07:00
Boris Zbarsky
1dbd12b802 Bug 748266. Switch the WebGL canvas context to new DOM bindings. r=peterv 2012-05-31 14:16:48 -04:00
Benjamin Peterson
4f1a4e55d4 Bug 759904 - Make sure to call endBody on GenexpGuard, r=jorendorff 2012-05-31 10:57:04 -07:00
Bobby Holley
717cddc4c1 Bug 760076 - Make |construct| use Wrapper::CALL. r=mrbkap 2012-05-31 18:36:15 +02:00
Bobby Holley
8a078b54cb Bug 760070 - Make the __exposedProps__ warning appear as an error. r=bz 2012-05-31 16:28:09 +02:00
Makoto Kato
dc056a2e65 Bug 721284 - GMail broken on Windows builds with JS PGO enabled. r=dmandelin 2012-05-31 15:48:30 +09:00
Luke Wagner
cb02754ea9 Bug 758617 - Fix StackIter::settleOnNewState to handle cross-context eval-in-frame (r=jorendorff) 2012-05-29 14:46:42 -07:00
Jason Orendorff
553df149b1 Bug 738468 - DebuggerScript_getUrl crashes if script->filename is null. r=jimb. 2012-05-30 15:05:59 -05:00
Jason Orendorff
ce79e7c576 Bug 753885 - Part 3: Expose XML global constructors only if JSOPTION_ALLOW_XML is set. r=Waldo. 2012-05-30 15:05:59 -05:00
Jason Orendorff
d0e13c7d3f Bug 753885 - Part 2: Add JSOPTION_ALLOW_XML, making E4X support optional per-context. r=Waldo. 2012-05-30 15:05:59 -05:00
Jason Orendorff
a03f10d77d Bug 753885 - Part 1: Rename JSOPTION_XML to JSOPTION_MOAR_XML, and other cleanups. r=Waldo. 2012-05-30 15:05:58 -05:00
Jason Orendorff
abff958db1 Bug 752632 - Support building SpiderMonkey without E4X by doing: configure --disable-e4x. r=jimb. 2012-05-30 15:05:58 -05:00
Jason Orendorff
241d2d2623 Follow-up to bug 755808 comment 6. rs=sfink on #jsapi. 2012-05-30 15:05:58 -05:00
Jan de Mooij
ee3c9c779a Bug 759626 - Cache the result of InferSpewColorable to avoid a ton of getenv calls. r=bhackett
--HG--
extra : rebase_source : bcf1055b9f401561c1bbc33a4757177df1b81d60
2012-05-30 20:24:04 +02:00
Ed Morley
8f3214576b Merge mozilla-central to mozilla-inbound 2012-05-30 18:24:56 +01:00
Gervase Markham
638c878b13 Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Peter Van der Beken
60a324c031 Fix for bug 759275 (Specialize unwrapping to HTML elements in dom bindings). r=bz.
--HG--
extra : rebase_source : f676440e468c23e6c1e9458f6d75a615b9a6b8d7
2012-05-21 23:29:58 +02:00
Jan de Mooij
49b382b229 Bug 756632 - Handle OOM in methodjit jsop_getgname/jsop_setgname methods. r=bhackett 2012-05-30 10:16:20 +02:00
Jan de Mooij
02824f1582 Bug 756610 - Handle OOM in js_CopyErrorObject. r=bhackett 2012-05-30 10:06:49 +02:00
Nicholas Nethercote
716cbb90a5 Bug 754181 - Don't store the strict mode code flag twice (attempt 2). r=jwalden,luke.
--HG--
extra : rebase_source : 449cd51da93c261aa38e7de6b5b6a9c0ac8c7a71
2012-05-21 20:06:43 -07:00
Bobby Holley
60fe98645b Bug 752038 - Avoid getting confused by PreCreate giving a different answer when we wrap objects cross-compartment during reparenting. r=mrbkap 2012-05-29 23:24:03 +02:00
Timothy B. Terriberry
e4336bebb6 Bug 759008 - Remove unused LIBOBJS from rules.mk, r=glandium 2012-05-29 11:54:31 -07:00
Jan de Mooij
0f79713e95 Bug 759409 - Cleanup methodjit CompileRequest. r=bhackett 2012-05-29 19:45:13 +02:00
Ed Morley
4f5e842e4d Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-05-28 14:13:56 +01:00
Mike Hommey
7b77a4cec3 Bug 758010 - Wrap operator new/delete on Android. r=khuey 2012-05-26 10:21:33 +02:00
Till Schneidereit
f21b878154 Bug 758278 - Sweep crossCompartmentWrappers of all compartments, not only GCed ones. r=billm 2012-05-24 19:04:44 +02:00
Ginn Chen
39424c7abd Bug 758484 correct comment syntax for mapfile r=ted.mielczarek 2012-05-28 09:31:51 +08:00
Benjamin Peterson
910c406f12 Bug 757676 - Implement JS default parameters. r=jorendorff 2012-05-26 09:33:53 -04:00
David Rajchenbach-Teller
35d32fe331 Bug 757469 - Implement ctypes.off_t. r=jorendorff 2012-05-26 09:33:52 -04:00
dev
92dd78a294 Bug 755631 - Remove extraneous exceptions in Cross Origin Wrappers. r=mrbkap 2012-05-26 09:33:52 -04:00
Ed Morley
bffc23481f Merge mozilla-central to mozilla-inbound 2012-05-25 22:44:48 +01:00
Bill McCloskey
c4d3470cb6 Back out bug 753283 for windbg purple 2012-05-25 13:50:18 -07:00
Mike Hommey
649f071818 Backout changeset 81c2e2ea2dbf (bug 746794) because of bug 758648 2012-05-25 18:21:03 +02:00
Ms2ger
2d6f04146c Merge m-c to m-i. 2012-05-25 11:15:32 +02:00
Ms2ger
1cdc6e0bb4 Bug 747434 - Part 3: Remove unused variable 'startingObj' from XPCWrappedNativeScope::FindInJSObjectScope; r=gabor 2012-05-25 09:18:31 +02:00
Ms2ger
74b4797fd1 Bug 758143 - Add xpc::GetCompartmentPrivate; r=bholley 2012-05-25 09:18:31 +02:00
Ms2ger
5767fce330 Bug 758132 - Remove warning pragma from jscompartment.h; r=luke 2012-05-25 09:18:30 +02:00
Bill McCloskey
5563e443bb Bug 758471 - Don't sweep native interfaces during compartment GC (r=bholley) 2012-05-25 11:06:13 -07:00
Bill McCloskey
f04b6adae5 Bug 753283 - Poison VM stack to help fuzzers (r=bhackett) 2012-05-25 10:53:19 -07:00
Bobby Holley
0639533b11 Bug 758563 - Warn when __exposedProps__ is missing. r=bz 2012-05-25 18:42:40 +02:00
Brian Hackett
54dc58371b Move JIT handles in scripts to a separate structure, bug 758613. r=dvander 2012-05-25 08:20:33 -07:00
Luke Wagner
7dedb850a1 Bug 756919 - Handle prologue failure in ScopeIter (r=jimb) 2012-05-25 11:44:41 +02:00
Luke Wagner
4dbbb18fe7 Bug 756918 - Fix aliased, empty destructuring let (r=waldo) 2012-05-25 11:44:38 +02:00
Jeff Walden
b7bb2a4019 Bug 757562 - Remove JSRESOLVE_CLASSNAME. r=dmandelin
--HG--
extra : rebase_source : 9b5a920f7c7441ee21b2dd2331a98fc70b42ed41
2012-05-21 18:08:11 -07:00
Mike Hommey
0b236180b9 Bug 746794 - Always use the STL wrappers when #pragma visibility is supported. r=ted 2012-05-25 08:31:33 +02:00
Steve Fink
915fe9a0dd Bug 758108 - Display test failures immediately. r=terrence
--HG--
extra : rebase_source : 193d233c56c684a63b3f93daf5903f7aef4ccfa2
2012-05-24 22:06:48 -07:00
Ryan VanderMeulen
a9f316abdc Backout 3a9f8be665a4 (bug 757469) due to orange. 2012-05-23 22:42:53 -04:00
David Rajchenbach-Teller
482cd3a689 Bug 757469 - Implement ctypes.off_t. r=jorendorff 2012-05-23 20:56:40 -04:00
Nicholas Nethercote
f7caed1df2 Bug 757690 - Follow-up: don't use a line number of 0 in the JS shell. r=jorendorff.
--HG--
extra : rebase_source : df78cd577d256c5b75aaeb496950d5af287e1b90
2012-05-23 17:43:10 -07:00
Bill McCloskey
aa76e7cc50 Backout bug 757667 for bustage 2012-05-23 17:14:26 -07:00
Nicholas Nethercote
94db628469 No bug - Remove dead JS_SCRIPT_COOKIE. r=jorendorff (via IRC).
--HG--
extra : rebase_source : 35e8b3919f4566dda17bbaa5b8f8738bc71669d0
2012-05-23 16:19:39 -07:00
Nicholas Nethercote
b1d433d949 Bug 757690 - Merge TokenStream::TokenStream() and TokenStream::init(). r=jorendorff.
--HG--
extra : rebase_source : a389e46e1c633a133a2f8b68b3cb5fa186c8c1fd
2012-05-23 16:18:51 -07:00
Bill McCloskey
ef229666ab Bug 757667 - Clean up Proxy tracing (r=terrence) 2012-05-23 16:31:26 -07:00
Bill McCloskey
d5fa0c6f8f Bug 757483 - Don't throw away JIT code during later incremental slices (r=bhackett) 2012-05-23 16:27:15 -07:00
Bill McCloskey
df21493dbc Bug 731423 - Don't do incremental GC when hitting alloc trigger (r=gwagner) 2012-05-23 16:24:26 -07:00
Phil Ringnalda
5d0b2c4f7e Back out 58ca5bf07352 (bug 738480) for xpcshell and browser-chrome orange on a CLOSED TREE 2012-05-23 15:21:55 -07:00
Terrence Cole
c90ea54071 Bug 730933 - Make IsAboutToBeFinalized indirect; r=billm
This additionally moves the interface into js::gc:: and renames it to
CheckFooMarked.

--HG--
extra : rebase_source : cbe66c7219cfc637f8655e3356040e532252183a
2012-05-23 10:34:29 -07:00
Bill McCloskey
18a4a7a005 Bug 754989 - Fix copy-paste error (r=bholley) 2012-05-23 10:32:13 -07:00
Bill McCloskey
8a759834ea Bug 754989 - Assert for cross-compartment wrappers (r=bholley) 2012-05-23 10:17:21 -07:00
Jason Orendorff
f054691fcb Bug 738480 - Debugger.prototype.findScripts does not find non-compileAndGo scripts. r=jimb.
--HG--
extra : rebase_source : e66841593e3a8d05fda50e1cdbbb7068713eff81
2012-05-23 12:06:02 -05:00
Benjamin Peterson
8549be3530 Bug 574132 - Implement rest parameters for JavaScript. r=jorendorff. 2012-05-23 10:31:35 -05:00
Gregory Szorc
4dd2434c2d Bug 757397 - Make test package generation quieter; r=ted
This may reduce the size of the buildbot build logs by up to half!

--HG--
extra : rebase_source : 87b3f2f40654d69ecd91e19520e2341fc8aac9a6
2012-05-23 16:51:21 +02:00
Jan de Mooij
d5004ca023 Bug 756600 - Initialize TokenStream::sourceMap in constructor instead of init. r=njn 2012-05-23 13:37:43 +02:00
Nicholas Nethercote
e571af0d50 Bug 754641 - Fix 32-bit --disable-methodjit builds after bug 739512. r=luke. 2012-05-22 18:37:09 -07:00
Chris Coulson
197ac505a3 Bug 757518 - Don't get stuck in a loop on systems where /usr/bin/makedepend does not exist. r=ted 2012-05-22 20:21:46 -04:00
Nils Maier
be802ad709 Bug 754771 - Add identifying information to all system compartments. r=bz 2012-05-16 19:42:10 +02:00
Gabor Krizsanits
f826dbc135 Bug 747434 - Part 2: Optional Components object in sandbox. r=bholley 2012-05-22 20:21:45 -04:00
Gabor Krizsanits
09b09ca437 Bug 747434 - Part 1: Remove DEBUG_CheckForComponentsInScope. r=bholley 2012-05-22 20:21:45 -04:00
David Rajchenbach-Teller
5cd9da169f Bug 732936 - ImplicitConvert can convert an ArrayBuffer to C array or pointer. r=jorendorff 2012-05-15 14:59:21 +02:00
Nicholas Nethercote
afe11a4a47 Bug 757336 - Clean up probes handling in CompileScript(). r=sfink.
--HG--
extra : rebase_source : e615f67b96949c56d60fec01ab542a2401943e4f
2012-05-22 16:50:10 -07:00
Bill McCloskey
dd430b981a Bug 754989 - Change cross-compartment wrapper map keying (r=bholley) 2012-05-22 14:54:50 -07:00
Bill McCloskey
520e8ad0c3 Bug 754989 - Nuke dead cross-compartment wrappers during brain transplant (r=bholley) 2012-05-22 14:54:08 -07:00
Bill McCloskey
f5741c1847 Bug 754588 - Set rt->gcPoke when doing xpconnect unrooting (r=mccr8) 2012-05-22 14:06:58 -07:00