WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
314499
Remove dead WKUserMediaPermissionCheck C API
https://bugs.webkit.org/show_bug.cgi?id=314499
Summary
Remove dead WKUserMediaPermissionCheck C API
zak ridouh
Reported
2026-05-09 20:30:56 PDT
The WKPageUIClient `checkUserMediaPermissionForOrigin` slot was retired to `void* unused6` previously, which already cut off the only path by which an external caller could receive a WKUserMediaPermissionCheckRef. The C API wrapper (WKUserMediaPermissionCheckGetTypeID, WKUserMediaPermissionCheckSetUserMediaAccessInfo) has no remaining callers. Delete it, along with the opaque WKUserMediaPermissionCheckRef typedef, the WK_ADD_API_MAPPING, the orphan WKCheckUserMediaPermissionCallback typedef, stale includes in WKPage.cpp and the test tools, and the build-system plumbing (Sources.txt, Headers.cmake, modulemaps, WebKit.xcodeproj). The backing UserMediaPermissionCheckProxy class is kept as-is: the glib build still references it even though its construction path is also unreachable. Dropping it is a larger GTK/WPE public-API change and out of scope here.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2026-05-09 20:31:01 PDT
<
rdar://problem/176713900
>
zak ridouh
Comment 2
2026-05-09 20:32:48 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/64628
EWS
Comment 3
2026-05-22 14:01:09 PDT
Committed
313756@main
(db8991a09bba): <
https://commits.webkit.org/313756@main
> Reviewed commits have been landed. Closing PR #64628 and removing active labels.
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