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

Side by Side Diff: content/test/data/media/webui/integration_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
« no previous file with comments | « content/content_tests.gypi ('k') | content/test/data/media/webui/manager_test.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 var doNothing = function() {}; 13 var doNothing = function() {};
12 var mockClientRenderer = { 14 var mockClientRenderer = {
13 playerUpdated: doNothing, 15 playerUpdated: doNothing,
14 playerRemoved: doNothing, 16 playerRemoved: doNothing,
15 playerAdded: doNothing, 17 playerAdded: doNothing,
16 audioStreamUpdated: doNothing, 18 audioStreamUpdated: doNothing,
17 audioStreamAdded: doNothing, 19 audioStreamAdded: doNothing,
18 audioStreamRemoved: doNothing 20 audioStreamRemoved: doNothing
19 }; 21 };
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 69
68 window.media.addAudioStream(event); 70 window.media.addAudioStream(event);
69 71
70 var player = window.manager.audioStreams_[event.id]; 72 var player = window.manager.audioStreams_[event.id];
71 assertTrue(undefined !== player); 73 assertTrue(undefined !== player);
72 assertEquals(event.playing, player['playing']); 74 assertEquals(event.playing, player['playing']);
73 }; 75 };
74 </script> 76 </script>
75 </body> 77 </body>
76 </html> 78 </html>
OLDNEW
« no previous file with comments | « content/content_tests.gypi ('k') | content/test/data/media/webui/manager_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698