Extend timeout for poster display.

Debug and slow bots can exceed the 1s timeout here.  Unfortunately
there's no way to tell if this has been displayed yet, so the best
we can do is add a longer timeout.

BUG=513398
TEST=bots

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

git-svn-id: svn://svn.chromium.org/blink/trunk@200900 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent be46a162
...@@ -9,7 +9,7 @@ function startTest() { ...@@ -9,7 +9,7 @@ function startTest() {
video.addEventListener("loadedmetadata", function () { video.addEventListener("loadedmetadata", function () {
video.poster = "content/abe.png"; video.poster = "content/abe.png";
if (window.testRunner) if (window.testRunner)
setTimeout(function() { testRunner.notifyDone(); }, 1000); setTimeout(function() { testRunner.notifyDone(); }, 2000);
}); });
video.src = "resources/test-positive-start-time.webm"; video.src = "resources/test-positive-start-time.webm";
......
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