<?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>83272</bug_id>
          
          <creation_ts>2012-04-05 05:37:36 -0700</creation_ts>
          <short_desc>Reloading a fullscreen document resets document.webkitIsFullScreen</short_desc>
          <delta_ts>2026-10-15 10:07:49 -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>WebCore Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>276855</blocked>
          <everconfirmed>0</everconfirmed>
          <reporter>T.Rosenau</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>fred.wang</cc>
    
    <cc>jer.noble</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>596506</commentid>
    <comment_count>0</comment_count>
      <attachid>135809</attachid>
    <who name="">T.Rosenau</who>
    <bug_when>2012-04-05 05:37:36 -0700</bug_when>
    <thetext>Created attachment 135809
Testcase

Steps to reproduce:

- Open arbitrary website
- Enable fullscreen mode via JS
- Reload
- Query document.webkitIsFullScreen

Expected result:
true

Actual result:
false</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>596549</commentid>
    <comment_count>1</comment_count>
    <who name="">T.Rosenau</who>
    <bug_when>2012-04-05 07:34:25 -0700</bug_when>
    <thetext>Not only does this affect reloads, but also loading any other document while full screen mode is active.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2261795</commentid>
    <comment_count>2</comment_count>
      <attachid>481743</attachid>
    <who name="Frédéric Wang Nélar">fred.wang</who>
    <bug_when>2026-10-10 01:36:32 -0700</bug_when>
    <thetext>Created attachment 481743
updated testcase</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2261796</commentid>
    <comment_count>3</comment_count>
    <who name="Frédéric Wang Nélar">fred.wang</who>
    <bug_when>2026-10-10 01:38:08 -0700</bug_when>
    <thetext>These days, a user gesture is required to trigger fullscreen. I&apos;ve updated the testcase, keeping the same spirit as in the report, however the reload actually leaves fullscreen mode, so document.webkitIsFullScreen == false is actually correct. Closing this bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>135809</attachid>
            <date>2012-04-05 05:37:36 -0700</date>
            <delta_ts>2012-04-05 05:37:36 -0700</delta_ts>
            <desc>Testcase</desc>
            <filename>test.html</filename>
            <type>text/html</type>
            <size>660</size>
            <attacher>T.Rosenau</attacher>
            
              <data encoding="base64">PHNjcmlwdD4KICAgIGZ1bmN0aW9uIGRvTG9nKCkgewogICAgICAgIGNvbnNvbGUuYXNzZXJ0KGRv
Y3VtZW50LndlYmtpdElzRnVsbFNjcmVlbiA9PSAod2luZG93LmlubmVySGVpZ2h0ID09IHNjcmVl
bi5oZWlnaHQpLCAnTG9va3MgbGlrZSBkb2N1bWVudC53ZWJraXRJc0Z1bGxTY3JlZW4gaXMgd3Jv
bmcnKTsKICAgICAgICBjb25zb2xlLmxvZygnQWN0dWFsbHkgZnVsbHNjcmVlbj8gJywgd2luZG93
LmlubmVySGVpZ2h0ID09IHNjcmVlbi5oZWlnaHQpOwogICAgICAgIGNvbnNvbGUubG9nKCdkb2N1
bWVudC53ZWJraXRJc0Z1bGxTY3JlZW46ICcsIGRvY3VtZW50LndlYmtpdElzRnVsbFNjcmVlbik7
CiAgICB9CgogICAgZG9Mb2coKTsKICAgIGNvbnNvbGUubG9nKCdyZXF1ZXN0aW5nIGZ1bGxzY3Jl
ZW4nKTsKICAgIGRvY3VtZW50LmRvY3VtZW50RWxlbWVudC53ZWJraXRSZXF1ZXN0RnVsbFNjcmVl
bihFbGVtZW50LkFMTE9XX0tFWUJPQVJEX0lOUFVUKTsKICAgIGRvTG9nKCk7CiAgICBjb25zb2xl
LmxvZygnc2xlZXBpbmcuLi4nKTsKICAgIHNldFRpbWVvdXQoZnVuY3Rpb24gKCkgewogICAgICAg
IGRvTG9nKCk7CiAgICAgICAgd2luZG93LmNvbmZpcm0oJ3JlbG9hZD8nKSAmJiBsb2NhdGlvbi5y
ZWxvYWQoKTsKICAgIH0sIDEwMDApOwo8L3NjcmlwdD4K
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>481743</attachid>
            <date>2026-10-10 01:36:32 -0700</date>
            <delta_ts>2026-10-10 01:36:32 -0700</delta_ts>
            <desc>updated testcase</desc>
            <filename>83272.html</filename>
            <type>text/html</type>
            <size>312</size>
            <attacher name="Frédéric Wang Nélar">fred.wang</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjxkaXYgaWQ9ImxvZyI+PC9kaXY+CjxidXR0b24gb25jbGljaz0ic3Rh
cnQoKSI+U3RhcnQgdGVzdDwvYnV0dG9uPgo8c2NyaXB0PgogIGxvZy5pbm5lckhUTUwgPSBgZG9j
dW1lbnQud2Via2l0SXNGdWxsU2NyZWVuID09ICR7ZG9jdW1lbnQud2Via2l0SXNGdWxsU2NyZWVu
fWA7CiAgZnVuY3Rpb24gc3RhcnQoKSB7CiAgICBkb2N1bWVudC5kb2N1bWVudEVsZW1lbnQud2Vi
a2l0UmVxdWVzdEZ1bGxTY3JlZW4oKTsKICAgIHNldFRpbWVvdXQoXyA9PiBsb2NhdGlvbi5yZWxv
YWQoKSwgMTAwMCk7CiAgfQo8L3NjcmlwdD4K
</data>

          </attachment>
      

    </bug>

</bugzilla>