summaryrefslogtreecommitdiff
path: root/deps/v8/tools/heap-stats/trace-file-reader.html
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/tools/heap-stats/trace-file-reader.html')
-rw-r--r--deps/v8/tools/heap-stats/trace-file-reader.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/deps/v8/tools/heap-stats/trace-file-reader.html b/deps/v8/tools/heap-stats/trace-file-reader.html
new file mode 100644
index 0000000000..98c2ef0c60
--- /dev/null
+++ b/deps/v8/tools/heap-stats/trace-file-reader.html
@@ -0,0 +1,26 @@
+<!-- Copyright 2018 the V8 project authors. All rights reserved.
+Use of this source code is governed by a BSD-style license that can be
+found in the LICENSE file. -->
+<template id="trace-file-reader-template">
+<style>
+#fileReader {
+ width: 100%;
+ height: 100px;
+ line-height: 100px;
+ text-align: center;
+ border: solid 1px #000000;
+ border-radius: 5px;
+}
+
+#fileReader > input {
+ display: none;
+}
+</style>
+<div id="fileReader">
+ <span id="label">
+ Drag and drop a trace file into this area, or click to choose from disk.
+ </span>
+ <input id="file" type="file" name="file" />
+</div>
+</template>
+<script type="text/javascript" src="trace-file-reader.js"></script>