[Webkit-unassigned] [Bug 168220] New: Cross-origin requests in web platform tests are broken?

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Feb 12 21:36:40 PST 2017


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

            Bug ID: 168220
           Summary: Cross-origin requests in web platform tests are
                    broken?
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: simon.fraser at apple.com
                CC: lforschler at apple.com

imported/w3c/web-platform-tests/html/browsers/browsing-the-web/history-traversal/persisted-user-state-restoration/scroll-restoration-fragment-scrolling-cross-origin.html

does the following:

        iframe.src = iframe.src.replace("http://", "http://www.").replace("page-with-fragment.html#fragment", "blank1.html");

which sets the frame source to http://www.localhost:8800/html/browsers/browsing-the-web/history-traversal/persisted-user-state-restoration/resources/blank1.html

We seem to block this:

Blocked access to external URL http://www.localhost:8800/html/browsers/browsing-the-web/history-traversal/persisted-user-state-restoration/resources/blank1.html

Also loading that url in Safari fails (when the server is running), but chrome loads it fine. I think maybe we have to treat subdomains of localhost specially?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170213/71f0eb6a/attachment.html>


More information about the webkit-unassigned mailing list