[Webkit-unassigned] [Bug 165756] New: media.webkitPresentationMode may return "inline" in a webkitpresentationmodechanged event handler after entering PiP
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Dec 12 06:55:28 PST 2016
https://bugs.webkit.org/show_bug.cgi?id=165756
Bug ID: 165756
Summary: media.webkitPresentationMode may return "inline" in a
webkitpresentationmodechanged event handler after
entering PiP
Classification: Unclassified
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Media Elements
Assignee: webkit-unassigned at lists.webkit.org
Reporter: graouts at apple.com
The test at media/modern-media-controls/pip-support/pip-support-click.html is flaky due to "media.webkitPresentationMode" sometimes returning "inline" within a "webkitpresentationmodechanged" event handler after entering PiP. To reproduce, try to run this command:
Tools/Scripts/run-webkit-tests --release --time-out-ms=5000 --no-sample-on-timeout --exit-after-n-failures=1 --iterations=200 media/modern-media-controls/pip-support/pip-support-click.html
Adding a short timeout works around the problem:
media.addEventListener("webkitpresentationmodechanged", () => {
setTimeout(() => {
shouldBeEqualToString("media.webkitPresentationMode", "picture-in-picture");
container.remove();
media.remove();
finishJSTest();
}, 10);
});
--
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/20161212/fc4ab038/attachment-0001.html>
More information about the webkit-unassigned
mailing list