<?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>55445</bug_id>
          
          <creation_ts>2011-02-28 20:25:02 -0800</creation_ts>
          <short_desc>LegacyWebArchive::create(Frame*) does not generate content for subframes</short_desc>
          <delta_ts>2011-02-28 20:25:02 -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>WebCore Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></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="Alice Liu">alice.barraclough</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>359634</commentid>
    <comment_count>0</comment_count>
    <who name="Alice Liu">alice.barraclough</who>
    <bug_when>2011-02-28 20:25:02 -0800</bug_when>
    <thetext>I&apos;m unsure if this is a bug, but
for a given webpage, calling LegacyWebArchive::create(Frame*) does not generate the same webarchive content as LegacyWebArchive::create(Node*) where the webpage&apos;s main frame is passed to the former, and the webpage&apos;s main frame&apos;s document node is passed to the latter. 

this is observable if you try to create a webarchive of a page with iframes, like one&apos;s facebook homepage via LegacyWebArchive::create(Frame*) instead of LegacyWebArchive::create(Node*).

I&apos;ve checked throughout the webkit opensource projects that are built on mac, and it seems that the only place we use LegacyWebArchive::create(Frame*) is from DumpRenderTree::dump(), in the case for &quot;dumpSourceAsWebArchive&quot;.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>