1 <!DOCTYPE html> 2 <!-- 3 Copyright (c) 2014 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 <link rel="import" href="/ui/timeline_view_metadata_overlay.html"> 8 <script> 9 'use strict'; 10 11 tr.b.unittest.testSuite(function() { 12 test('inactive', function() { 13 var el = document.createElement('tr-ui-timeline-view-metadata-overlay'); 14 el.metadata = [ 15 { 16 name: 'clientInfo', 17 value: { 18 command_line: './out/Release/Chromium.app/Contents/MacOS/Chromium --enable-threaded-compositing --force-compositing-mode --enable-impl-side-painting --enable-skia-benchmarking --allow-webui-compositing --flag-switches-begin --force-compositing-mode --disable-threaded-compositing --flag-switches-end', // @suppress longLineCheck 19 version: 'Chrome/29.0.1521.0' 20 } 21 }, 22 { 23 name: 'somethingElse', 24 value: 'fascinating!' 25 } 26 ]; 27 28 this.addHTMLOutput(el); 29 }); 30 }); 31 </script>