WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
168612
Use the new drag code path when dragging links
https://bugs.webkit.org/show_bug.cgi?id=168612
Summary
Use the new drag code path when dragging links
Anders Carlsson
Reported
2017-02-20 13:20:18 PST
Use the new drag code path when dragging links
Attachments
Patch
(11.53 KB, patch)
2017-02-20 13:24 PST
,
Anders Carlsson
no flags
Details
Formatted Diff
Diff
Patch
(11.46 KB, patch)
2017-02-20 13:54 PST
,
Anders Carlsson
no flags
Details
Formatted Diff
Diff
Archive of layout-test-results from ews101 for mac-elcapitan
(1.02 MB, application/zip)
2017-02-20 15:00 PST
,
Build Bot
no flags
Details
Archive of layout-test-results from ews112 for mac-elcapitan
(2.42 MB, application/zip)
2017-02-20 15:36 PST
,
Build Bot
no flags
Details
Patch
(13.24 KB, patch)
2017-02-20 15:48 PST
,
Anders Carlsson
thorton
: review+
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Anders Carlsson
Comment 1
2017-02-20 13:24:54 PST
Created
attachment 302169
[details]
Patch
Anders Carlsson
Comment 2
2017-02-20 13:54:59 PST
Created
attachment 302171
[details]
Patch
WebKit Commit Bot
Comment 3
2017-02-20 13:58:19 PST
Attachment 302171
[details]
did not pass style-queue: ERROR: Source/WebCore/platform/mac/PasteboardWriter.mm:69: Extra space in capture list. [whitespace/brackets] [4] ERROR: Source/WebCore/platform/mac/PasteboardWriter.mm:71: Extra space in capture list. [whitespace/brackets] [4] ERROR: Source/WebCore/platform/mac/PasteboardWriter.mm:73: Extra space in capture list. [whitespace/brackets] [4] Total errors found: 3 in 8 files If any of these errors are false positives, please file a bug against check-webkit-style.
Wenson Hsieh
Comment 4
2017-02-20 14:35:19 PST
Comment on
attachment 302171
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=302171&action=review
> Source/WebCore/platform/PasteboardWriterData.cpp:57 > +void PasteboardWriterData::setURL(URL url)
Could we make this a const URL& or URL&&?
> Source/WebCore/platform/mac/PasteboardWriter.mm:69 > + [pasteboardItem setPropertyList:@[ cocoaURL.relativeString, baseCocoaURL.absoluteString ] forType:toUTI(NSURLPboardType).get()];
Is there any case where baseCocoaURL.absoluteString can return nil even though baseCocoaURL exists? (same with cocoaURL.relativeString)
Build Bot
Comment 5
2017-02-20 15:00:21 PST
Comment on
attachment 302171
[details]
Patch
Attachment 302171
[details]
did not pass mac-ews (mac): Output:
http://webkit-queues.webkit.org/results/3161328
New failing tests: fast/events/drag-and-drop-link-fast-multiple-times-does-not-crash.html fast/events/drag-parent-node.html editing/pasteboard/drop-text-without-selection.html fast/events/drag-select-when-zoomed-with-header.html fast/events/drag-and-drop-link-into-focused-contenteditable.html fast/events/drag-and-drop-link.html fast/events/dropzone-003.html fast/events/content-changed-during-drop.html fast/events/drag-in-frames.html editing/pasteboard/files-during-page-drags.html editing/pasteboard/drop-link.html
Build Bot
Comment 6
2017-02-20 15:00:25 PST
Created
attachment 302175
[details]
Archive of layout-test-results from ews101 for mac-elcapitan The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews101 Port: mac-elcapitan Platform: Mac OS X 10.11.6
Build Bot
Comment 7
2017-02-20 15:36:28 PST
Comment on
attachment 302171
[details]
Patch
Attachment 302171
[details]
did not pass mac-debug-ews (mac): Output:
http://webkit-queues.webkit.org/results/3161401
New failing tests: fast/events/shift-drag-selection-on-link-triggers-drag-n-drop.html fast/events/drag-and-drop-link-fast-multiple-times-does-not-crash.html fast/events/drag-parent-node.html editing/pasteboard/drop-text-without-selection.html fast/events/drag-in-frames.html fast/events/drag-and-drop-link-into-focused-contenteditable.html editing/pasteboard/files-during-page-drags.html fast/events/dropzone-003.html fast/css/user-drag-none.html fast/events/content-changed-during-drop.html fast/events/drag-and-drop-link.html editing/pasteboard/drop-link.html
Build Bot
Comment 8
2017-02-20 15:36:32 PST
Created
attachment 302182
[details]
Archive of layout-test-results from ews112 for mac-elcapitan The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews112 Port: mac-elcapitan Platform: Mac OS X 10.11.6
Anders Carlsson
Comment 9
2017-02-20 15:48:15 PST
Created
attachment 302184
[details]
Patch
WebKit Commit Bot
Comment 10
2017-02-20 15:49:31 PST
Attachment 302184
[details]
did not pass style-queue: ERROR: Tools/DumpRenderTree/mac/DumpRenderTreePasteboard.mm:222: No space between ^ and block definition. [whitespace/brackets] [4] ERROR: Source/WebCore/platform/mac/PasteboardWriter.mm:70: Extra space in capture list. [whitespace/brackets] [4] ERROR: Source/WebCore/platform/mac/PasteboardWriter.mm:72: Extra space in capture list. [whitespace/brackets] [4] ERROR: Source/WebCore/platform/mac/PasteboardWriter.mm:74: Extra space in capture list. [whitespace/brackets] [4] Total errors found: 4 in 10 files If any of these errors are false positives, please file a bug against check-webkit-style.
Anders Carlsson
Comment 11
2017-02-20 16:10:29 PST
Committed
r212681
: <
http://trac.webkit.org/changeset/212681
>
Ryan Haddad
Comment 12
2017-02-21 09:29:10 PST
It looks like this change caused editing/pasteboard/drop-text-events.html and fast/events/dropzone-003.html to fail on WK1:
https://build.webkit.org/results/Apple%20Sierra%20Release%20WK1%20(Tests)/r212713%20(3843)/results.html
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