Always use JSBool (not bool sometimes, JSBool others) as JSVAL_IS_BOOLEAN's native...
[mozilla-central.git] / js / tests / menuhead.html
blob64183153babac5d8acd19ddc34759b8d4b30d1d4
1 <html>
2 <head>
3 <title>Core JavaScript Tests</title>
5 <script type="text/javascript" src="menuhead.js"></script>
7 <style type="text/css">
8 dt { font-weight: bold; padding: 1em; }
9 </style>
10 </head>
12 <body bgcolor="white" onLoad="updateTotals()">
13 <a name='top_of_page'></a>
14 <h1>Core JavaScript Tests</h1>
16 <form name="testCases" action="">
17 <input type='button' value='Export Test List' onClick='createList();'>
18 <input type='button' value='Include Test List'
19 onClick='window.open("importList.html?include", "include_window");'>
20 <input type='button' value='Exclude Test List'
21 onClick='window.open("importList.html?exclude", "exclude_window");'>
23 <h2>Browser Test Options</h2>
24 <p>
25 &lt;script
26 <select name="language">
27 <option value="language;javascript" default>language="javascript"</option>
28 <option value="language;javascript1.1">language="javascript1.1"</option>
29 <option value="language;javascript1.2">language="javascript1.2"</option>
30 <option value="language;javascript1.3">language="javascript1.3"</option>
31 <option value="language;javascript1.4">language="javascript1.4"</option>
32 <option value="language;javascript1.5">language="javascript1.5"</option>
33 <option value="language;javascript1.6">language="javascript1.6"</option>
34 <option value="language;javascript1.7">language="javascript1.7"</option>
35 <option value="language;javascript1.8">language="javascript1.8"</option>
36 <option value="type;text/javascript">type="text/javascript"</option>
37 <option value="type;text/javascript;version=1.1">type="text/javascript;version=1.1"</option>
38 <option value="type;text/javascript;version=1.2">type="text/javascript;version=1.2"</option>
39 <option value="type;text/javascript;version=1.3">type="text/javascript;version=1.3"</option>
40 <option value="type;text/javascript;version=1.4">type="text/javascript;version=1.4"</option>
41 <option value="type;text/javascript;version=1.5">type="text/javascript;version=1.5"</option>
42 <option value="type;text/javascript;version=1.6">type="text/javascript;version=1.6"</option>
43 <option value="type;text/javascript;version=1.7">type="text/javascript;version=1.7"</option>
44 <option value="type;text/javascript;version=1.8">type="text/javascript;version=1.8"</option>
45 </select>&gt;
46 DOCTYPE
47 <select name="doctype">
48 <option value="quirks">Quirks</option>
49 <option value="standards" selected>Standards</option>
50 </select>
51 Output Format
52 <select name="outputformat">
53 <option value="html">HTML</option>
54 <option value="javascript">JavaScript</option>
55 </select>
56 Failures only <input type="checkbox" name="failures">
57 <input type='button' value='Execute Test List' onClick='executeList();'>
58 </p>