Bug 306983
| Summary: | Check selector rather than build flag to invoke evaluateURL with mainDocumentURL | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | jlee53 |
| Component: | WebKit Misc. | Assignee: | jlee53 |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
jlee53
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
<rdar://problem/169650247>
jlee53
Pull request: https://github.com/WebKit/WebKit/pull/57883
EWS
Committed 306970@main (d5c38f219dfd): <https://commits.webkit.org/306970@main>
Reviewed commits have been landed. Closing PR #57883 and removing active labels.