Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(43)

Side by Side Diff: LayoutTests/fast/js/script-tests/object-extra-comma.js

Issue 20867002: Remove old tests that have been migrated to the v8 repo. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove unused script-tests as well Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 description(
2 'This test checks some object construction cases, including ' +
3 '<a href="https://bugs.webkit.org/show_bug.cgi?id=5939">5939: final comma in javascript object prevents parsing</a>' +
4 '.');
5
6 shouldBe("var foo = { 'bar' : 'YES' }; foo.bar", "'YES'");
7 shouldBe("var foo = { 'bar' : 'YES', }; foo.bar", "'YES'");
8 shouldBe("var foo = { 'bar' : 'YES' , }; foo.bar", "'YES'");
9 shouldThrow("var foo = { , 'bar' : 'YES' }; foo.bar");
10 shouldThrow("var foo = { 'bar' : 'YES',, }; foo.bar");
OLDNEW
« no previous file with comments | « LayoutTests/fast/js/script-tests/object-bad-time.js ('k') | LayoutTests/fast/js/script-tests/object-prototype-constructor.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698