Bug 181365 - Copying, pasting, and then deleting an attachment element breaks attachment data requests
Summary: Copying, pasting, and then deleting an attachment element breaks attachment d...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Wenson Hsieh
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-01-06 10:47 PST by Wenson Hsieh
Modified: 2018-01-08 14:19 PST (History)
5 users (show)

See Also:


Attachments
Patch (18.67 KB, patch)
2018-01-07 16:29 PST, Wenson Hsieh
no flags Details | Formatted Diff | Diff
Fix API tests on macOS (18.76 KB, patch)
2018-01-07 18:18 PST, 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 2018-01-06 10:47:55 PST
To reproduce:
1. Copy an attachment element
2. Paste the element
3. Delete the element

Observe: -[_WKAttachment requestData:] no longer works!
Comment 1 Radar WebKit Bug Importer 2018-01-07 14:42:43 PST
<rdar://problem/36340647>
Comment 2 Wenson Hsieh 2018-01-07 16:29:49 PST
Created attachment 330663 [details]
Patch
Comment 3 Wenson Hsieh 2018-01-07 18:18:16 PST
Created attachment 330666 [details]
Fix API tests on macOS
Comment 4 Wenson Hsieh 2018-01-08 14:14:23 PST
Comment on attachment 330666 [details]
Fix API tests on macOS

Thanks for the review!
Comment 5 WebKit Commit Bot 2018-01-08 14:19:18 PST
Comment on attachment 330666 [details]
Fix API tests on macOS

Clearing flags on attachment: 330666

Committed r226539: <https://trac.webkit.org/changeset/226539>
Comment 6 WebKit Commit Bot 2018-01-08 14:19:20 PST
All reviewed patches have been landed.  Closing bug.