toolkit/components/osfile/tests/mochi/test_osfile_async.xul

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/toolkit/components/osfile/tests/mochi/test_osfile_async.xul	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,23 @@
     1.4 +<?xml version="1.0"?>
     1.5 +<!--
     1.6 +  Any copyright is dedicated to the Public Domain.
     1.7 +  http://creativecommons.org/publicdomain/zero/1.0/
     1.8 +-->
     1.9 +<window title="Testing async I/O with OS.File"
    1.10 +        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
    1.11 +        onload="test();">
    1.12 +
    1.13 +  <script type="application/javascript"
    1.14 +          src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
    1.15 +  <script type="application/javascript"
    1.16 +          src="chrome://mochikit/content/tests/SimpleTest/EventUtils.js"/>
    1.17 +  <script type="application/javascript"
    1.18 +          src="main_test_osfile_async.js"/>
    1.19 +
    1.20 +  <body xmlns="http://www.w3.org/1999/xhtml">
    1.21 +    <p id="display"></p>
    1.22 +    <div id="content" style="display:none;"></div>
    1.23 +    <pre id="test"></pre>
    1.24 +  </body>
    1.25 +  <label id="test-result"/>
    1.26 +</window>

mercurial