diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
commit | 36d22d82aa202bb199967e9512281e9a53db42c9 (patch) | |
tree | 105e8c98ddea1c1e4784a60a5a6410fa416be2de /dom/tests/mochitest/chrome/focus_frameset.html | |
parent | Initial commit. (diff) | |
download | firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip |
Adding upstream version 115.7.0esr.upstream/115.7.0esrupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | dom/tests/mochitest/chrome/focus_frameset.html | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/dom/tests/mochitest/chrome/focus_frameset.html b/dom/tests/mochitest/chrome/focus_frameset.html new file mode 100644 index 0000000000..4032575552 --- /dev/null +++ b/dom/tests/mochitest/chrome/focus_frameset.html @@ -0,0 +1,25 @@ +<html id="outer"> + +<script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script> +<script> +if (opener) + SimpleTest.waitForFocus(() => opener.framesetWindowLoaded(window)); +// Don't try to call finish() in this frame, since it will get upset that we +// ran no tests. +SimpleTest.waitForExplicitFinish(); +</script> + +<frameset rows="30%, 70%"> + <frame src="data:text/html,<html id='f1' ><body id='framebody1'><input id='f2'><body></html>"> + <frameset cols="30%, 33%, 34%"> + <frame src="data:text/html,<html id='f3'><body id='framebody2'><input id='f4'><body></html>"> + <frame src="data:text/html,<html id='f5'><body id='framebody3'><input id='f6' tabindex='2'><body></html>"> + <frame src="data:text/html,<html id='f7'><body id='framebody4'><input id='f8'><body></html>"> + </frameset> + <noframes> + <input id="unused1"/> + <input id="unused2" tabindex="1"/> + </noframes> +</frameset> + +</html> |