[Webkit-unassigned] [Bug 284348] New: WKWebView cannot load non-app-bound domains

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 9 18:43:26 PST 2024


https://bugs.webkit.org/show_bug.cgi?id=284348

            Bug ID: 284348
           Summary: WKWebView cannot load non-app-bound domains
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: iPhone / iPad
                OS: All
            Status: NEW
          Severity: Blocker
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: 798811246 at qq.com

Hi,

We have configured WKAppBoundDomains and are using limitsNavigationsToAppBoundDomains to enable Service Workers, which works perfectly. However, we are now unable to load a WKWebView with any domain that is not included in the app-bound domains.

For these other WKWebView instances, we have explicitly set config.limitsNavigationsToAppBoundDomains = false, but it doesn’t seem to have any effect. We don’t require access to the restricted APIs enabled by app-bound domains for these instances—we simply want them to load and perform basic website functionality.

Is there a way to enable Service Workers selectively in some WKWebView instances while allowing others to remain unaffected by the App-Bound Domains restriction?

This problem can be reproduced 100%, so I did not provide a test demo.

Thank you for your help!

Best regards, Rose Ding

-- 
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/20241210/533ab511/attachment.htm>


More information about the webkit-unassigned mailing list