Index: LayoutTests/http/tests/media/video-load-with-userpass.html |
diff --git a/LayoutTests/http/tests/media/video-useragent.html b/LayoutTests/http/tests/media/video-load-with-userpass.html |
similarity index 79% |
copy from LayoutTests/http/tests/media/video-useragent.html |
copy to LayoutTests/http/tests/media/video-load-with-userpass.html |
index d79da8aad40af89bcbe8f1ba46949da1a8c724b1..b0406165caee5888402980f92367105749d49dc6 100644 |
--- a/LayoutTests/http/tests/media/video-useragent.html |
+++ b/LayoutTests/http/tests/media/video-load-with-userpass.html |
@@ -3,7 +3,7 @@ |
<script src=../../media-resources/video-test.js></script> |
<script src=../../media-resources/media-file.js></script> |
<script> |
- function loadMediaFrame() |
+ function loadMediaFrame() |
{ |
findMediaElement(); |
@@ -14,14 +14,14 @@ |
frame.height = 0; |
frame.addEventListener('load', function () { |
source = document.getElementById('source'); |
- source.src = 'http://127.0.0.1:8000/media/resources/video-check-useragent.php?name=' + movie + '&type=' + type; |
+ source.src = 'http://user:pass@127.0.0.1:8080/media/resources/video-check-userpass.php?name=' + movie + '&type=' + type; |
source.type = type; |
- |
+ |
waitForEventAndFail('error'); |
waitForEventAndEnd('canplay'); |
video.load(); |
}); |
- |
+ |
frame.src = "data:text/html,<b>test</b>"; |
document.body.appendChild(frame); |
} |
@@ -33,6 +33,6 @@ |
<source id="source"> |
</video> |
<br> |
- Tests that the media player sends the WebKit User Agent string when requesting a media file. |
+ Tests that the media player does not include authorization information. |
</body> |
</html> |