<?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>248879</bug_id>
          
          <creation_ts>2022-12-07 08:06:01 -0800</creation_ts>
          <short_desc>Properly resolve fullscreen API promises</short_desc>
          <delta_ts>2024-11-13 17:13:49 -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>DOM</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=248900</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=282998</see_also>
          <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="Tim Nguyen (:ntim)">ntim</reporter>
          <assigned_to name="Tim Nguyen (:ntim)">ntim</assigned_to>
          <cc>andrewhodel</cc>
    
    <cc>ddkilzer</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1917230</commentid>
    <comment_count>0</comment_count>
    <who name="Tim Nguyen (:ntim)">ntim</who>
    <bug_when>2022-12-07 08:06:01 -0800</bug_when>
    <thetext>exitFullscreen() promises should resolve in FullscreenManager::finishExitFullscreen().

requestFullscreen() promises should resolve in FullscreenManager::willEnterFullscreen().

These methods FullscreenManager are called asynchronously, so it might be tricky however.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1917234</commentid>
    <comment_count>1</comment_count>
    <who name="Tim Nguyen (:ntim)">ntim</who>
    <bug_when>2022-12-07 08:21:10 -0800</bug_when>
    <thetext>rdar://103074395</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1918070</commentid>
    <comment_count>2</comment_count>
    <who name="Tim Nguyen (:ntim)">ntim</who>
    <bug_when>2022-12-09 15:16:40 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/7415</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1918143</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2022-12-09 20:03:55 -0800</bug_when>
    <thetext>Committed 257668@main (9696329f7af6): &lt;https://commits.webkit.org/257668@main&gt;

Reviewed commits have been landed. Closing PR #7415 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1918195</commentid>
    <comment_count>4</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2022-12-10 10:12:52 -0800</bug_when>
    <thetext>I&apos;m pretty sure this is causing 4-5 layout test crashes on EWS runs now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1918527</commentid>
    <comment_count>5</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2022-12-12 10:30:41 -0800</bug_when>
    <thetext>(In reply to David Kilzer (:ddkilzer) from comment #4)
&gt; I&apos;m pretty sure this is causing 4-5 layout test crashes on EWS runs now.

Specific examples:


PR:  &lt;https://github.com/WebKit/WebKit/pull/7430&gt;
Run:  &lt;https://ews-build.webkit.org/#/builders/73/builds/21968&gt;
Results:  &lt;https://ews-build.s3-us-west-2.amazonaws.com/macOS-BigSur-Release-WK1-Tests-EWS/c887a3c0-21968/results.html&gt;

Crashing tests:
fullscreen/full-screen-request-removed.html
media/modern-media-controls/layout-node/addChild.html
media/modern-media-controls/placard-support/placard-support-airplay-fullscreen.html
media/modern-media-controls/seek-forward-support/seek-forward-support.html


PR:  &lt;https://github.com/WebKit/WebKit/pull/7428&gt;
Run:  &lt;https://ews-build.webkit.org/#/builders/73/builds/21964&gt;
Results:  &lt;https://ews-build.s3-us-west-2.amazonaws.com/macOS-BigSur-Release-WK1-Tests-EWS/37345d6b-21964/results.html&gt;

Crashing tests:
fullscreen/full-screen-request-removed.html	crash log sample	history
media/modern-media-controls/media-controls/media-controls-display-above-captions.html
media/modern-media-controls/mute-button/mute-button.html
media/modern-media-controls/placard-support/placard-support-airplay-fullscreen.html
media/modern-media-controls/start-support/start-support-audio.html
pageoverlay/overlay-large-document-scrolled.html

These seem to be fixed as of Monday morning, though.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1918536</commentid>
    <comment_count>6</comment_count>
    <who name="Tim Nguyen (:ntim)">ntim</who>
    <bug_when>2022-12-12 10:57:08 -0800</bug_when>
    <thetext>Crashes were fixed by https://github.com/WebKit/WebKit/pull/7443</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2074988</commentid>
    <comment_count>7</comment_count>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2024-11-13 17:13:49 -0800</bug_when>
    <thetext>*** Bug 282998 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>