File: testotherbrowser.html

package info (click to toggle)
kjs 5.103.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,020 kB
  • sloc: cpp: 36,704; javascript: 5,079; yacc: 790; perl: 191; sh: 52; makefile: 7
file content (22 lines) | stat: -rw-r--r-- 571 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
  <!-- This file allows to run a javascript test in another browser.
       Simply change the script inclusion at the end of the file -->
<script src="shell.js"></script>
<script>
  function testPassed(msg)
  {
    document.write("<b><font color=green>PASS</font></b> " + msg + "<br>");
  }

  function testFailed(msg)
  {
    document.write("<b><font color=red>FAIL</font></b> " + msg + "<br>");
  }

  function debug(a) { document.write("<p> " + a + "</p>"); }
</script>

<script src="RegExp.js"></script>

</html>