<?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>66163</bug_id>
          
          <creation_ts>2011-08-12 13:55:57 -0700</creation_ts>
          <short_desc>Loading resources in reparented iframes are cancelled when original window closes.</short_desc>
          <delta_ts>2011-08-17 18:15:30 -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>All</rep_platform>
          <op_sys>All</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>
          <dependson>66165</dependson>
    
    <dependson>66167</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dmitry Titov">dimich</reporter>
          <assigned_to name="Dmitry Titov">dimich</assigned_to>
          <cc>ap</cc>
    
    <cc>aroben</cc>
    
    <cc>beidson</cc>
    
    <cc>bweinstein</cc>
    
    <cc>fishd</cc>
    
    <cc>jennb</cc>
    
    <cc>sam</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>450641</commentid>
    <comment_count>0</comment_count>
    <who name="Dmitry Titov">dimich</who>
    <bug_when>2011-08-12 13:55:57 -0700</bug_when>
    <thetext>This is an umbrella bug for patches required to fix  http://crbug.com/55200

We need to have a mechanism to tell the embedder that a resource which is still loading is now owned by another WebFrame. The patch for the bug 44713 has introduced &quot;transferLoadingResourceToNewPage&quot; notification on FrameLoaderClient which is very close in semantics. Unfortunately, it doesn&apos;t come with enough parameters to let embedders like Chromium to &apos;redirect&apos; the loading notifications to the new top-level WebFrame.

The idea of the fix is to pass ResourceLoader of the loading resource into transferLoadingResourceToNewPage. This will make it possible to get to the platform-specific ResourceHandleInternal on the side of the embedder, so the embedder-specific info may be pulled out of it and transferred to the WebFrame which is the new owner of loading resources.

This obsoletes bug 65890 which was the previous attempt at the fix.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>452781</commentid>
    <comment_count>1</comment_count>
    <who name="Dmitry Titov">dimich</who>
    <bug_when>2011-08-17 18:15:30 -0700</bug_when>
    <thetext>WebKit now provides a FrameLoaderCient callback that has sufficient info for the embedder to find the pending resource load and update it if necessary. Chromium&apos;s embedder side patch was landed here: http://src.chromium.org/viewvc/chrome?view=rev&amp;revision=97048</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>