https://github.com/mozilla/gecko-dev
Raw File
Tip revision: ef57c404ca4faf989202d2b0a223b25f0817abb5 authored by Kannan Vijayan on 17 June 2013, 18:41:32 UTC
Bug 877287 - Disable running JS code when ion compiling. r=bhackett a=akeybl
Tip revision: ef57c40
test_printpreview.xul
<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="chrome://global/skin"?>
<?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css"
                 type="text/css"?>
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  <script type="application/javascript"
          src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
<body xmlns="http://www.w3.org/1999/xhtml">
</body>
  <!-- test code goes here -->
<script type="application/javascript">
<![CDATA[
SimpleTest.waitForExplicitFinish();
window.open("printpreview_helper.xul", "printpreview", "chrome,width=100,height=100");
]]></script>
</window>
back to top