js/jsd/test/test_bug638178-execlines.html

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

michael@0 1 <!DOCTYPE HTML>
michael@0 2 <html>
michael@0 3 <head>
michael@0 4 <!-- The bug number is pulled from the test URL -->
michael@0 5 <title>JSD Test for Bug AUTOFILLED</title>
michael@0 6 <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
michael@0 7 <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
michael@0 8 <script type="application/javascript" src="jsd-test.js"></script>
michael@0 9 <script type="application/javascript">
michael@0 10 var BUG = 638178;
michael@0 11 var TEST_SCRIPT = "test-bug638178-execlines.js";
michael@0 12 document.getElementsByTagName("title")[0].innerHTML = "JSD Test for Bug " + BUG;
michael@0 13
michael@0 14 SimpleTest.waitForExplicitFinish();
michael@0 15
michael@0 16 function runTest() {
michael@0 17 console.log("start of runTest, loading script");
michael@0 18 loadScript(TEST_SCRIPT, document.getElementById("test"));
michael@0 19 console.log("end of runTest");
michael@0 20 }
michael@0 21
michael@0 22 function setupTest() {
michael@0 23 var buglink = document.getElementById("buglink");
michael@0 24 buglink.href = "https://bugzilla.mozilla.org/show_bug.cgi?id=" + BUG;
michael@0 25 buglink.innerHTML = "Mozilla Bug " + BUG;
michael@0 26 }
michael@0 27 </script>
michael@0 28 </head>
michael@0 29 <body onLoad='setupTest(); setupJSD();'>
michael@0 30
michael@0 31 <a id="buglink" target="_blank"></a>
michael@0 32 <p id="display"></p>
michael@0 33
michael@0 34 <div id="content" style="display: none">
michael@0 35 <pre id='test'>
michael@0 36 </pre>
michael@0 37 </div>
michael@0 38
michael@0 39 <div id='test-output'>
michael@0 40 </div>
michael@0 41
michael@0 42 </body>
michael@0 43 </html>

mercurial