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

Unified Diff: third_party/WebKit/LayoutTests/inspector/console/console-eval-object-literal-expected.txt

Issue 1511043002: [DevTools] Evaluate expression like { ... } as Object Literal (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/inspector/console/console-eval-object-literal-expected.txt
diff --git a/third_party/WebKit/LayoutTests/inspector/console/console-eval-object-literal-expected.txt b/third_party/WebKit/LayoutTests/inspector/console/console-eval-object-literal-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bbf6fad23ed465b454b8e2651167f8ca95c1d1e8
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/inspector/console/console-eval-object-literal-expected.txt
@@ -0,0 +1,11 @@
+Tests that evaluating object literal in the console correctly reported.
+
+{a:1, b:2}
+Object {a: 1, b: 2}
+{a:1}
+Object {a: 1}
+{var a = 1; eval("{a :1, b:2 }");}
+ VM:2 Uncaught SyntaxError: Unexpected identifier(…)
+{ for (var i = 0; i < 5; ++i); }
+ VM:2 Uncaught SyntaxError: Unexpected token var(…)
+

Powered by Google App Engine
This is Rietveld 408576698