| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <!-- | 2 <!-- |
| 3 Copyright (c) 2013 The Chromium Authors. All rights reserved. | 3 Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 4 Use of this source code is governed by a BSD-style license that can be | 4 Use of this source code is governed by a BSD-style license that can be |
| 5 found in the LICENSE file. | 5 found in the LICENSE file. |
| 6 --> | 6 --> |
| 7 | 7 |
| 8 <link rel="import" href="/tracing/core/test_utils.html"> |
| 8 <link rel="import" href="/tracing/ui/scripting_control.html"> | 9 <link rel="import" href="/tracing/ui/scripting_control.html"> |
| 9 <link rel="import" href="/tracing/core/test_utils.html"> | |
| 10 | 10 |
| 11 <script> | 11 <script> |
| 12 'use strict'; | 12 'use strict'; |
| 13 | 13 |
| 14 tr.b.unittest.testSuite(function() { | 14 tr.b.unittest.testSuite(function() { |
| 15 test('instantiate', function() { | 15 test('instantiate', function() { |
| 16 var ctl = document.createElement('tr-ui-scripting-control'); | 16 var ctl = document.createElement('tr-ui-scripting-control'); |
| 17 this.addHTMLOutput(ctl); | 17 this.addHTMLOutput(ctl); |
| 18 ctl.toggleVisibility(); | 18 ctl.toggleVisibility(); |
| 19 }); | 19 }); |
| 20 }); | 20 }); |
| 21 </script> | 21 </script> |
| 22 | 22 |
| OLD | NEW |