Bug 55445 - LegacyWebArchive::create(Frame*) does not generate content for subframes
Summary: LegacyWebArchive::create(Frame*) does not generate content for subframes
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-28 20:25 PST by Alice Liu
Modified: 2011-02-28 20:25 PST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alice Liu 2011-02-28 20:25:02 PST
I'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's main frame is passed to the former, and the webpage's main frame'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's facebook homepage via LegacyWebArchive::create(Frame*) instead of LegacyWebArchive::create(Node*).

I'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 "dumpSourceAsWebArchive".