<?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>239071</bug_id>
          
          <creation_ts>2022-04-11 08:31:57 -0700</creation_ts>
          <short_desc>Can&apos;t re-enter element fullscreen after an alert is shown</short_desc>
          <delta_ts>2022-05-06 12:51:48 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Layout and Rendering</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>239744</dup_id>
          
          <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="Ali Juma">ajuma</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>jer.noble</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1860289</commentid>
    <comment_count>0</comment_count>
      <attachid>457254</attachid>
    <who name="Ali Juma">ajuma</who>
    <bug_when>2022-04-11 08:31:57 -0700</bug_when>
    <thetext>Created attachment 457254
Test page

Showing an alert while in element fullscreen causes fullscreen to exit (this part is expected) but after that it is impossible to re-enter fullscreen. This reproduces in Safari on iOS 15.4 as well as Safari 15.4 on macOS. 

Steps to repro with the attached test case:
1) Tap the &quot;Launch fullscreen&quot; button
2) Once in fullscreen, tap the &quot;Trigger alert&quot; button.
3) Fullscreen will exit and an alert will be shown
4) Dismiss the alert
5) Tap the &quot;Launch fullscreen&quot; button to try to re-launch fullscreen.

Expected result: Back in fullscreen
Actual result: Nothing happens</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1860365</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-04-11 11:52:41 -0700</bug_when>
    <thetext>&lt;rdar://problem/91580443&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1867316</commentid>
    <comment_count>2</comment_count>
    <who name="Ali Juma">ajuma</who>
    <bug_when>2022-05-06 12:51:48 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 239744 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>457254</attachid>
            <date>2022-04-11 08:31:57 -0700</date>
            <delta_ts>2022-04-11 08:31:57 -0700</delta_ts>
            <desc>Test page</desc>
            <filename>fullscreen.html</filename>
            <type>text/html</type>
            <size>705</size>
            <attacher name="Ali Juma">ajuma</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjxzY3JpcHQ+CmZ1bmN0aW9uIGxhdW5jaEZ1bGxzY3JlZW4oKSB7CiAg
ZG9jdW1lbnQuZG9jdW1lbnRFbGVtZW50LndlYmtpdFJlcXVlc3RGdWxsc2NyZWVuKCk7Cn0KCmZ1
bmN0aW9uIGV4aXRGdWxsc2NyZWVuKCkgewogIGRvY3VtZW50LndlYmtpdEV4aXRGdWxsc2NyZWVu
KCk7Cn0KCmZ1bmN0aW9uIHRyaWdnZXJBbGVydCgpIHsKICBhbGVydCgiSGVsbG8gd29ybGQhIik7
Cn0KPC9zY3JpcHQ+Cgo8YnV0dG9uIG9uY2xpY2s9ImxhdW5jaEZ1bGxzY3JlZW4oKSI+TGF1bmNo
IGZ1bGxzY3JlZW48L2J1dHRvbj4KPGJ1dHRvbiBvbmNsaWNrPSJleGl0RnVsbHNjcmVlbigpIj5F
eGl0IGZ1bGxzY3JlZW48L2J1dHRvbj4KPGJ1dHRvbiBvbmNsaWNrPSJ0cmlnZ2VyQWxlcnQoKSI+
VHJpZ2dlciBhbGVydDwvYnV0dG9uPgoKPGRpdj5TdGVwcyB0byByZXByb2R1Y2U6PC9kaXY+Cjxv
bD4KPGxpPlRhcCB0aGUgIkxhdW5jaCBmdWxsc2NyZWVuIiBidXR0b24KPGxpPk9uY2UgaW4gZnVs
bHNjcmVlbiwgdGFwIHRoZSAiVHJpZ2dlciBhbGVydCIgYnV0dG9uLgo8bGk+RnVsbHNjcmVlbiB3
aWxsIGV4aXQgYW5kIGFuIGFsZXJ0IHdpbGwgYmUgc2hvd24KPGxpPkRpc21pc3MgdGhlIGFsZXJ0
CjxsaT5UYXAgdGhlICJMYXVuY2ggZnVsbHNjcmVlbiIgYnV0dG9uIHRvIHRyeSB0byByZS1sYXVu
Y2ggZnVsbHNjcmVlbi4KPC9vbD4K
</data>

          </attachment>
      

    </bug>

</bugzilla>