WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
181189
[Attachment Support] Introduce data structures and IPC support for writing promised blobs
https://bugs.webkit.org/show_bug.cgi?id=181189
Summary
[Attachment Support] Introduce data structures and IPC support for writing pr...
Wenson Hsieh
Reported
2017-12-29 15:02:23 PST
Work towards async drag and drop support for blobs on iOS/macOS.
Attachments
Patch
(12.49 KB, patch)
2017-12-29 15:15 PST
,
Wenson Hsieh
thorton
: review+
Details
Formatted Diff
Diff
Patch for landing
(12.39 KB, patch)
2018-01-02 17:33 PST
,
Wenson Hsieh
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Wenson Hsieh
Comment 1
2017-12-29 15:15:06 PST
Created
attachment 330260
[details]
Patch
Tim Horton
Comment 2
2018-01-02 17:02:56 PST
Comment on
attachment 330260
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=330260&action=review
> Source/WebKit/Shared/WebCoreArgumentCoders.h:701 > +template<> struct ArgumentCoder<WebCore::PromisedBlobData> {
I /think/ we're not supposed to add things to these files anymore, but stick them with the type instead? With the magical new WebCore coders? I'm not sure. Alex would know.
Wenson Hsieh
Comment 3
2018-01-02 17:10:59 PST
(In reply to Tim Horton from
comment #2
)
> Comment on
attachment 330260
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=330260&action=review
> > > Source/WebKit/Shared/WebCoreArgumentCoders.h:701 > > +template<> struct ArgumentCoder<WebCore::PromisedBlobData> { > > I /think/ we're not supposed to add things to these files anymore, but stick > them with the type instead? With the magical new WebCore coders? I'm not > sure. Alex would know.
I see. I put this here (instead of defining WebCore coder methods) because this needs to ship a SharedBuffer over to the UI process, which (AFAIK) uses some WebKit machinery, like SharedMemory. Should that be brought into in WebCore instead? Or would this have to call into the client to know how to encode a SharedBuffer?
Tim Horton
Comment 4
2018-01-02 17:16:39 PST
Ah! You had a good reason, ignore me!
Tim Horton
Comment 5
2018-01-02 17:20:53 PST
Comment on
attachment 330260
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=330260&action=review
> Source/WebCore/platform/PromisedBlobInfo.h:45 > + String filepath;
filepath seems weirdly capitalized? filePath? path?
Wenson Hsieh
Comment 6
2018-01-02 17:22:20 PST
(In reply to Tim Horton from
comment #5
)
> Comment on
attachment 330260
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=330260&action=review
> > > Source/WebCore/platform/PromisedBlobInfo.h:45 > > + String filepath; > > filepath seems weirdly capitalized? filePath? path?
Oh, right — this should be filePath. Fixed!
Wenson Hsieh
Comment 7
2018-01-02 17:33:32 PST
Created
attachment 330359
[details]
Patch for landing
Wenson Hsieh
Comment 8
2018-01-02 18:55:30 PST
(In reply to Wenson Hsieh from
comment #7
)
> Created
attachment 330359
[details]
> Patch for landing
Looks like commit-queue is unresponsive… Committed
r226348
: <
https://trac.webkit.org/changeset/226348
>.
Radar WebKit Bug Importer
Comment 9
2018-01-02 19:07:42 PST
<
rdar://problem/36268535
>
Yusuke Suzuki
Comment 10
2018-01-02 19:44:06 PST
Committed
r226350
: <
https://trac.webkit.org/changeset/226350
>
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