diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
commit | 6bf0a5cb5034a7e684dcc3500e841785237ce2dd (patch) | |
tree | a68f146d7fa01f0134297619fbe7e33db084e0aa /browser/components/extensions/test/browser/file_inspectedwindow_eval.html | |
parent | Initial commit. (diff) | |
download | thunderbird-upstream.tar.xz thunderbird-upstream.zip |
Adding upstream version 1:115.7.0.upstream/1%115.7.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'browser/components/extensions/test/browser/file_inspectedwindow_eval.html')
-rw-r--r-- | browser/components/extensions/test/browser/file_inspectedwindow_eval.html | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/browser/components/extensions/test/browser/file_inspectedwindow_eval.html b/browser/components/extensions/test/browser/file_inspectedwindow_eval.html new file mode 100644 index 0000000000..04128d9ef3 --- /dev/null +++ b/browser/components/extensions/test/browser/file_inspectedwindow_eval.html @@ -0,0 +1,29 @@ +<!DOCTYPE html> +<html> + <head> + <meta charset="utf-8"> + <script> + "use strict"; + + // eslint-disable-next-line no-unused-vars + function test_inspect_function() { + // a function to inspect using `inspect(test_inspect_function)`, + // the related test case asserts that it is defined at line 9 + // of this file. + } + + function test_bound_target() { + // Another function to inspect, expected to be located at line 15. + } + + window.test_bound_function = test_bound_target.bind(window); + </script> + </head> + <body> + <div id="container"> + <span id="nested-container"> + <a id="link-to-inspect" href="#link-ref">link to inspect</a> + </span> + </div> + </body> +</html> |