Bug 224648

Summary: Web Inspector: REGRESSION(?): Graphics: dropping a recording leaves behind a drop zone view
Product: WebKit Reporter: Devin Rousso <hi>
Component: Web InspectorAssignee: Devin Rousso <hi>
Status: RESOLVED FIXED    
Severity: Normal CC: bburg, hi, inspector-bugzilla-changes, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
See Also: https://bugs.webkit.org/show_bug.cgi?id=224650
https://bugs.webkit.org/show_bug.cgi?id=224678
Attachments:
Description Flags
Patch none

Description Devin Rousso 2021-04-15 23:11:25 PDT
# STEPS TO REPRODUCE
1. inspect <https://devinrousso.com/demo/WebKit/canvas.html>
2. select the Canvas 2D
3. drag the preview image and drop it on top of itself

# EXPECTED
the drop zone disappears and an error appears in the console

# ACTUAL
the drop zone remains and an error appears in the console
Comment 1 Devin Rousso 2021-04-15 23:18:56 PDT
Created attachment 426187 [details]
Patch
Comment 2 BJ Burg 2021-04-16 14:17:33 PDT
Comment on attachment 426187 [details]
Patch

r=me

I will file a few smaller issues I found in Graphics tab that I saw while testing this out.
Comment 3 Radar WebKit Bug Importer 2021-04-16 14:19:02 PDT
<rdar://problem/76778140>
Comment 4 EWS 2021-04-16 14:22:07 PDT
Committed r276170 (236657@main): <https://commits.webkit.org/236657@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 426187 [details].