-
Notifications
You must be signed in to change notification settings - Fork 15
/
index.html
34 lines (34 loc) · 1.72 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<!doctype html>
<head><meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Test262 Web Runner</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link rel="stylesheet" href="style.css">
<script src="jszip.min.js"></script>
<script src="main.js"></script>
</head>
<body>
<input type="file" accept=".zip" id="fileLoader" style="display: none;">
<div id="controls" style="display: none;">
<input type="button" value="Pause" id="pause" class="btn btn-primary btn-lg">
<input type="button" value="Cancel" id="cancel" class="btn btn-danger btn-lg">
</div>
<div class="container">
<div class="page-header">
<h1>Test262 Web Runner</h1>
<p class="lead">Run the official <a href="https://github.com/tc39/test262">ECMAScript conformance tests</a> in your browser.</p>
</div>
<div id="buttons">
Load a .zip of <a href="https://github.com/tc39/test262.git">the Test262 repository</a> (e.g. <a href="https://api.github.com/repos/tc39/test262/zipball">this</a>):
<input type="button" class="btn btn-default btn-sm" id="loadLocal" value="Local">
<input type="button" class="btn btn-default btn-sm" id="loadGithub" value="Remote">
<div id="loadStatus" style="display: none;">Loading... <span id="loadFraction"></span></div>
</div>
<div id="tree"></div>
<div id="failures" style="display: none;">
<span id="failuresToggle">[+] Test failures (<span id="failuresCount">0</span>):</span>
<ul id="failList" style="display: none;"></ul>
</div><br>
</div>
</body>