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; |