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 |
+ |