| Index: third_party/WebKit/LayoutTests/inspector/console/console-eval-object-literal.html
|
| diff --git a/third_party/WebKit/LayoutTests/inspector/console/console-eval-object-literal.html b/third_party/WebKit/LayoutTests/inspector/console/console-eval-object-literal.html
|
| index afa3fd3323873bab3bbdc89a6626eb73e2479249..ac1c2e5e596b74f1aad06b046e8a6a067178c5bf 100644
|
| --- a/third_party/WebKit/LayoutTests/inspector/console/console-eval-object-literal.html
|
| +++ b/third_party/WebKit/LayoutTests/inspector/console/console-eval-object-literal.html
|
| @@ -5,7 +5,22 @@
|
| <script>
|
| function test()
|
| {
|
| - var commands = ["{a:1, b:2}", "{a:1}", "{var a = 1; eval(\"{a :1, b:2 }\");}", "{ for (var i = 0; i < 5; ++i); }"];
|
| + var commands = [
|
| + "{a:1, b:2}",
|
| + "{a:1}",
|
| + "{var a = 1; eval(\"{ a:1, b:2 }\");}",
|
| + "{ for (var i = 0; i < 5; ++i); }",
|
| + "{ a: 4 }),({ b: 7 }",
|
| + "{ let a = 4; a; }",
|
| + "{ let a = 4; }; { let b = 5; };",
|
| + "{ a: 4 } + { a: 5 }",
|
| + "{ a: 4 }, { a: 5 }",
|
| +
|
| + // Test that detection doesn't incur side effects.
|
| + "var foo = 4;",
|
| + "{ a: foo++ }",
|
| + "foo;"
|
| + ];
|
| var current = -1;
|
| loopOverCommands();
|
| function loopOverCommands()
|
|
|