dom/tests/mochitest/chrome/focus_frameset.html

Thu, 15 Jan 2015 15:55:04 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:55:04 +0100
branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
permissions
-rw-r--r--

Back out 97036ab72558 which inappropriately compared turds to third parties.

     1 <html id="outer">
     3 <script type="application/javascript"
     4         src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
     5 <script>
     6 if (opener)
     7   SimpleTest.waitForFocus(function () opener.framesetWindowLoaded(window));
     8 // Don't try to call finish() in this frame, since it will get upset that we
     9 // ran no tests.
    10 SimpleTest.waitForExplicitFinish();
    11 </script>
    13 <frameset rows="30%, 70%">
    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;">
    15   <frameset cols="30%, 33%, 34%">
    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;">
    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;">
    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;">
    19   </frameset>
    20   <noframes>
    21     <input id="unused1"/>
    22     <input id="unused2" tabindex="1"/>
    23   </noframes>
    24 </frameset>
    26 </html>

mercurial