Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(401)

Side by Side Diff: content/test/data/media/webui/player_info_test.html

Issue 23536020: Adds cache and buffer graphs to the properties pane. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: changed how tests and cr.js are loaded and interact Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <!-- 1 <!--
2 Copyright 2013 The Chromium Authors. All rights reserved. 2 Copyright 2013 The Chromium Authors. All rights reserved.
3 Use of this source code is governed by a BSD-style license that can be 3 Use of this source code is governed by a BSD-style license that can be
4 found in the LICENSE file. 4 found in the LICENSE file.
5 --> 5 -->
6 <!DOCTYPE html> 6 <!DOCTYPE html>
7 <html> 7 <html>
8 <body> 8 <body>
9 <script> 9 <script>
10 window.chrome = {};
11
10 window.setUp = function() { 12 window.setUp = function() {
11 window.pi = new PlayerInfo('example_id'); 13 window.pi = new PlayerInfo('example_id');
12 }; 14 };
13 15
14 window.tearDown = function() { 16 window.tearDown = function() {
15 window.pi = null; 17 window.pi = null;
16 }; 18 };
17 19
18 // Test that an ID is set correctly. 20 // Test that an ID is set correctly.
19 window.testConstructorStringID = function() { 21 window.testConstructorStringID = function() {
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 value = 'value'; 133 value = 'value';
132 pi.addPropertyNoRecord(timestamp, key, value); 134 pi.addPropertyNoRecord(timestamp, key, value);
133 135
134 assertEquals(value, pi.properties[key]); 136 assertEquals(value, pi.properties[key]);
135 assertEquals(0, pi.allEvents.length); 137 assertEquals(0, pi.allEvents.length);
136 assertEquals(1, pi.pastValues[key].length); 138 assertEquals(1, pi.pastValues[key].length);
137 }; 139 };
138 </script> 140 </script>
139 </body> 141 </body>
140 </html> 142 </html>
OLDNEW
« no previous file with comments | « content/test/data/media/webui/manager_test.html ('k') | content/test/webui_resource_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698