[Webkit-unassigned] [Bug 140208] WKUIDelegate should provide a hook for page-specific location prompts
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Apr 26 02:00:40 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=140208
--- Comment #6 from Darryl Pogue <dvpdiner2 at gmail.com> ---
The newer version of this API would be WKUIDelegate's private `_webView:requestGeolocationPermissionForOrigin:initiatedByFrame:decisionHandler:` SPI method.
- (void)_webView:(WKWebView *)webView requestGeolocationPermissionForOrigin:(WKSecurityOrigin*)origin initiatedByFrame:(WKFrameInfo *)frame decisionHandler:(void (^)(WKPermissionDecision decision))decisionHandler WK_API_AVAILABLE(macos(12.0), ios(15.0));
This matches the similar API methods publicly available on WKUIDelegate for handling media capture and device orientation permission prompts.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240426/8e0ab411/attachment.htm>
More information about the webkit-unassigned
mailing list