b2g/components/test/mochitest/test_systemapp.html

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rw-r--r--

Integrate suggestion from review to improve consistency with existing code.

michael@0 1 <!DOCTYPE HTML>
michael@0 2 <html>
michael@0 3 <!--
michael@0 4 https://bugzilla.mozilla.org/show_bug.cgi?id=963239
michael@0 5 -->
michael@0 6 <head>
michael@0 7 <meta charset="utf-8">
michael@0 8 <title>SystemAppProxy Test</title>
michael@0 9 <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
michael@0 10 <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
michael@0 11 </head>
michael@0 12 <body>
michael@0 13 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=963239">SystemAppProxy.jsm</a>
michael@0 14 <script type="application/javascript">
michael@0 15
michael@0 16 "use strict";
michael@0 17
michael@0 18 var gUrl = SimpleTest.getTestFileURL("systemapp_helper.js");
michael@0 19 var gScript = SpecialPowers.loadChromeScript(gUrl);
michael@0 20
michael@0 21 SimpleTest.waitForExplicitFinish();
michael@0 22 gScript.addMessageListener("finish", function () {
michael@0 23 SimpleTest.ok(true, "chrome test script finished");
michael@0 24 gScript.destroy();
michael@0 25 SimpleTest.finish();
michael@0 26 });
michael@0 27
michael@0 28 </script>
michael@0 29 </pre>
michael@0 30 </body>
michael@0 31 </html>

mercurial