OLD | NEW |
---|---|
(Empty) | |
1 <!DOCTYPE html> | |
petrcermak
2016/05/18 10:43:20
Why is this file called results2html.html? Wouldn'
benjhayden
2016/05/18 18:23:33
I was following the lead of trace2html.html. I'm n
eakuefner
2016/05/18 18:39:55
I, too, find the name results2html.html confusing.
| |
2 <!-- | |
3 Copyright 2016 The Chromium Authors. All rights reserved. | |
4 Use of this source code is governed by a BSD-style license that can be | |
5 found in the LICENSE file. | |
6 --> | |
7 | |
8 <link rel="import" href="/tracing/metrics/value_set.html"> | |
9 <link rel="import" href="/tracing/ui/value_set_view.html"> | |
10 | |
11 <tr-ui-value-set-view id="values"></tr-ui-value-set-view> | |
12 | |
13 <script> | |
14 'use strict'; | |
15 | |
16 window.values = new tr.metrics.ValueList(); | |
petrcermak
2016/05/18 10:43:21
Shouldn't this be ValueSet?
benjhayden
2016/05/18 18:23:34
Done.
| |
17 | |
18 document.addEventListener('DOMContentLoaded', function() { | |
19 var valueSetView = document.getElementById('values'); | |
20 valueSetView.values = values; | |
petrcermak
2016/05/18 10:43:20
Please use |window.values| to make it explicit whe
benjhayden
2016/05/18 18:23:33
Done.
| |
21 }); | |
22 </script> | |
23 <!-- | |
24 Telemetry will append script tags that import ValueSets into window.values. | |
nednguyen
2016/05/18 02:44:44
Remove the "Telemetry" & replace this with "result
benjhayden
2016/05/18 18:23:33
I couldn't find "results_view_generator". Html2Out
eakuefner
2016/05/18 18:39:54
Actually, this points at a broader design issue --
| |
25 --> | |
OLD | NEW |