<?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>99496</bug_id>
          
          <creation_ts>2012-10-16 13:39:10 -0700</creation_ts>
          <short_desc>Crash in WebCore::Document::webkitExitFullscreen + 618</short_desc>
          <delta_ts>2014-01-23 20:24:31 -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>New Bugs</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jer Noble">jer.noble</reporter>
          <assigned_to name="Jer Noble">jer.noble</assigned_to>
          <cc>eric</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>743491</commentid>
    <comment_count>0</comment_count>
    <who name="Jer Noble">jer.noble</who>
    <bug_when>2012-10-16 13:39:10 -0700</bug_when>
    <thetext>Crash in WebCore::Document::webkitExitFullscreen + 618</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>743492</commentid>
    <comment_count>1</comment_count>
    <who name="Jer Noble">jer.noble</who>
    <bug_when>2012-10-16 13:39:28 -0700</bug_when>
    <thetext>&lt;rdar://problem/12081388&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>743494</commentid>
    <comment_count>2</comment_count>
    <who name="Jer Noble">jer.noble</who>
    <bug_when>2012-10-16 13:40:38 -0700</bug_when>
    <thetext>Backtrace:

Thread 0 Crashed ↩:: Dispatch queue: com.apple.main-thread
0   com.apple.WebCore             	0x00007fff8fd9271a WebCore::Document::webkitExitFullscreen() + 618
1   com.apple.WebCore             	0x00007fff8fc101d4 WebCore::Document::webkitCancelFullScreen() + 404
2   com.apple.WebKit2             	0x00007fff9432eef1 WebKit::WebConnectionToUIProcess::didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::ArgumentDecoder*) + 179
3   com.apple.WebKit2             	0x00007fff9429b715 CoreIPC::Connection::dispatchMessage(CoreIPC::Connection::Message&lt;CoreIPC::ArgumentDecoder&gt;&amp;) + 175
4   com.apple.WebKit2             	0x00007fff942de403 CoreIPC::Connection::dispatchOneMessage() + 139
5   com.apple.WebCore             	0x00007fff9021cc19 WebCore::RunLoop::performWork() + 201
6   com.apple.WebCore             	0x00007fff9021d1f7 WebCore::RunLoop::performWork(void*) + 71
7   com.apple.CoreFoundation      	0x00007fff8dfe8841 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
8   com.apple.CoreFoundation      	0x00007fff8dfe8165 __CFRunLoopDoSources0 + 245
9   com.apple.CoreFoundation      	0x00007fff8e00b4e5 __CFRunLoopRun + 789
10  com.apple.CoreFoundation      	0x00007fff8e00add2 CFRunLoopRunSpecific + 290
11  com.apple.HIToolbox           	0x00007fff8da3a774 RunCurrentEventLoopInMode + 209
12  com.apple.HIToolbox           	0x00007fff8da3a512 ReceiveNextEventCommon + 356
13  com.apple.HIToolbox           	0x00007fff8da3a3a3 BlockUntilNextEventMatchingListInMode + 62
14  com.apple.AppKit              	0x00007fff8cd8efa3 _DPSNextEvent + 685
15  com.apple.AppKit              	0x00007fff8cd8e862 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128
16  com.apple.AppKit              	0x00007fff8cd85c03 -[NSApplication run] + 517
17  com.apple.WebCore             	0x00007fff9021d5cf WebCore::RunLoop::run() + 63
18  com.apple.WebKit2             	0x00007fff943876d0 WebKit::WebProcessMain(WebKit::CommandLine const&amp;) + 2586
19  com.apple.WebKit2             	0x00007fff9434f275 WebKitMain + 285
20  com.apple.WebProcess          	0x000000010a7dde7b 0x10a7dd000 + 3707
21  libdyld.dylib                 	0x00007fff969f97e1 start + 1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>743501</commentid>
    <comment_count>3</comment_count>
      <attachid>169015</attachid>
    <who name="Jer Noble">jer.noble</who>
    <bug_when>2012-10-16 13:43:01 -0700</bug_when>
    <thetext>Created attachment 169015
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>745451</commentid>
    <comment_count>4</comment_count>
      <attachid>169015</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-10-18 12:03:34 -0700</bug_when>
    <thetext>Comment on attachment 169015
Patch

Clearing flags on attachment: 169015

Committed r131785: &lt;http://trac.webkit.org/changeset/131785&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>745452</commentid>
    <comment_count>5</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-10-18 12:03:37 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>971483</commentid>
    <comment_count>6</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2014-01-23 20:24:31 -0800</bug_when>
    <thetext>A reproduction for this bug was found when we tried to remove this null-check in Chromium:

1. Go to engadget.com/videos
2. Tap on one of the videos
3. Tap the fullscreen icon
4. Tap the Back key

I think this was the wrong fix.  It doesn&apos;t make sense on the surface for an element to still be fullscreen at a time at which it&apos;s document or frame has been disconnected from the Page.  Presumably the fullscreen should already have been canceled when the frame or document disconnect happened.  We&apos;re likely to temporarily add back the null check in Blink code but then find a better way around this.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>169015</attachid>
            <date>2012-10-16 13:43:01 -0700</date>
            <delta_ts>2012-10-18 12:03:33 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-99496-20121016134150.patch</filename>
            <type>text/plain</type>
            <size>1418</size>
            <attacher name="Jer Noble">jer.noble</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTMxNDk0CmRpZmYgLS1naXQgYS9Tb3VyY2UvV2ViQ29yZS9D
aGFuZ2VMb2cgYi9Tb3VyY2UvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXggYTM1NmIwNTg2MWVlMjU0
YzFlNTFjY2YwYzM5NzgxZGRiODg2MTNiYy4uNjUyZjg3YmMwZjQ2YjBhZWQ0ZjE4MGFiZjFhZDhm
MzA1ZGRmNDMyOSAxMDA2NDQKLS0tIGEvU291cmNlL1dlYkNvcmUvQ2hhbmdlTG9nCisrKyBiL1Nv
dXJjZS9XZWJDb3JlL0NoYW5nZUxvZwpAQCAtMSwzICsxLDE1IEBACisyMDEyLTEwLTE2ICBKZXIg
Tm9ibGUgIDxqZXIubm9ibGVAYXBwbGUuY29tPgorCisgICAgICAgIENyYXNoIGluIFdlYkNvcmU6
OkRvY3VtZW50Ojp3ZWJraXRFeGl0RnVsbHNjcmVlbiArIDYxOAorICAgICAgICBodHRwczovL2J1
Z3Mud2Via2l0Lm9yZy9zaG93X2J1Zy5jZ2k/aWQ9OTk0OTYKKworICAgICAgICBSZXZpZXdlZCBi
eSBOT0JPRFkgKE9PUFMhKS4KKworICAgICAgICBQcm9zcGVjdGl2ZSBmaXggZm9yIG51bGwtZGVy
ZWZlcmVuY2UgY3Jhc2ggaW4gRG9jdW1lbnQ6OndlYmtpdEV4aXRGdWxsc2NyZWVuKCkuCisKKyAg
ICAgICAgKiBkb20vRG9jdW1lbnQuY3BwOgorICAgICAgICAoV2ViQ29yZTo6RG9jdW1lbnQ6Ondl
YmtpdEV4aXRGdWxsc2NyZW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