<?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>313674</bug_id>
          
          <creation_ts>2026-04-29 12:39:05 -0700</creation_ts>
          <short_desc>[iOS] document.exitFullscreen() rejects with `Not in fullscreen` when a video is fullscreen</short_desc>
          <delta_ts>2026-10-15 09:38:15 -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>Media</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>iPhone / iPad</rep_platform>
          <op_sys>iOS 27</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>
          
          <blocked>206854</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Jean Haberer">jean.haberer</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>fred.wang</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2205939</commentid>
    <comment_count>0</comment_count>
    <who name="Jean Haberer">jean.haberer</who>
    <bug_when>2026-04-29 12:39:05 -0700</bug_when>
    <thetext>document.exitFullscreen() rejects with `Not in fullscreen` when a video is fullscreen</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2205940</commentid>
    <comment_count>1</comment_count>
    <who name="Jean Haberer">jean.haberer</who>
    <bug_when>2026-04-29 12:39:07 -0700</bug_when>
    <thetext>&lt;rdar://problem/175680486&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2205943</commentid>
    <comment_count>2</comment_count>
    <who name="Jean Haberer">jean.haberer</who>
    <bug_when>2026-04-29 12:42:17 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/63913</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2264497</commentid>
    <comment_count>3</comment_count>
      <attachid>481845</attachid>
    <who name="Frédéric Wang Nélar">fred.wang</who>
    <bug_when>2026-10-15 09:16:59 -0700</bug_when>
    <thetext>Created attachment 481845
testcase</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2264499</commentid>
    <comment_count>4</comment_count>
      <attachid>481846</attachid>
    <who name="Frédéric Wang Nélar">fred.wang</who>
    <bug_when>2026-10-15 09:20:24 -0700</bug_when>
    <thetext>Created attachment 481846
testcase</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2264512</commentid>
    <comment_count>5</comment_count>
    <who name="Frédéric Wang Nélar">fred.wang</who>
    <bug_when>2026-10-15 09:38:15 -0700</bug_when>
    <thetext>The attached testcase seems to work well on Desktop (Linux and macos). On iphone 27.0 simulator and ipad device 17.7.11 I can reproduce the issue, the video does not exist fullscreen. The testcase seems kinda broken with ipad 27.0 simulator, not sure why.

Anyway from the desc of https://github.com/WebKit/WebKit/pull/63913 it seems an iOS-specific bug so marking it as such.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="0"
              isprivate="0"
          >
            <attachid>481845</attachid>
            <date>2026-10-15 09:16:59 -0700</date>
            <delta_ts>2026-10-15 09:20:24 -0700</delta_ts>
            <desc>testcase</desc>
            <filename>313674.html</filename>
            <type>text/html</type>
            <size>561</size>
            <attacher name="Frédéric Wang Nélar">fred.wang</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjxtZXRhIGNoYXJzZXQ9InV0Zi04Ii8+CjxzY3JpcHQ+CiAgZnVuY3Rp
b24gZXhpdEZ1bGxzY3JlZW5BZnRlclNvbWVEZWxheSgpIHsKICAgIHNldFRpbWVvdXQoXyA9PiB7
CiAgICAgIHRyeSB7CiAgICAgICAgZG9jdW1lbnQuZXhpdEZ1bGxzY3JlZW4oKTsKICAgICAgfSBj
YXRjaChlKSB7CiAgICAgICAgbG9nLnRleHRDb250ZW50ICs9IGAke2UubWVzc2FnZX1cbntlLnN0
YWNrfWA7CiAgICAgIH0KICAgIH0sIDUwMDApOwogIH0KPC9zY3JpcHQ+CjxidXR0b24gb25jbGlj
az0idmlkZW8ucmVxdWVzdEZ1bGxzY3JlZW4oKSI+RnVsbHNjcmVlbiB2aWRlbzwvYnV0dG9uPgo8
cHJlIGlkPSJsb2ciPjwvcHJlPgo8dmlkZW8gaWQ9InZpZGVvIiBzcmM9Imh0dHBzOi8vYXJjaGl2
ZS5vcmcvZG93bmxvYWQvQmlnQnVja0J1bm55XzEyNC9Db250ZW50L2JpZ19idWNrX2J1bm55Xzcy
MHBfc3Vycm91bmQubXA0IiBhbGxvdz0iZnVsbHNjcmVlbiIgb25wbGF5PSJleGl0RnVsbHNjcmVl
bkFmdGVyU29tZURlbGF5KCkiIGNvbnRyb2xzPSJjb250cm9scyI+PC92aWRlbz4K
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>481846</attachid>
            <date>2026-10-15 09:20:24 -0700</date>
            <delta_ts>2026-10-15 09:20:24 -0700</delta_ts>
            <desc>testcase</desc>
            <filename>313674.html</filename>
            <type>text/html</type>
            <size>766</size>
            <attacher name="Frédéric Wang Nélar">fred.wang</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjxtZXRhIGNoYXJzZXQ9InV0Zi04Ii8+CjxzY3JpcHQ+CiAgZnVuY3Rp
b24gZXhpdEZ1bGxzY3JlZW5BZnRlclNvbWVEZWxheSgpIHsKICAgIHNldFRpbWVvdXQoYXN5bmMg
XyA9PiB7CiAgICAgIHRyeSB7CiAgICAgICAgYXdhaXQgZG9jdW1lbnQuZXhpdEZ1bGxzY3JlZW4o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