Commit Graph

488 Commits

Author SHA1 Message Date
Brendan Eich
91c97f62fa Clean up JSOP_DEFFUN and duplicated methodjit StubCall logic, fixing latent arguments override bug (602621, r=igor). 2010-10-07 13:52:58 -07:00
Jeff Walden
490ed1946a Bug 600128 - Properly record attempted addition of properties to non-extensible objects. r=jimb
--HG--
extra : rebase_source : af730b39d1f5d6b299e74278ec22d1920ec96e2c
2010-09-28 17:09:40 -07:00
Jeff Walden
9361db8ece Bug 601307 - Add a test for directness of the eval in |with (...) eval(...)| (assuming eval is the global eval function). r=jimb
--HG--
extra : rebase_source : 9a6b233cd99a3f9016c760f1249497d5a39d0c55
2010-10-01 18:40:11 -07:00
Jason Orendorff
fdb2a0d1c5 Bug 592644 - ES5 indirect eval. Part 1, add support and tests. r=brendan.
--HG--
extra : rebase_source : 5d07f3e847b2adfb46f30f343af2e06d494012c3
2010-10-07 15:00:09 -05:00
Dave Herman
85db64ec81 bug 584787, r=pcwalton: Node shouldn't subclass Array 2010-10-07 10:59:45 -07:00
Jason Orendorff
60ab838ce4 Back out changeset 89006937466d (crashing tests on tinderbox). 2010-10-06 15:51:14 -05:00
Jason Orendorff
a55c843052 Bug 592644 - Indirect eval should be allowed under ES5. r=brendan. 2010-10-06 15:11:30 -05:00
Luke Wagner
e5b2d0d102 Bug 601505 - Error instances don't have [[Construct]] (r=brendan)
--HG--
extra : rebase_source : 12c4c0432ca571f57993cabe3309810cfa3866d1
2010-10-04 16:22:26 -07:00
Brendan Eich
ce672b15a0 Long day... 2010-10-04 21:19:30 -07:00
Brendan Eich
846b01b1ee Burned by JSOPTION_ANONFUNFIX again. 2010-10-04 19:23:39 -07:00
Brendan Eich
d86c28ef95 More old test hacking in wake of 445319. 2010-10-04 18:41:32 -07:00
Brendan Eich
3639d7c0a5 Forgot the test for 600137. 2010-10-04 18:30:04 -07:00
Brendan Eich
920dbc6d33 Adjust js1_5/extensions/regress-369696-02.js in wake of 445319 fix. 2010-10-04 17:53:28 -07:00
Brendan Eich
3cbbab0c68 Test for bug 600137 (fixed by patch for 445319). 2010-10-04 16:54:22 -07:00
Brendan Eich
853d03c5d2 Per ECMA-262, no .prototype for built-in functions and Function.prototype (445319, r=Waldo). 2010-10-03 22:46:39 -07:00
Jeff Walden
9153149565 Bug 577757 - array[-1073741824] != array["-1073741824"]. r=igor 2010-09-30 21:03:47 -07:00
Jeff Walden
e7c07cd3ad Bug 539766 - Object.defineProperty sets arguments.length without setting the length-overridden bit. r=brendan 2010-09-30 17:50:40 -07:00
Jason Orendorff
00704fa52d Bug 595297 - Portable serialize/deserialize implementation of the HTML5 structured cloning algorithm (jsclone.cpp). r=gal. 2010-09-30 19:47:10 -05:00
Jeff Walden
ca79ac881b Bug 560216 - Referring to an accessor property with undefined [[Get]] and [[Set]] fields using an unqualified name should not assert. r=dvander 2010-09-29 16:05:44 -07:00
Brendan Eich
131feb1587 fun->u.i.names is incorrect when a local function shadows an argument (600067, r=jorendorff). 2010-09-29 16:15:43 -07:00
Jason Orendorff
47acdff995 Bug 599932 - js1_8_1/trace/regress-462459-02.js and friends are failing in shell. r=jimb, a=NPOTB.
--HG--
extra : rebase_source : 469968f50d44a42aac63a1006712ddee81db7d71
2010-09-27 13:25:39 -05:00
Brendan Eich
ac27a6ce80 Fix patch merge problem that restored bad old script line for 597945-1.js. 2010-09-25 17:16:35 +02:00
Brendan Eich
4244210552 Object.defineProperty should avoid JS API inside engine, plus a few other cleanups (598176, r=jorendorff). 2010-09-16 23:07:02 -07:00
Brendan Eich
c27e88caa4 Fix shape vs. slot management under putProperty, plus related layering and error reporting fixes (596805, r=jorendorff). 2010-09-16 11:56:54 -07:00
Jim Blandy
9b88f70086 Bug 492845: Implement Object.isSealed, Object.seal. a=jwalden, r=brendan 2010-09-21 11:35:30 -07:00
Jim Blandy
accd8966fa Bug 492844: Implement Object.freeze, Object.isFrozen r=brendan,jorendorff
This also moves ecma_5/strict/shell.js's deep_equal to ecma_5/shell.js, and
renames it deepEqual, for consistency with the rest of the world. It also improves deepEqual's handling of -0, 0, and NaN.
2010-09-21 11:35:29 -07:00
Jim Blandy
96d7c2007b Bug 492849 - Implement Object.preventExtensions, Object.isExtensible. a=waldo,jimb, r=brendan
--HG--
rename : js/src/jsapi-tests/testSeal.cpp => js/src/jsapi-tests/testDeepFreeze.cpp
2010-09-21 11:35:29 -07:00
Brendan Eich
adfba421c2 Fix slot leak that leads to allocSlot assert botch (597945, r=jorendorff). 2010-09-21 00:04:25 -07:00
Robert Sayre
031267d073 Back out changeset d7d3c0af2877. Brendan Eich – Fix slot leak that leads to allocSlot assert botch (597945, r=jorendorff). 2010-09-21 00:44:17 -04:00
Brendan Eich
2f94ccfb1e Fix slot leak that leads to allocSlot assert botch (597945, r=jorendorff). 2010-09-20 15:21:41 -07:00
Brendan Eich
95d5ebd4d3 Fix bogus assertion: "!shape->inDictionary()" (only if not shape->frozen(); 592217, r=jorendorff). 2010-09-20 08:01:06 -07:00
Brendan Eich
b0a31f8bcb Fix test for 597870 (CLOSED TREE). 2010-09-19 22:04:16 -07:00
Brendan Eich
0134ef3da3 Fix decompiler LHS -> RHS special cases switch to cover JSOP_SETXMLNAME (597870, r=igor; CLOSED TREE). 2010-09-19 16:24:13 -07:00
Brendan Eich
2253bb99d7 Don't recycle class-reserved slots onto a dictionary table's freelist (595230, r=jorendorff). 2010-09-14 17:08:16 -07:00
Jim Blandy
f1251d7a8d Bug 537873, Bug 514574: Tests for strict mode assignments to read-only properties, deletions of non-configurable properties. r=jorendorff 2010-09-15 13:43:54 -07:00
Igor Bukanov
dc286830a3 bug 595207 - making functionNamespaceURIAtom eager for simpler code. r=brendan 2010-09-15 16:55:35 +02:00
Dave Herman
206fee8283 bug 594622, r=cdleary: support for TOK_XMLSPACE nodes 2010-09-14 19:55:53 -07:00
Dave Herman
9d8c1a41fa bug 569464, r=brendan: bad let-expression-statements in strict mode 2010-09-14 19:53:35 -07:00
Brendan Eich
158b754944 JSFunction::addLocal never calls Shape::maybeHash (595918, r=jorendorff). 2010-09-13 18:44:34 -07:00
Brendan Eich
ccc80abca5 Fix screwed up layering of GC marking for JSObject::emptyShape (596103, r=jorendorff). 2010-09-14 12:13:12 -07:00
Chris Leary
2fa4fedbc1 Bug 540675: eviscerate JSStackFrame::callerVersion. (r=lw) 2010-09-13 09:38:22 -07:00
Kyle Huey
8c6e1c37ec Disable js-reftest that requires shell features to work. a=shutupalready 2010-09-12 08:00:14 -07:00
Brendan Eich
2ac9654d21 Google Maps crash on tracemonkey branch (595365, precog a=jorendorff). 2010-09-11 23:55:25 -07:00
Brendan Eich
d0a587b1ab Parenthesize lambda statement expressions to work in browser (where JSOPTION_ANONFUNFIX is set; followup for 593256). 2010-09-11 15:24:51 -07:00
Brendan Eich
30cbd0913a Bugs in dictionary-mode property table maintenance (593256, r=jorendorff). 2010-09-02 18:46:11 -07:00
Chris Leary
7c740a8dc0 Back out due to mochiserver breakage. (no_r=me) 2010-09-09 16:52:31 -07:00
Chris Leary
7c2ac56dff Bug 540675: remove callerVersion from stack frame. (r=lw) 2010-09-09 14:25:30 -07:00
Jason Orendorff
a101a7ab67 Fix typo in jstests.list. no_r=me. 2010-09-09 14:33:47 -05:00
Jason Orendorff
bb0c9c71b8 Add passing test taken from bug 592556, comment 35. no_r=me. In before regression! 2010-09-09 14:19:45 -05:00
Makoto Kato
6103055406 Bug 593133 - TM: PGO doesn't use tracejit profile. r=dmandelin 2010-09-09 16:55:59 +09:00