Bug 237511
Summary: | Permission: Implement "set permission" | ||
---|---|---|---|
Product: | WebKit | Reporter: | Marcos Caceres <marcos> |
Component: | WebDriver | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | bburg, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | Other | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
URL: | https://www.w3.org/TR/permissions/#automation |
Marcos Caceres
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Marcos Caceres
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
<rdar://problem/90106703>
Sam Sneddon [:gsnedders]
*** This bug has been marked as a duplicate of bug 192978 ***