toolkit/components/xulstore/tests/chrome/test_persistence.xul
author Roberto A. Vitillo <rvitillo@mozilla.com>
Tue, 19 Aug 2014 10:31:00 -0400
changeset 200654 25c918c5f3e118ab9d4edfaa71488300e3134944
parent 200623 143ae44587b25508b39f985aa96f549c88b1f3e1
child 469642 0d9b9b96f5475adbed73922da696aeff7cbbaed3
permissions -rw-r--r--
Bug 559505 - Deprecate localstore.rdf and replace it with xulstore. r=enn, sr=bsmedberg CLOSED TREE

<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin" type="text/css"?>
<?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css" type="text/css"?>

<window title="Persistence Tests"
        onload="runTest()"
        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">

  <script type="application/javascript"
          src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>

  <script>
    SimpleTest.waitForExplicitFinish();
    function runTest() {
      window.openDialog("window_persistence.xul", "_blank", "chrome", true);
    }

    function windowOpened() {
      window.openDialog("window_persistence.xul", "_blank", "chrome", false);
    }

    function testDone() {
      SimpleTest.finish();
    }
  </script>

<body xmlns="http://www.w3.org/1999/xhtml">
  <p id="display"/>
</body>

</window>