dom/tests/mochitest/chrome/focus_frameset.html

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

michael@0 1 <html id="outer">
michael@0 2
michael@0 3 <script type="application/javascript"
michael@0 4 src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
michael@0 5 <script>
michael@0 6 if (opener)
michael@0 7 SimpleTest.waitForFocus(function () opener.framesetWindowLoaded(window));
michael@0 8 // Don't try to call finish() in this frame, since it will get upset that we
michael@0 9 // ran no tests.
michael@0 10 SimpleTest.waitForExplicitFinish();
michael@0 11 </script>
michael@0 12
michael@0 13 <frameset rows="30%, 70%">
michael@0 14 <frame src="data:text/html,&lt;html id='f1' &gt;&lt;body id='framebody1'&gt;&lt;input id='f2'&gt;&lt;body&gt;&lt;/html&gt;">
michael@0 15 <frameset cols="30%, 33%, 34%">
michael@0 16 <frame src="data:text/html,&lt;html id='f3'&gt;&lt;body id='framebody2'&gt;&lt;input id='f4'&gt;&lt;body&gt;&lt;/html&gt;">
michael@0 17 <frame src="data:text/html,&lt;html id='f5'&gt;&lt;body id='framebody3'&gt;&lt;input id='f6' tabindex='2'&gt;&lt;body&gt;&lt;/html&gt;">
michael@0 18 <frame src="data:text/html,&lt;html id='f7'&gt;&lt;body id='framebody4'&gt;&lt;input id='f8'&gt;&lt;body&gt;&lt;/html&gt;">
michael@0 19 </frameset>
michael@0 20 <noframes>
michael@0 21 <input id="unused1"/>
michael@0 22 <input id="unused2" tabindex="1"/>
michael@0 23 </noframes>
michael@0 24 </frameset>
michael@0 25
michael@0 26 </html>

mercurial