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

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: rebased Created 4 years, 6 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..b16a03d7fb76b6ddf9ba6c77736ed08f47319642
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-command-line-api-can-be-overriden-expected.txt
@@ -0,0 +1,24 @@
+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
+CommandLineAPI can be overridden by var dir = 1:
+1
+CommandLineAPI doesn't override var dir = 1:
+1
+CommandLineAPI can be overridden by Object.defineProperty:
+239
+CommandLineAPI doesn't override Object.defineProperty:
+239
+

Powered by Google App Engine
This is Rietveld 408576698