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
306983
Check selector rather than build flag to invoke evaluateURL with mainDocumentURL
https://bugs.webkit.org/show_bug.cgi?id=306983
Summary
Check selector rather than build flag to invoke evaluateURL with mainDocumentURL
jlee53
Reported
2026-02-04 13:38:20 PST
Right now, we are using a compile-time ifdef HAVE(WEBCONTENTRESTRICTIONS_TRANSITIVE_TRUST) to guard calling evaluateURL:mainDocumentURL:completionHandler. We should do a run-time check instead using selectors. This way, we do not have to re-compile WebKit and flip this flag if we want to call evaluateURL:mainDocumentURL:completionHandler. We can just call it if it's already available.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2026-02-04 13:41:05 PST
<
rdar://problem/169650247
>
jlee53
Comment 2
2026-02-04 13:44:42 PST
Pull request:
https://github.com/WebKit/WebKit/pull/57883
EWS
Comment 3
2026-02-06 13:26:29 PST
Committed
306970@main
(d5c38f219dfd): <
https://commits.webkit.org/306970@main
> Reviewed commits have been landed. Closing PR #57883 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