Bug 181190 - [Attachment Support] Introduce a client object for receiving promised blob information in the UI process
Summary: [Attachment Support] Introduce a client object for receiving promised blob in...
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Wenson Hsieh
URL:
Keywords:
Depends on: 181189
Blocks: 181201
  Show dependency treegraph
 
Reported: 2017-12-29 15:38 PST by Wenson Hsieh
Modified: 2018-01-02 22:39 PST (History)
0 users

See Also:


Attachments
Depends on https://bugs.webkit.org/show_bug.cgi?id=181189 (22.86 KB, patch)
2017-12-29 18:49 PST, Wenson Hsieh
no flags Details | Formatted Diff | Diff
v2 (blocked by https://bugs.webkit.org/show_bug.cgi?id=181189) (23.09 KB, patch)
2018-01-02 16:49 PST, Wenson Hsieh
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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...