Title: [113370] trunk/LayoutTests
- Revision
- 113370
- Author
- [email protected]
- Date
- 2012-04-05 13:32:05 -0700 (Thu, 05 Apr 2012)
Log Message
[chromium] Unreviewed, update baselines for tests with 'let' after r113352.
* platform/chromium/fast/js/reserved-words-as-property-expected.txt:
* platform/chromium/fast/js/reserved-words-strict-expected.txt:
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (113369 => 113370)
--- trunk/LayoutTests/ChangeLog 2012-04-05 20:31:52 UTC (rev 113369)
+++ trunk/LayoutTests/ChangeLog 2012-04-05 20:32:05 UTC (rev 113370)
@@ -1,3 +1,10 @@
+2012-04-05 Tony Chang <[email protected]>
+
+ [chromium] Unreviewed, update baselines for tests with 'let' after r113352.
+
+ * platform/chromium/fast/js/reserved-words-as-property-expected.txt:
+ * platform/chromium/fast/js/reserved-words-strict-expected.txt:
+
2012-04-05 Philip Rogers <[email protected]>
Rebaseline text results
Modified: trunk/LayoutTests/platform/chromium/fast/js/reserved-words-as-property-expected.txt (113369 => 113370)
--- trunk/LayoutTests/platform/chromium/fast/js/reserved-words-as-property-expected.txt 2012-04-05 20:31:52 UTC (rev 113369)
+++ trunk/LayoutTests/platform/chromium/fast/js/reserved-words-as-property-expected.txt 2012-04-05 20:32:05 UTC (rev 113370)
@@ -1335,6 +1335,42 @@
PASS (function(){"use strict";({ implements: 42 }.implements === 42)}); true is true
PASS "use strict";({ get implements(){}, set implements(){}, parsedOkay: 42 }.parsedOkay === 42) is true
PASS (function(){"use strict";({ get implements(){}, set implements(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true
+PASS var let; true is true
+PASS (function(){var let; true}); true is true
+PASS var let = 42; let === 42 is true
+PASS (function(){var let = 42; let === 42}); true is true
+PASS function g(let){ }; true is true
+PASS (function(){function g(let){ }; true}); true is true
+PASS /let/.test(function g(let){ }) is true
+PASS (function(){/let/.test(function g(let){ })}); true is true
+PASS try{}catch(let){}; true is true
+PASS (function(){try{}catch(let){}; true}); true is true
+PASS function let(){ }; true is true
+PASS (function(){function let(){ }; true}); true is true
+PASS ({ "let": 42 }.let === 42) is true
+PASS (function(){({ "let": 42 }.let === 42)}); true is true
+PASS ({ let: 42 }.let === 42) is true
+PASS (function(){({ let: 42 }.let === 42)}); true is true
+PASS ({ get let(){}, set let(){}, parsedOkay: 42 }.parsedOkay === 42) is true
+PASS (function(){({ get let(){}, set let(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true
+PASS "use strict";var let; true threw exception SyntaxError: Unexpected strict mode reserved word.
+PASS (function(){"use strict";var let; true}); true threw exception SyntaxError: Unexpected strict mode reserved word.
+PASS "use strict";var let = 42; let === 42 threw exception SyntaxError: Unexpected strict mode reserved word.
+PASS (function(){"use strict";var let = 42; let === 42}); true threw exception SyntaxError: Unexpected strict mode reserved word.
+PASS "use strict";function g(let){ "use strict"; }; true threw exception SyntaxError: Use of future reserved word in strict mode.
+PASS (function(){"use strict";function g(let){ "use strict"; }; true}); true threw exception SyntaxError: Use of future reserved word in strict mode.
+PASS "use strict";/let/.test(function g(let){ "use strict"; }) threw exception SyntaxError: Use of future reserved word in strict mode.
+PASS (function(){"use strict";/let/.test(function g(let){ "use strict"; })}); true threw exception SyntaxError: Use of future reserved word in strict mode.
+PASS "use strict";try{}catch(let){}; true threw exception SyntaxError: Unexpected strict mode reserved word.
+PASS (function(){"use strict";try{}catch(let){}; true}); true threw exception SyntaxError: Unexpected strict mode reserved word.
+PASS "use strict";function let(){ "use strict"; }; true threw exception SyntaxError: Use of future reserved word in strict mode.
+PASS (function(){"use strict";function let(){ "use strict"; }; true}); true threw exception SyntaxError: Use of future reserved word in strict mode.
+PASS "use strict";({ "let": 42 }.let === 42) is true
+PASS (function(){"use strict";({ "let": 42 }.let === 42)}); true is true
+PASS "use strict";({ let: 42 }.let === 42) is true
+PASS (function(){"use strict";({ let: 42 }.let === 42)}); true is true
+PASS "use strict";({ get let(){}, set let(){}, parsedOkay: 42 }.parsedOkay === 42) is true
+PASS (function(){"use strict";({ get let(){}, set let(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true
PASS var private; true is true
PASS (function(){var private; true}); true is true
PASS var private = 42; private === 42 is true
Modified: trunk/LayoutTests/platform/chromium/fast/js/reserved-words-strict-expected.txt (113369 => 113370)
--- trunk/LayoutTests/platform/chromium/fast/js/reserved-words-strict-expected.txt 2012-04-05 20:31:52 UTC (rev 113369)
+++ trunk/LayoutTests/platform/chromium/fast/js/reserved-words-strict-expected.txt 2012-04-05 20:32:05 UTC (rev 113370)
@@ -6,6 +6,7 @@
SHOULD BE RESERVED:
FAIL isReserved('implements') should be true. Was false.
FAIL isReserved('interface') should be true. Was false.
+FAIL isReserved('let') should be true. Was false.
FAIL isReserved('package') should be true. Was false.
FAIL isReserved('private') should be true. Was false.
FAIL isReserved('protected') should be true. Was false.
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes