зеркало из https://github.com/mozilla/pluotsorbet.git
268 строки
11 KiB
HTML
268 строки
11 KiB
HTML
<!doctype html>
|
|
<html>
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<link rel="stylesheet" type="text/css" href="style/main.css">
|
|
<link rel="stylesheet" type="text/css" href="style/confirm.css">
|
|
<link rel="stylesheet" type="text/css" href="style/progress_activity.css">
|
|
<link rel="stylesheet" type="text/css" href="style/headers.css">
|
|
<link rel="stylesheet" type="text/css" href="style/drawer.css">
|
|
|
|
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1">
|
|
|
|
<!-- Load config scripts separately because compiled-method-cache.js
|
|
- depends on them. -->
|
|
<script type="text/javascript" src="config/default.js" defer></script>
|
|
<!-- #if CONFIG -->
|
|
<script type="text/javascript" src="@CONFIG@" defer></script>
|
|
<!-- #endif -->
|
|
<script type="text/javascript" src="config/build.js" defer></script>
|
|
<script type="text/javascript" src="config/urlparams.js" defer></script>
|
|
|
|
<!-- #if PROFILE > 0 -->
|
|
<!-- Load bld/shumway.js separately because j2me.js depends on it. -->
|
|
<script type="text/javascript" src="bld/shumway.js" defer></script>
|
|
<!-- #endif -->
|
|
|
|
<!--<script type="text/javascript" src="libs/terminal.js" defer></script>-->
|
|
|
|
<!-- Load promise-6.0.0.js and IndexedDB-getAll-shim.js separately
|
|
- because compiled-method-cache.js depends on them. -->
|
|
<script type="text/javascript" src="libs/promise-6.0.0.js" defer></script>
|
|
<script type="text/javascript" src="polyfill/IndexedDB-getAll-shim.js" defer></script>
|
|
|
|
<!-- Load compiled-method-cache.js separately because j2me.js depends on it. -->
|
|
<script type="text/javascript" src="libs/compiled-method-cache.js" defer></script>
|
|
|
|
<!-- Load relooper.js separately because adding it to main-all.js
|
|
- throws an "asm.js type error". -->
|
|
<script type="text/javascript" src="libs/relooper.js" defer></script>
|
|
<script type="text/javascript" src="bld/native.js" defer></script>
|
|
|
|
<!-- Load j2me.js separately because classes.jar.js depends on it (it adds
|
|
- members to the AOTMD hash that j2me.js defines); and also so its source
|
|
- map gets loaded by the debugger. -->
|
|
<script type="text/javascript" src="bld/j2me.js" defer></script>
|
|
|
|
<!-- Run `make aot` to generate these. Load them separately, because adding
|
|
- classes.jar.js to main-all.js fails silently for unknown reasons. -->
|
|
<!--<script type="text/javascript" src="bld/classes.jar.js" defer></script>-->
|
|
<!--<script type="text/javascript" src="bld/program.jar.js" defer></script>-->
|
|
<!--<script type="text/javascript" src="bld/tests.jar.js" defer></script>-->
|
|
|
|
<!-- Load the rest of the scripts from the combined script main-all.js
|
|
- to improve startup and runtime performance. See Makefile for the list
|
|
- of files that get combined into this one. -->
|
|
<script type="text/javascript" src="bld/main-all.js" defer></script>
|
|
</head>
|
|
|
|
<body>
|
|
<div id="pageContainer">
|
|
<!-- #if CONSOLE == "true" -->
|
|
<pre id="consoleContainer"></pre>
|
|
<!-- #endif -->
|
|
<div id="profilerContainer">
|
|
<div id="profilerToolbar">
|
|
<div class="toolbarLabel">Profiler <span id="profilerMessage" class="toolbarMessage">6 Seconds</span></div>
|
|
<div id="profilerButtons">
|
|
<div id="profilerStartStop">Start</div>
|
|
<div id="profilerAdjustHeight">Height</div>
|
|
</div>
|
|
</div>
|
|
<div id="profiler">
|
|
<div id="profileList">
|
|
</div>
|
|
<div id="profilePanel">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- #if CONSOLE == "true" -->
|
|
<!-- The raw console is used for unit tests, so it's not visible by default: -->
|
|
<pre id="raw-console" style="display: none"></pre>
|
|
<!-- #endif -->
|
|
|
|
<div id="display-container">
|
|
<div id="display">
|
|
<section id="sidebar" data-type="sidebar" style="display:none">
|
|
<header>
|
|
<h1>Menu</h1>
|
|
</header>
|
|
<nav>
|
|
<ul>
|
|
</ul>
|
|
</nav>
|
|
</section>
|
|
<section id="drawer" role="region">
|
|
<header style="display:none">
|
|
<a href="#"><span class="icon icon-menu">hide sidebar</span></a>
|
|
<a id="header-drawer-button" href="#drawer"><span class="icon icon-menu">show sidebar</span></a>
|
|
<menu id="header-ok-button" type="toolbar" style="display:none"><button>√</button></menu>
|
|
<h1 id="display_title"></h1>
|
|
</header>
|
|
<div id="main" role="main">
|
|
<canvas id="canvas"></canvas>
|
|
<input id="password-editor" class="text-editor" type="password">
|
|
<input id="tel-editor" class="text-editor" type="tel">
|
|
<input id="number-editor" class="text-editor" type="number">
|
|
<input id="email-editor" class="text-editor" type="email">
|
|
<input id="url-editor" class="text-editor" type="url">
|
|
<div id="textarea-editor" class="text-editor" contenteditable="true"></div>
|
|
<!-- The hidden textarea editor is used to measure the content height -->
|
|
<div id="hidden-textarea-editor" class="text-editor"></div>
|
|
<button id="back-button">Back</button>
|
|
</div>
|
|
</section>
|
|
<div id="gamepad">
|
|
<button id="up">up</button>
|
|
<button id="down">down</button>
|
|
<button id="left">left</button>
|
|
<button id="right">right</button>
|
|
<button id="fire">fire</button>
|
|
</div>
|
|
|
|
<div id="download-screen" class="screen">
|
|
<h1 class="title">Downloading @MIDLET_NAME@…</h1>
|
|
<div class="download-progress-container">
|
|
<progress class="pack-activity" value="0" max="100"></progress>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="splash-screen" class="screen">
|
|
<h1 class="title">Starting @MIDLET_NAME@…</h1>
|
|
<div class="splash-progress-container">
|
|
<progress></progress>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="exit-screen" class="screen">
|
|
</div>
|
|
|
|
<div id="background-screen">
|
|
</div>
|
|
|
|
<form role="dialog" data-type="confirm"
|
|
class="lcdui-alert"
|
|
id="lcdui-alert" style="display: none">
|
|
<section>
|
|
<h1 class="title"></h1>
|
|
<p class="text"></p>
|
|
<p style="border-top: 0"><progress style="display: none"></progress></p>
|
|
</section>
|
|
<menu>
|
|
<button class="button0" style="display: none"></button>
|
|
<button class="button1" style="display: none"></button>
|
|
</menu>
|
|
</form>
|
|
|
|
<form role="dialog" data-type="confirm"
|
|
class="sms-listener-prompt"
|
|
id="sms-listener-prompt" style="display: none">
|
|
<section>
|
|
<h1>SMS Verification</h1>
|
|
<p class="verificationText"></p>
|
|
<input type="text" placeholder="Type SMS Here">
|
|
<p class="timeLeft"></p>
|
|
<progress class="timeLeftBar" value="0" max="100"></progress>
|
|
</section>
|
|
<menu>
|
|
<button class="cancel">Cancel</button>
|
|
<button class="recommend">Done</button>
|
|
</menu>
|
|
</form>
|
|
|
|
<form role="dialog" data-type="confirm"
|
|
class="nokia-fileui-prompt"
|
|
id="nokia-fileui-prompt" style="display: none">
|
|
<section>
|
|
<h1>Select a file</h1>
|
|
<p><input type="file" name="nokia-fileui-file">
|
|
</section>
|
|
<menu>
|
|
<button class="cancel">Cancel</button>
|
|
<button class="recommend">Done</button>
|
|
</menu>
|
|
</form>
|
|
|
|
<form role="dialog" data-type="confirm"
|
|
class="download-failure-dialog"
|
|
id="download-failure-dialog" style="display: none">
|
|
<section>
|
|
<h1 class="download-dialog-text">Download failure</h1>
|
|
<p>The download of @MIDLET_NAME@ failed. Press <i>Retry</i> to try again.</p>
|
|
</section>
|
|
<menu>
|
|
<button class="recommend">Retry</button>
|
|
</menu>
|
|
</form>
|
|
</div>
|
|
<div id="settings">
|
|
<section>
|
|
<table id="counters">
|
|
<tr><td>Bytecode:</td><td><span id="bytecodeCount"></span></td></tr>
|
|
<tr><td>Compiled:</td><td><span id="compiledCount"></span></td></tr>
|
|
<tr><td>Interpreter:</td><td><span id="interpreterCount"></span></td></tr>
|
|
<tr><td>OSR:</td><td><span id="onStackReplacementCount"></span></td></tr>
|
|
<tr><td>Unwind:</td><td><span id="unwindCount"></span></td></tr>
|
|
<tr><td>Preemption:</td><td><span id="preemptionCount"></span></td></tr>
|
|
</table>
|
|
</section>
|
|
<section>
|
|
<select id="loglevel">
|
|
<option value="0">Log Level: Trace
|
|
<option value="1">Log Level: Log
|
|
<option value="2">Log Level: Info
|
|
<option value="3">Log Level: Warn
|
|
<option value="4">Log Level: Error
|
|
<option value="5">Log Level: Silent
|
|
</select>
|
|
<!-- #if CONSOLE == "true" -->
|
|
<input id="console-filter-input" type="text" placeholder="Filter Console Output" value="">
|
|
<button id="console-clear">Clear console</button>
|
|
<button id="console-save">Save console</button>
|
|
<!-- #endif -->
|
|
<label><input type="checkbox" id="perfWriter">Perf</label>
|
|
</section>
|
|
<section>
|
|
<button id="exportstorage">Export File System</button>
|
|
<div>Import File System:</div>
|
|
<input type="file" id="importstoragefile">
|
|
<input type="text" id="importstorageurl" placeholder="URL to FS backup">
|
|
<button id="importstorage">Import</button>
|
|
<button id="clearCompiledMethodCache">Clear Compiled Method Cache</button>
|
|
<button id="deleteDatabases">Delete IDB Databases</button>
|
|
<button id="printAllExceptions">Print all exceptions: OFF</button>
|
|
<button id="clearCounters">Clear Counters</button>
|
|
<button id="dumpCounters">Dump Counters</button>
|
|
<button id="sampleCounters1">One sample for 1s</button>
|
|
<button id="sampleCounters2">One sample for 100ms (2s)</button>
|
|
<select id="canvasSize">
|
|
<option value="" selected>Display size: 240x320</option>
|
|
<option value="size-320x240">Display size: 320x240</option>
|
|
<option value="size-320x480">Display size: 320x480</option>
|
|
<option value="size-480x320">Display size: 480x320</option>
|
|
</select>
|
|
<button id="start">Start</button>
|
|
|
|
</section>
|
|
<!-- #if BENCHMARK == "true" -->
|
|
<section id="benchmark">
|
|
<button id="benchmark-startup-run">Run Startup Benchmark</button>
|
|
<button id="benchmark-startup-baseline">Build Benchmark Baseline</button>
|
|
<label><input type="number" min="1" max="100" id="benchmark-num-rounds"> Rounds</label>
|
|
<label><input type="number" id="benchmark-round-delay" min="0" max="20000"> Round Delay(ms)</label>
|
|
<label><input type="checkbox" id="benchmark-warm-startup">Benchmark warm startup</label>
|
|
<label><input type="number" id="benchmark-startfg-delay" min="0" max="60000"> Delay after starting BG MIDlet</label>
|
|
<label><input type="checkbox" id="benchmark-delete-fs">Delete FS before round</label>
|
|
<label><input type="checkbox" id="benchmark-delete-jit-cache">Delete JIT cache before round</label>
|
|
</section>
|
|
<!-- #endif -->
|
|
</div>
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|