1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dom/tests/mochitest/chrome/focus_frameset.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,26 @@ 1.4 +<html id="outer"> 1.5 + 1.6 +<script type="application/javascript" 1.7 + src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script> 1.8 +<script> 1.9 +if (opener) 1.10 + SimpleTest.waitForFocus(function () opener.framesetWindowLoaded(window)); 1.11 +// Don't try to call finish() in this frame, since it will get upset that we 1.12 +// ran no tests. 1.13 +SimpleTest.waitForExplicitFinish(); 1.14 +</script> 1.15 + 1.16 +<frameset rows="30%, 70%"> 1.17 + <frame src="data:text/html,<html id='f1' ><body id='framebody1'><input id='f2'><body></html>"> 1.18 + <frameset cols="30%, 33%, 34%"> 1.19 + <frame src="data:text/html,<html id='f3'><body id='framebody2'><input id='f4'><body></html>"> 1.20 + <frame src="data:text/html,<html id='f5'><body id='framebody3'><input id='f6' tabindex='2'><body></html>"> 1.21 + <frame src="data:text/html,<html id='f7'><body id='framebody4'><input id='f8'><body></html>"> 1.22 + </frameset> 1.23 + <noframes> 1.24 + <input id="unused1"/> 1.25 + <input id="unused2" tabindex="1"/> 1.26 + </noframes> 1.27 +</frameset> 1.28 + 1.29 +</html>