RESOLVED DUPLICATE of bug 192978 237511
Permission: Implement "set permission"
https://bugs.webkit.org/show_bug.cgi?id=237511
Summary Permission: Implement "set permission"
Marcos Caceres
Reported 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).
Attachments
Marcos Caceres
Comment 1 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
Radar WebKit Bug Importer
Comment 2 2022-03-10 10:20:25 PST
Sam Sneddon [:gsnedders]
Comment 3 2022-10-13 07:11:30 PDT
*** This bug has been marked as a duplicate of bug 192978 ***
Note You need to log in before you can comment on or make changes to this bug.