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

Unified Diff: third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-waiting-for-a-key.html

Issue 2270383002: clean up encrypted-media tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-update-disallowed-input.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-waiting-for-a-key.html
diff --git a/third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-waiting-for-a-key.html b/third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-waiting-for-a-key.html
index 2cac0d2b0892cd06cf72129d15ba7bd6b1a6b301..f7cf334ccb1c31bba7d35e504e1f4026a222e161 100644
--- a/third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-waiting-for-a-key.html
+++ b/third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-waiting-for-a-key.html
@@ -7,8 +7,7 @@
<script src="../../resources/testharnessreport.js"></script>
</head>
<body>
- <video id="testVideo"></video>
- <div id="log"></div>
+ <video></video>
<script>
// For debugging timeouts, keep track of the number of the
// various events received.
@@ -19,7 +18,7 @@
promise_test(function(test)
{
- var video = document.getElementById('testVideo');
+ var video = document.querySelector('video');
var content = '../content/test-encrypted.webm';
var initData;
var initDataType;
« no previous file with comments | « third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-update-disallowed-input.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698