Commit f79c2e92 authored by philipj@opera.com's avatar philipj@opera.com

Fix relative paths in flaky EME tests

BUG=354146

Review URL: https://codereview.chromium.org/206023003

git-svn-id: svn://svn.chromium.org/blink/trunk@169634 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 8cafd48f
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
testDOMException("video.webkitCancelKeyRequest('webkit-org.w3.clearkey')", "DOMException.INVALID_STATE_ERR"); testDOMException("video.webkitCancelKeyRequest('webkit-org.w3.clearkey')", "DOMException.INVALID_STATE_ERR");
run("video.canPlayType('audio/wav', 'webkit-org.w3.clearkey')"); run("video.canPlayType('audio/wav', 'webkit-org.w3.clearkey')");
video.setAttribute("src", findMediaFile("video", "../content/test")); video.setAttribute("src", findMediaFile("video", "../../content/test"));
consoleWrite("<br>'src' has been set, but loading has not yet started. Verify that all methods except canPlayType() throw INVALID_STATE_ERR."); consoleWrite("<br>'src' has been set, but loading has not yet started. Verify that all methods except canPlayType() throw INVALID_STATE_ERR.");
......
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
testDOMException("video.webkitCancelKeyRequest('com.example.invalid')", "DOMException.INVALID_STATE_ERR"); testDOMException("video.webkitCancelKeyRequest('com.example.invalid')", "DOMException.INVALID_STATE_ERR");
// FIXME(82952): Add "test-encrypted" file. // FIXME(82952): Add "test-encrypted" file.
video.setAttribute("src", findMediaFile("video", "../content/test")); video.setAttribute("src", findMediaFile("video", "../../content/test"));
consoleWrite(""); consoleWrite("");
waitForEvent('loadstart', loadStarted); waitForEvent('loadstart', loadStarted);
</script> </script>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment