WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
31955
postMessage should serialize File objects
https://bugs.webkit.org/show_bug.cgi?id=31955
Summary
postMessage should serialize File objects
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+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Oliver Hunt
Comment 1
2009-11-28 17:00:27 PST
Created
attachment 43986
[details]
Patch
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.
Top of Page
Format For Printing
XML
Clone This Bug