diff options
Diffstat (limited to 'devtools/client/webconsole/test/browser/test-console-evaluation-context-selector.html')
-rw-r--r-- | devtools/client/webconsole/test/browser/test-console-evaluation-context-selector.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/devtools/client/webconsole/test/browser/test-console-evaluation-context-selector.html b/devtools/client/webconsole/test/browser/test-console-evaluation-context-selector.html new file mode 100644 index 0000000000..c5e3138100 --- /dev/null +++ b/devtools/client/webconsole/test/browser/test-console-evaluation-context-selector.html @@ -0,0 +1,16 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset="utf-8"> + <title>Test evaluation context selector</title> + </head> + <body> + <h1 id="top-level">Test evaluation context selector</h1> + <script> + "use strict"; + console.log("top-level", document); + globalThis.foobar = "hello"; + globalThis.foobaz = "world"; + </script> + </body> +</html> |