WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
233939
Add a `DOMPasteAccessCategory` to control which pasteboard the WebProcess is granted access to when pasting
https://bugs.webkit.org/show_bug.cgi?id=233939
Summary
Add a `DOMPasteAccessCategory` to control which pasteboard the WebProcess is ...
Devin Rousso
Reported
2021-12-07 10:57:38 PST
.
Attachments
Patch
(61.13 KB, patch)
2021-12-07 11:58 PST
,
Devin Rousso
no flags
Details
Formatted Diff
Diff
Patch
(58.22 KB, patch)
2021-12-07 12:44 PST
,
Devin Rousso
no flags
Details
Formatted Diff
Diff
Patch
(54.29 KB, patch)
2021-12-08 19:33 PST
,
Devin Rousso
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Devin Rousso
Comment 1
2021-12-07 11:58:33 PST
Created
attachment 446217
[details]
Patch
EWS Watchlist
Comment 2
2021-12-07 11:59:29 PST
Comment hidden (obsolete)
Thanks for the patch. If this patch contains new public API please make sure it follows the guidelines for new WebKit2 GTK+ API. See
https://trac.webkit.org/wiki/WebKitGTK/AddingNewWebKit2API
Wenson Hsieh
Comment 3
2021-12-07 12:25:39 PST
Comment on
attachment 446217
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=446217&action=review
> Source/WebCore/page/Frame.h:179 > + bool requestDOMPasteAccess(DOMPasteAccessCategory);
Could we make this default to `DOMPasteAccessCategory::General`?
Devin Rousso
Comment 4
2021-12-07 12:27:46 PST
Comment on
attachment 446217
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=446217&action=review
>> Source/WebCore/page/Frame.h:179 >> + bool requestDOMPasteAccess(DOMPasteAccessCategory); > > Could we make this default to `DOMPasteAccessCategory::General`?
Sure. I kinda like the explicit-ness of having the callsite know exactly which category they're asking for, but I can also see the benefit in having `General` be the default.
Devin Rousso
Comment 5
2021-12-07 12:44:51 PST
Created
attachment 446222
[details]
Patch
EWS
Comment 6
2021-12-07 16:56:23 PST
Committed
r286632
(
244945@main
): <
https://commits.webkit.org/244945@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 446222
[details]
.
Radar WebKit Bug Importer
Comment 7
2021-12-07 16:57:24 PST
<
rdar://problem/86183512
>
Truitt Savell
Comment 8
2021-12-08 10:06:07 PST
It looks like the changes in
https://trac.webkit.org/changeset/286632/webkit
broke 3 pasteboard tests on iOS 15 editing/pasteboard/dom-paste/dom-paste-confirmation.html editing/pasteboard/dom-paste/dom-paste-consecutive-confirmations.html editing/pasteboard/dom-paste/dom-paste-requires-user-gesture.html tracking in
https://bugs.webkit.org/show_bug.cgi?id=234014
Truitt Savell
Comment 9
2021-12-08 12:35:10 PST
Reverted
r286632
for reason: Broke 3 tests on iOS Committed
r286705
(
244984@trunk
): <
https://commits.webkit.org/244984@trunk
>
Devin Rousso
Comment 10
2021-12-08 19:33:41 PST
Created
attachment 446487
[details]
Patch fix mistake in `-[WKContentView pasteForWebView:]`
EWS
Comment 11
2021-12-09 19:10:09 PST
Committed
r286825
(
245059@main
): <
https://commits.webkit.org/245059@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 446487
[details]
.
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