[Webkit-unassigned] [Bug 147493] Media Session: add test to ensure that switching media sessions pauses elements
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jul 31 22:24:56 PDT 2015
https://bugs.webkit.org/show_bug.cgi?id=147493
--- Comment #3 from Matt Rajca <mrajca at apple.com> ---
(In reply to comment #2)
> Comment on attachment 257933 [details]
> Patch
>
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=257933&action=review
>
> > LayoutTests/media/session/switching-sessions.html:37
> > + run('video.session = new MediaSession("transient")');
> > +
> > + testExpected('video.paused', true);
> > +
> > + endTest();
>
> It might be good to register a 'pause' event handler and call endTest from
> there.
In the case where a media element is not paused, this will be faster than letting the test time out while waiting for an event to fire. I think I'll keep this.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150801/889d446b/attachment.html>
More information about the webkit-unassigned
mailing list