WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
204097
Web Inspector: Sources: create/update local override drop zone shown in image collection view
https://bugs.webkit.org/show_bug.cgi?id=204097
Summary
Web Inspector: Sources: create/update local override drop zone shown in image...
Devin Rousso
Reported
2019-11-11 17:11:33 PST
# STEPS TO REPRODUCE: 1. inspect any page with lots of images (e.g. <
https://apple.com
>) 2. select the Images folder in the Sources Tab 3. drag an image over the collection view => "Create Local Override" drop zone shown
Attachments
Patch
(5.30 KB, patch)
2019-11-11 17:13 PST
,
Devin Rousso
no flags
Details
Formatted Diff
Diff
Archive of layout-test-results from ews215 for win-future
(14.58 MB, application/zip)
2019-11-11 23:18 PST
,
EWS Watchlist
no flags
Details
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Devin Rousso
Comment 1
2019-11-11 17:13:22 PST
Created
attachment 383321
[details]
Patch
Joseph Pecoraro
Comment 2
2019-11-11 17:28:12 PST
Comment on
attachment 383321
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=383321&action=review
> Source/WebInspectorUI/UserInterface/Views/ResourceCollectionContentView.js:107 > + get contentViewConstructorOptions() > + { > + let contentViewConstructorOptions = super.contentViewConstructorOptions; > + if (this.representedObject.resourceType === WI.Resource.Type.Image) > + contentViewConstructorOptions.disableDropZone = true; > + return contentViewConstructorOptions; > + }
Why not make collection content views always have `disableDropZone = true`. This only does it for a resource type of Image?
EWS Watchlist
Comment 3
2019-11-11 23:18:43 PST
Comment hidden (obsolete)
Comment on
attachment 383321
[details]
Patch
Attachment 383321
[details]
did not pass win-ews (win): Output:
https://webkit-queues.webkit.org/results/13241720
New failing tests: imported/blink/fast/events/panScroll-crash.html
EWS Watchlist
Comment 4
2019-11-11 23:18:45 PST
Comment hidden (obsolete)
Created
attachment 383340
[details]
Archive of layout-test-results from ews215 for win-future The attached test failures were seen while running run-webkit-tests on the win-ews. Bot: ews215 Port: win-future Platform: CYGWIN_NT-10.0-17763-3.0.5-338.x86_64-x86_64-64bit
Devin Rousso
Comment 5
2019-11-12 11:03:09 PST
Comment on
attachment 383321
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=383321&action=review
>> Source/WebInspectorUI/UserInterface/Views/ResourceCollectionContentView.js:107 >> + } > > Why not make collection content views always have `disableDropZone = true`. This only does it for a resource type of Image?
I'd rather not pass it to constructors that aren't expecting it.
WebKit Commit Bot
Comment 6
2019-11-12 16:23:30 PST
Comment on
attachment 383321
[details]
Patch Clearing flags on attachment: 383321 Committed
r252378
: <
https://trac.webkit.org/changeset/252378
>
WebKit Commit Bot
Comment 7
2019-11-12 16:23:32 PST
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 8
2019-11-12 16:24:22 PST
<
rdar://problem/57135784
>
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