REOPENED Bug 56049
Fix some potentially flaky tests
https://bugs.webkit.org/show_bug.cgi?id=56049
Summary Fix some potentially flaky tests
Tony Gentilcore
Reported 2011-03-09 13:41:33 PST
Fix some potentially flaky tests
Attachments
Patch (5.85 KB, patch)
2011-03-09 13:45 PST, Tony Gentilcore
no flags
Patch (5.87 KB, patch)
2011-03-09 16:08 PST, Tony Gentilcore
no flags
Tony Gentilcore
Comment 1 2011-03-09 13:45:45 PST
Mihai Parparita
Comment 2 2011-03-09 14:56:59 PST
Comment on attachment 85225 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=85225&action=review > LayoutTests/media/video-src-plus-source.html:8 > }); I think you need the final "true" argument to addEventListener so that this handler is registered in the capture phase. Before you call findMediaElement(), mediaElement is set to document, and the loadedmetadata event doesn't bubble.
Tony Gentilcore
Comment 3 2011-03-09 16:08:02 PST
Tony Gentilcore
Comment 4 2011-03-09 16:08:28 PST
> I think you need the final "true" argument to addEventListener so that this handler is registered in the capture phase. Before you call findMediaElement(), mediaElement is set to document, and the loadedmetadata event doesn't bubble. Nice catch! That would have broken the ability for the test to fail in that way. Fixed now.
Tony Gentilcore
Comment 5 2011-03-09 16:16:17 PST
Comment on attachment 85252 [details] Patch Clearing flags on attachment: 85252 Committed r80670: <http://trac.webkit.org/changeset/80670>
Tony Gentilcore
Comment 6 2011-03-09 16:16:20 PST
All reviewed patches have been landed. Closing bug.
Adam Barth
Comment 7 2011-03-10 01:02:56 PST
This patch seems to have broken platform/mac/accessibility/aria-expanded-notifications.html. I'm going to revert the change to that test.
Adam Barth
Comment 8 2011-03-10 01:12:05 PST
Note You need to log in before you can comment on or make changes to this bug.