<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>203443</bug_id>
          
          <creation_ts>2019-10-25 20:19:23 -0700</creation_ts>
          <short_desc>The m_videoFullscreenMode attribute of HTMLMediaElement does not always store the real presentation mode of the video element</short_desc>
          <delta_ts>2019-11-14 18:55:08 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Media</component>
          <version>Safari 12</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Peng Liu">peng.liu6</reporter>
          <assigned_to name="Peng Liu">peng.liu6</assigned_to>
          <cc>eric.carlson</cc>
    
    <cc>jer.noble</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1584157</commentid>
    <comment_count>0</comment_count>
    <who name="Peng Liu">peng.liu6</who>
    <bug_when>2019-10-25 20:19:23 -0700</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1584158</commentid>
    <comment_count>1</comment_count>
    <who name="Peng Liu">peng.liu6</who>
    <bug_when>2019-10-25 20:22:15 -0700</bug_when>
    <thetext>I mean: &quot;if necessary&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1590392</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2019-11-14 18:55:08 -0800</bug_when>
    <thetext>&lt;rdar://problem/57213972&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>