Bug 237511 - Permission: Implement "set permission"
Summary: Permission: Implement "set permission"
Status: RESOLVED DUPLICATE of bug 192978
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebDriver (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL: https://www.w3.org/TR/permissions/#au...
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-03-06 23:09 PST by Marcos Caceres
Modified: 2022-10-13 07:12 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcos Caceres 2022-03-06 23:09:29 PST
It would be nice if WebKit's web driver implementation implemented "set permission" as specified in: 
https://www.w3.org/TR/permissions/#automation

This would (safely) facilitate testing a number of so called "powerful features" of the web platform that require permission to be granted before they can be used. ]

As Chrome implements "set permission", there are already quite a few tests on WPT relying on it (creating false failures in WebKit for conformance purposes - for example, with the Geolocation API).
Comment 1 Marcos Caceres 2022-03-06 23:12:23 PST
Just noting that this is exposed as test_driver.set_permission() on TestDriver. 
https://web-platform-tests.org/writing-tests/testdriver.html?highlight=set_permission#set-permission
Comment 2 Radar WebKit Bug Importer 2022-03-10 10:20:25 PST
<rdar://problem/90106703>
Comment 3 Sam Sneddon [:gsnedders] 2022-10-13 07:11:30 PDT

*** This bug has been marked as a duplicate of bug 192978 ***