Changeset 34462 in webkit
- Timestamp:
- Jun 8, 2008 10:20:32 PM (16 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r34461 r34462 1 2008-06-08 Cameron Zwarich <cwzwarich@uwaterloo.ca> 2 3 Reviewed by Oliver. 4 5 Bug 17931: Incorrect decompilation with |new| 6 <https://bugs.webkit.org/show_bug.cgi?id=17931> 7 8 This bug was fixed by SquirrelFish, but we should add a test. 9 10 * fast/js/function-toString-parentheses-expected.txt: 11 * fast/js/resources/function-toString-parentheses.js: 12 1 13 2008-06-08 Cameron Zwarich <cwzwarich@uwaterloo.ca> 2 14 -
trunk/LayoutTests/fast/js/function-toString-parentheses-expected.txt
r33979 r34462 496 496 PASS compileAndSerializeLeftmostTest('const a = 1, b = (1, 2)') is 'const a = 1, b = (1, 2)' 497 497 PASS compileAndSerializeLeftmostTest('const a = (1, 2), b = (1, 2)') is 'const a = (1, 2), b = (1, 2)' 498 PASS compileAndSerialize('(function () { new (a.b()).c })') is '(function () { new (a.b()).c })' 498 499 PASS successfullyParsed is true 499 500 -
trunk/LayoutTests/fast/js/resources/function-toString-parentheses.js
r33979 r34462 221 221 shouldBe("compileAndSerializeLeftmostTest('const a = (1, 2), b = (1, 2)')", "'const a = (1, 2), b = (1, 2)'"); 222 222 223 shouldBe("compileAndSerialize('(function () { new (a.b()).c })')", "'(function () { new (a.b()).c })'"); 224 223 225 var successfullyParsed = true;
Note: See TracChangeset
for help on using the changeset viewer.