WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 127676
168220
Cross-origin requests in web platform tests are broken?
https://bugs.webkit.org/show_bug.cgi?id=168220
Summary
Cross-origin requests in web platform tests are broken?
Simon Fraser (smfr)
Reported
2017-02-12 21:36:40 PST
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?
Attachments
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2017-02-12 23:32:15 PST
*** This bug has been marked as a duplicate of
bug 127676
***
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