Commit 767f7213 authored by annacc@chromium.org's avatar annacc@chromium.org

Guarantee tests run in order.

https://bugs.webkit.org/show_bug.cgi?id=72369

Reviewed by Eric Carlson.

* media/track/track-webvtt-tc003-newlines.html:
* platform/chromium/test_expectations.txt:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100299 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent cb1fb521
2011-11-15 Anna Cavender <annacc@chromium.org>
Guarantee tests run in order.
https://bugs.webkit.org/show_bug.cgi?id=72369
Reviewed by Eric Carlson.
* media/track/track-webvtt-tc003-newlines.html:
* platform/chromium/test_expectations.txt:
2011-11-15 Tony Gentilcore <tonyg@chromium.org>
editing/pasteboard/drag-drop-dead-frame.html is flaky
......@@ -9,7 +9,16 @@
numberOfTrackTests = 2;
function trackLoaded(i)
function trackLoaded()
{
numberOfTracksLoaded++;
if (numberOfTracksLoaded == numberOfTrackTests) {
testTrack(0);
testTrack(1);
}
}
function testTrack(i)
{
findMediaElement();
var expected =
......@@ -44,8 +53,8 @@
<body>
<p>Tests that line terminators \r, \n, or \r\n are properly parsed, even when there is no newline at eof.</p>
<video>
<track src="captions-webvtt/tc003-newlines.vtt" onload="trackLoaded(0)">
<track src="captions-webvtt/tc003-no-newline-at-eof.vtt" onload="trackLoaded(1)">
<track src="captions-webvtt/tc003-newlines.vtt" onload="trackLoaded()">
<track src="captions-webvtt/tc003-no-newline-at-eof.vtt" onload="trackLoaded()">
</video>
</body>
</html>
\ No newline at end of file
......@@ -3921,7 +3921,6 @@ BUGWK72271 MAC DEBUG : fast/loader/javascript-url-in-embed.html = PASS CRASH
BUGWK72272 WIN : security/crypto-random-values-types.html = TEXT PASS
BUGWK72279 : media/track/track-webvtt-tc004-magic-header.html = TIMEOUT PASS
BUGWK72369 : media/track/track-webvtt-tc003-newlines.html = TEXT PASS
BUGWK59771 WIN : http/tests/inspector/resource-tree/resource-tree-frame-add.html = TIMEOUT PASS
......
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