Bug 173338 - Using -[WebItemProviderPasteboard setItemProviders:] to swap out item providers before a drop breaks item provider loading
Summary: Using -[WebItemProviderPasteboard setItemProviders:] to swap out item provide...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Wenson Hsieh
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2017-06-13 16:20 PDT by Wenson Hsieh
Modified: 2017-06-16 20:13 PDT (History)
6 users (show)

See Also:


Attachments
Patch (39.73 KB, patch)
2017-06-14 16:18 PDT, Wenson Hsieh
no flags Details | Formatted Diff | Diff
Rebase on master (40.70 KB, patch)
2017-06-14 16:30 PDT, Wenson Hsieh
no flags Details | Formatted Diff | Diff
Patch (39.95 KB, patch)
2017-06-14 18:11 PDT, Wenson Hsieh
thorton: review+
Details | Formatted Diff | Diff
Patch for landing (39.82 KB, patch)
2017-06-15 10:27 PDT, 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-06-13 16:20:22 PDT
Some internal editing clients need the ability to withhold a subset of a session's item providers from being handled by the page on drop. Currently, this results in WebItemProviderPasteboard being unable to load content, due to WebItemProviderPasteboard's list of preferred type identifiers to load not matching up with its list of item providers.
Comment 1 Wenson Hsieh 2017-06-14 16:18:14 PDT
Created attachment 312928 [details]
Patch
Comment 2 Wenson Hsieh 2017-06-14 16:18:52 PDT
<rdar://problem/32777720>
Comment 3 Wenson Hsieh 2017-06-14 16:30:44 PDT
Created attachment 312932 [details]
Rebase on master
Comment 4 Wenson Hsieh 2017-06-14 18:11:50 PDT
Created attachment 312942 [details]
Patch
Comment 5 Tim Horton 2017-06-14 18:29:41 PDT
Comment on attachment 312942 [details]
Patch

Much nicer!
Comment 6 Wenson Hsieh 2017-06-15 10:27:29 PDT
Created attachment 312990 [details]
Patch for landing
Comment 7 WebKit Commit Bot 2017-06-15 11:11:56 PDT
Comment on attachment 312990 [details]
Patch for landing

Clearing flags on attachment: 312990

Committed r218343: <http://trac.webkit.org/changeset/218343>