[GTK] media/video-duration-known-after-eos.html and media/media-element-play-after...
authorphiln@webkit.org <philn@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 23 Aug 2012 06:29:36 +0000 (06:29 +0000)
committerphiln@webkit.org <philn@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 23 Aug 2012 06:29:36 +0000 (06:29 +0000)
commit620e17e2fbf227a1acc93dd14a18910263501824
tree1273fc4dbca72691d83fe953bae4920714196580
parent9d739efdf4c28c79b9d7fca121a0ae5eb6700a76
[GTK] media/video-duration-known-after-eos.html and media/media-element-play-after-eos.html are flaky
https://bugs.webkit.org/show_bug.cgi?id=83790

Reviewed by Eric Seidel.

Refactor the tests to wait the loadedmetadata event before
starting playback and attempting any access to the duration
attribute. This is an attempt to eliminate flakyness of the tests.

* media/media-element-play-after-eos-expected.txt:
* media/media-element-play-after-eos.html:
* media/video-duration-known-after-eos.html:
* platform/gtk/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@126395 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/media/media-element-play-after-eos-expected.txt
LayoutTests/media/media-element-play-after-eos.html
LayoutTests/media/video-duration-known-after-eos.html
LayoutTests/platform/gtk/TestExpectations