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

Unified Diff: third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-command-line-api-can-be-overriden-expected.txt

Issue 2030453002: [DevTools] Support CommandLineAPI in workers and Node.js (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-command-line-api-can-be-overriden-expected.txt
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-command-line-api-can-be-overriden-expected.txt b/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-command-line-api-can-be-overriden-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b35ab6a58a0e6921c4ae71f0d2c8df7be0148a36
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-command-line-api-can-be-overriden-expected.txt
@@ -0,0 +1,16 @@
+Tests that Command Line API doesn't override defined on window methods and can be overridden during evaluation.
+Check that CommandLineAPI isn't enumerable on window object:
+non enumerable
+Override dir:
+function dir(value) { [Command Line API] } -> 239
+CommandLineAPI doesn't override dir:
+239
+CommandLineAPI is presented after removing override variable:
+function dir(value) { [Command Line API] } -> 239
+Override $_:
+42 -> 239
+CommandLineAPI doesn't override $_:
+239
+CommandLineAPI is presented after removing override variable:
+true -> 239
+

Powered by Google App Engine
This is Rietveld 408576698