Bug 203443
Summary: | The m_videoFullscreenMode attribute of HTMLMediaElement does not always store the real presentation mode of the video element | ||
---|---|---|---|
Product: | WebKit | Reporter: | Peng Liu <peng.liu6> |
Component: | Media | Assignee: | Peng Liu <peng.liu6> |
Status: | NEW | ||
Severity: | Normal | CC: | eric.carlson, jer.noble, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | Safari 12 | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Peng Liu
Presentation mode change is a multiple-steps process, and the web content process and UI process need to exchange messages multiple times to guarantee the state transition is completed. The implementation of HTMLMediaElement does not consider the asynchronous process to complete the mode change. For example, it sets the m_videoFullscreenMode to be picture-in-picture before the transition from inline to picture-in-picture is completed. In addition, the timing of presentation mode change related callbacks need to be reviewed and changed is necessary.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Peng Liu
I mean: "if necessary".
Radar WebKit Bug Importer
<rdar://problem/57213972>