Summary: | [Clipboard API] Add support for Clipboard.writeText() | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Wenson Hsieh <wenson_hsieh> | ||||||
Component: | HTML Editing | Assignee: | Wenson Hsieh <wenson_hsieh> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | bdakin, commit-queue, darin, megan_gardner, thorton, webkit-bug-importer, wenson_hsieh | ||||||
Priority: | P2 | Keywords: | InRadar | ||||||
Version: | WebKit Nightly Build | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
Wenson Hsieh
2019-11-17 19:40:12 PST
Created attachment 383724 [details]
Patch
Created attachment 383725 [details]
Fix GTK/WPE builds
Comment on attachment 383725 [details] Fix GTK/WPE builds Clearing flags on attachment: 383725 Committed r252561: <https://trac.webkit.org/changeset/252561> All reviewed patches have been landed. Closing bug. Comment on attachment 383725 [details] Fix GTK/WPE builds View in context: https://bugs.webkit.org/attachment.cgi?id=383725&action=review > Source/WebCore/Modules/async-clipboard/Clipboard.cpp:107 > + if (!document || !frame || !shouldProceedWithClipboardWrite(*frame)) { No need for the "!frame" check here. Comment on attachment 383725 [details] Fix GTK/WPE builds View in context: https://bugs.webkit.org/attachment.cgi?id=383725&action=review >> Source/WebCore/Modules/async-clipboard/Clipboard.cpp:107 >> + if (!document || !frame || !shouldProceedWithClipboardWrite(*frame)) { > > No need for the "!frame" check here. Good catch — non-null document already implies non-null frame here. Fixed in r252718. |