Commit 8038bee5 authored by philn@webkit.org's avatar philn@webkit.org
Browse files

2011-02-15 Philippe Normand <pnormand@igalia.com>

        Reviewed by Eric Carlson.

        [GTK] media/audio-delete-while-slider-thumb-clicked.html is flaky
        https://bugs.webkit.org/show_bug.cgi?id=53247

        Refactored the test to use the seeking event instead of timeupdate
        and avoid flakyness.

        * media/audio-delete-while-slider-thumb-clicked-expected.txt:
        * media/audio-delete-while-slider-thumb-clicked.html:
        * platform/gtk/Skipped:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@78562 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent cd5cda28
2011-02-15 Philippe Normand <pnormand@igalia.com>
Reviewed by Eric Carlson.
[GTK] media/audio-delete-while-slider-thumb-clicked.html is flaky
https://bugs.webkit.org/show_bug.cgi?id=53247
Refactored the test to use the seeking event instead of timeupdate
and avoid flakyness.
* media/audio-delete-while-slider-thumb-clicked-expected.txt:
* media/audio-delete-while-slider-thumb-clicked.html:
* platform/gtk/Skipped:
2011-02-15 Dirk Schulze <krit@webkit.org> 2011-02-15 Dirk Schulze <krit@webkit.org>
   
Unreviewed rebaseline. Unreviewed rebaseline.
...@@ -4,7 +4,6 @@ This tests that events don't continue to target a slider thumb if the media elem ...@@ -4,7 +4,6 @@ This tests that events don't continue to target a slider thumb if the media elem
clicking in controller clicking in controller
clicking on thumb clicking on thumb
timeupdate
deleting audio element deleting audio element
......
...@@ -66,17 +66,10 @@ ...@@ -66,17 +66,10 @@
eventSender.mouseDown(); eventSender.mouseDown();
eventSender.mouseMoveTo(x, y + 20); eventSender.mouseMoveTo(x, y + 20);
setTimeout(deleteAudio, 10); // Remove the element after seeking started
audio.addEventListener("seeking", deleteAudio);
} }
var timeupdateCount = 0;
function logtimeupdate()
{
// only log the first 'timeupdate' event as more than one will be fired on slower
// machines
if (++timeupdateCount==1)
log('timeupdate');
}
function start() function start()
{ {
...@@ -90,7 +83,7 @@ ...@@ -90,7 +83,7 @@
<br> <br>
<input type="button" id="button" value="Click Me!" onmouseup="log('button click!')"> <input type="button" id="button" value="Click Me!" onmouseup="log('button click!')">
<br> <br>
<audio id="audio" ontimeupdate="logtimeupdate()" oncanplaythrough="drag()" controls></audio><br><br> <audio id="audio" oncanplaythrough="drag()" controls></audio><br><br>
<div id="console"></div> <div id="console"></div>
</body> </body>
</html> </html>
...@@ -2534,9 +2534,6 @@ http/tests/security/local-user-CSS-from-remote.html ...@@ -2534,9 +2534,6 @@ http/tests/security/local-user-CSS-from-remote.html
# See https://bugs.webkit.org/show_bug.cgi?id=53056 # See https://bugs.webkit.org/show_bug.cgi?id=53056
media/unsupported-rtsp.html media/unsupported-rtsp.html
# https://bugs.webkit.org/show_bug.cgi?id=53247
media/audio-delete-while-slider-thumb-clicked.html
# https://bugs.webkit.org/show_bug.cgi?id=53428 # https://bugs.webkit.org/show_bug.cgi?id=53428
http/tests/misc/favicon-as-image.html http/tests/misc/favicon-as-image.html
......
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