Bug 31955

Summary: postMessage should serialize File objects
Product: WebKit Reporter: Oliver Hunt <oliver>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
Attachments:
Description Flags
Patch sam: review+

Oliver Hunt
Reported 2009-11-28 15:48:41 PST
the internal structured cloning algorithm indicates that we should clone File objects
Attachments
Patch (7.25 KB, patch)
2009-11-28 17:00 PST, Oliver Hunt
sam: review+
Oliver Hunt
Comment 1 2009-11-28 17:00:27 PST
Sam Weinig
Comment 2 2009-11-28 19:03:25 PST
Comment on attachment 43986 [details] Patch > SerializedType type() const { return m_type; } > @@ -77,6 +79,8 @@ namespace WebCore { > , m_string(string.crossThreadString()) // FIXME: Should be able to just share the Rep > { > } > + > + explicit SerializedScriptValueData(const File* file); The parameter name is not necessary here. r=me
Oliver Hunt
Comment 3 2009-11-29 20:23:25 PST
Committed r51480
Note You need to log in before you can comment on or make changes to this bug.