Bug 220782

Summary: [macOS] Include an origin identifier when writing promised image data to the drag pasteboard
Product: WebKit Reporter: Wenson Hsieh <wenson_hsieh>
Component: HTML EditingAssignee: Wenson Hsieh <wenson_hsieh>
Status: RESOLVED FIXED    
Severity: Normal CC: hi, megan_gardner, thorton, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
megan_gardner: review+
Patch for landing none

Wenson Hsieh
Reported 2021-01-20 15:52:36 PST
Needed to avoid regressing the layout test editing/pasteboard/drag-and-drop-objectimage-contenteditable.html after the changes in bug #215399
Attachments
Patch (19.31 KB, patch)
2021-01-20 16:00 PST, Wenson Hsieh
megan_gardner: review+
Patch for landing (19.30 KB, patch)
2021-01-20 18:47 PST, Wenson Hsieh
no flags
Wenson Hsieh
Comment 1 2021-01-20 16:00:25 PST
Megan Gardner
Comment 2 2021-01-20 16:21:44 PST
Comment on attachment 418002 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=418002&action=review > Source/WebKit/UIProcess/mac/PageClientImplMac.h:104 > + const String& url, const String& visibleUrl, RefPtr<WebCore::SharedBuffer>&& archiveBuffer, const String& originIdentifier) override; Caps URL here like above?
Wenson Hsieh
Comment 3 2021-01-20 16:53:48 PST
(In reply to Megan Gardner from comment #2) > Comment on attachment 418002 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=418002&action=review > > > Source/WebKit/UIProcess/mac/PageClientImplMac.h:104 > > + const String& url, const String& visibleUrl, RefPtr<WebCore::SharedBuffer>&& archiveBuffer, const String& originIdentifier) override; > > Caps URL here like above? Good catch! Changed to visibleURL.
Wenson Hsieh
Comment 4 2021-01-20 18:47:10 PST
Created attachment 418013 [details] Patch for landing
EWS
Comment 5 2021-01-20 19:30:02 PST
Committed r271685: <https://trac.webkit.org/changeset/271685> All reviewed patches have been landed. Closing bug and clearing flags on attachment 418013 [details].
Radar WebKit Bug Importer
Comment 6 2021-01-20 19:31:15 PST
Note You need to log in before you can comment on or make changes to this bug.