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

Side by Side Diff: content/test/data/media/webui/manager_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 var doNothing = function() {}; 12 var doNothing = function() {};
11 13
12 var emptyClientRenderer = { 14 var emptyClientRenderer = {
13 playerAdded: doNothing, 15 playerAdded: doNothing,
14 playerRemoved: doNothing, 16 playerRemoved: doNothing,
15 playerUpdated: doNothing 17 playerUpdated: doNothing
16 }; 18 };
17 19
18 window.setUp = function() { 20 window.setUp = function() {
19 window.pm = new Manager(emptyClientRenderer); 21 window.pm = new Manager(emptyClientRenderer);
(...skipping 29 matching lines...) Expand all
49 // Trying to select a non-existant player should throw 51 // Trying to select a non-existant player should throw
50 // an exception 52 // an exception
51 window.testSelectNonExistant = function() { 53 window.testSelectNonExistant = function() {
52 assertThrows(function() { 54 assertThrows(function() {
53 window.pm.selectPlayer('someId'); 55 window.pm.selectPlayer('someId');
54 }); 56 });
55 }; 57 };
56 </script> 58 </script>
57 </body> 59 </body>
58 </html> 60 </html>
OLDNEW
« no previous file with comments | « content/test/data/media/webui/integration_test.html ('k') | content/test/data/media/webui/player_info_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698