Bug 181190

Summary: [Attachment Support] Introduce a client object for receiving promised blob information in the UI process
Product: WebKit Reporter: Wenson Hsieh <wenson_hsieh>
Component: WebKit Misc.Assignee: Wenson Hsieh <wenson_hsieh>
Status: RESOLVED WONTFIX    
Severity: Normal    
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 181189    
Bug Blocks: 181201    
Attachments:
Description Flags
Depends on https://bugs.webkit.org/show_bug.cgi?id=181189
none
v2 (blocked by https://bugs.webkit.org/show_bug.cgi?id=181189) none

Description Wenson Hsieh 2017-12-29 15:38:27 PST
More work towards async drag and drop support for blobs on iOS/macOS.
Comment 1 Wenson Hsieh 2017-12-29 18:49:20 PST
Created attachment 330261 [details]
Depends on https://bugs.webkit.org/show_bug.cgi?id=181189
Comment 2 Wenson Hsieh 2018-01-02 16:49:20 PST
Created attachment 330352 [details]
v2 (blocked by https://bugs.webkit.org/show_bug.cgi?id=181189)
Comment 3 Wenson Hsieh 2018-01-02 22:39:02 PST
On further investigation, I don't think it's possible to implement attachment dragging support through this mechanism, given that there's no way on iOS to tell when the destination app is finished accepting data on drop.

As such, we can't cache any information any information in the UI process because it's not possible to know when it's safe to clean up the cached data.

I need to rethink this...