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

Unified Diff: content/test/data/media/webui/player_info_test.html

Issue 2480203002: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Sync CL to position 430550 Created 4 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/test/BUILD.gn ('k') | content/test/gpu/gpu_tests/webgl2_conformance_expectations.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/data/media/webui/player_info_test.html
diff --git a/content/test/data/media/webui/player_info_test.html b/content/test/data/media/webui/player_info_test.html
index 1833453148dc07dd7f9a8c6c570e02ed2111d093..2ee251b5d18709917f810aab77a2565a95b969d8 100644
--- a/content/test/data/media/webui/player_info_test.html
+++ b/content/test/data/media/webui/player_info_test.html
@@ -82,28 +82,6 @@ found in the LICENSE file.
assertEquals(firstTimestamp, pi.firstTimestamp_);
assertEquals(0, pi.allEvents[0].time);
assertEquals(deltaT, pi.allEvents[1].time);
-
- assertTrue(undefined !== pi.pastValues[key]);
-
- console.log(pi.pastValues);
-
- assertEquals(0, pi.pastValues[key][0].time);
- assertEquals(deltaT, pi.pastValues[key][1].time);
- };
-
- // Check to make sure that properties are correctly
- // added to the relevant pastValues array.
- window.testAddPropertyPastValues = function() {
- var pi = new PlayerInfo('example_ID'),
- timestamp = 50,
- key = 'key',
- value = 'value';
-
- pi.addProperty(timestamp, key, value);
-
- assertEquals(value, pi.pastValues[key][0].value);
- assertEquals(key, pi.pastValues[key][0].key);
- assertEquals(0, pi.pastValues[key][0].time);
};
// The list of all events should be recorded in correctly.
@@ -124,8 +102,7 @@ found in the LICENSE file.
assertEquals(key2, pi.allEvents[1].key);
};
- // Using noRecord should make it not show up in allEvents,
- // but it should still show up in pastValues[key].
+ // Using noRecord should make it not show up in allEvents.
window.testNoRecord = function() {
var pi = new PlayerInfo('example_ID'),
timestamp = 50,
@@ -135,7 +112,6 @@ found in the LICENSE file.
assertEquals(value, pi.properties[key]);
assertEquals(0, pi.allEvents.length);
- assertEquals(1, pi.pastValues[key].length);
};
</script>
</body>
« no previous file with comments | « content/test/BUILD.gn ('k') | content/test/gpu/gpu_tests/webgl2_conformance_expectations.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698