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
Tom Austin
9943c6915d
Bug 586830. Allows returns with no values in Narcissus. r=shu
2010-09-08 16:36:26 -07:00
Robert Sayre
1c1c54b151
Merge.
2010-09-08 10:36:32 -04:00
Robert Sayre
edb7aca0d0
merge mozilla-central to tracemonkey.
2010-09-08 10:33:07 -04:00
Chris Leary
6271a02b06
Bug 587434: IsSaneThisObject assertion failure on CALLXMLNAME. (r=jorendorff)
2010-09-08 01:13:22 -07:00
Dave Herman
9ad1a53de1
bug 591437, r=brendan: can't reliably use pn_cookie for function args
2010-09-07 16:27:52 -07:00
Dave Herman
ef3290061c
bug 591431, r=cdleary: Reflect.parse(): JSOP_*XMLNAME nodes as lvalues
2010-09-07 16:21:19 -07:00
Dave Herman
91665f8a3d
bug 591430, r=cdleary: Reflect.parse(): TOK_NAME statement nodes with pn_lexdef
2010-09-07 16:19:48 -07:00
Dave Herman
0039e6bd0d
bug 590775, r=cdleary: default xml namespace = <<expr>>
2010-09-07 16:18:10 -07:00
Dave Herman
71de094573
bug 590774, r=cdleary: implement function::identifier E4X extension
2010-09-07 16:16:34 -07:00
Dave Herman
3c77d7e37e
bug 590772, r=cdleary: for-in loops with initializers
2010-09-07 16:14:15 -07:00
Dave Herman
5a346677d9
bug 590766, r=cdleary: let-expressions and let-statements
2010-09-07 15:44:31 -07:00
Vladimir Vukicevic
835c2f99ee
b=593396; implement BYTES_PER_ELEMENT on typed arrays; r=shaver
2010-09-05 16:37:52 -04:00
Luke Wagner
5e9978f911
Bug 581263 - remove slow natives (r=waldo,mrbkap)
2010-08-16 12:35:04 -07:00
Igor Bukanov
edc6d00c4e
bug 477999 - JS_SuspendRequest should suspend requests from all contexts . r=gal,anygregor
2010-08-30 20:46:18 +02:00
Luke Wagner
31c2aa44b4
Bug 592069 - handle deep bail from IteratorMore/method-write barrier (r=gal,dvander CLOSED TREE)
2010-08-31 11:33:30 -07:00
David Mandelin
c376c13265
[JAEGER] Merge from Tracemonkey.
2010-08-31 13:21:23 -07:00
Tom Austin
9e08d2f725
Bug 592152. Narcisssus fix for consts. r=dherman. CLOSED TREE
2010-08-31 11:51:10 -07:00
David Mandelin
88272ac427
[JAEGER] Merge from Tracemonkey.
2010-08-30 18:34:39 -07:00