| Index: LayoutTests/fast/js/script-tests/object-extra-comma.js
|
| diff --git a/LayoutTests/fast/js/script-tests/object-extra-comma.js b/LayoutTests/fast/js/script-tests/object-extra-comma.js
|
| deleted file mode 100644
|
| index 7e4a4f20e7cda6aec88cab740b63486de13d5a42..0000000000000000000000000000000000000000
|
| --- a/LayoutTests/fast/js/script-tests/object-extra-comma.js
|
| +++ /dev/null
|
| @@ -1,10 +0,0 @@
|
| -description(
|
| - 'This test checks some object construction cases, including ' +
|
| - '<a href="https://bugs.webkit.org/show_bug.cgi?id=5939">5939: final comma in javascript object prevents parsing</a>' +
|
| - '.');
|
| -
|
| -shouldBe("var foo = { 'bar' : 'YES' }; foo.bar", "'YES'");
|
| -shouldBe("var foo = { 'bar' : 'YES', }; foo.bar", "'YES'");
|
| -shouldBe("var foo = { 'bar' : 'YES' , }; foo.bar", "'YES'");
|
| -shouldThrow("var foo = { , 'bar' : 'YES' }; foo.bar");
|
| -shouldThrow("var foo = { 'bar' : 'YES',, }; foo.bar");
|
|
|