test_mozFrameType.xhtml (1110B)
1 <?xml version="1.0"?> 2 <!-- Any copyright is dedicated to the Public Domain. 3 - http://creativecommons.org/publicdomain/zero/1.0/ --> 4 <?xml-stylesheet href="chrome://global/skin" type="text/css"?> 5 <?xml-stylesheet 6 href="chrome://mochikit/content/tests/SimpleTest/test.css" 7 type="text/css"?> 8 <!-- 9 https://bugzilla.mozilla.org/show_bug.cgi?id=769771 10 --> 11 <window title="Test mozFrameType attribute" 12 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> 13 14 <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script> 15 16 <body xmlns="http://www.w3.org/1999/xhtml"> 17 <p id="display"></p> 18 <div id="content" style="display: none"> 19 </div> 20 <pre id="test"> 21 </pre> 22 </body> 23 24 <script class="testbody" type="application/javascript"> 25 <![CDATA[ 26 27 if (navigator.platform.startsWith("Win")) { 28 SimpleTest.expectAssertions(0, 1); 29 } 30 31 /** Test for Bug 769771 */ 32 SimpleTest.waitForExplicitFinish(); 33 34 addLoadEvent(function () { 35 window.openDialog("mozFrameType_window.xhtml", "mozFrameType", 36 "chrome,width=600,height=600,noopener", window); 37 }); 38 39 ]]> 40 </script> 41 42 </window>