... but only due to inconsistency in console logs: -CONSOLE MESSAGE: Cannot use wildcard in Access-Control-Allow-Origin when credentials flag is true. -CONSOLE MESSAGE: XMLHttpRequest cannot load http://127.0.0.1:8800/XMLHttpRequest/resources/access-control-basic-allow-star.py due to access control checks. CONSOLE MESSAGE: Origin http://localhost:8800 is not allowed by Access-Control-Allow-Origin. CONSOLE MESSAGE: XMLHttpRequest cannot load http://127.0.0.1:8800/XMLHttpRequest/resources/access-control-basic-allow.py due to access control checks. CONSOLE MESSAGE: Origin http://localhost:8800 is not allowed by Access-Control-Allow-Origin. CONSOLE MESSAGE: XMLHttpRequest cannot load http://127.0.0.1:8800/XMLHttpRequest/resources/access-control-basic-allow-no-credentials.py due to access control checks. +CONSOLE MESSAGE: Cannot use wildcard in Access-Control-Allow-Origin when credentials flag is true. +CONSOLE MESSAGE: XMLHttpRequest cannot load http://127.0.0.1:8800/XMLHttpRequest/resources/access-control-basic-allow-star.py due to access control checks.
webkit.org/b/179607 imported/w3c/web-platform-tests/cors/basic.htm [ Pass Failure ] webkit.org/b/179607 imported/w3c/web-platform-tests/cors/preflight-failure.htm [ Pass Failure ] webkit.org/b/179607 imported/w3c/web-platform-tests/cors/redirect-origin.htm [ Pass Failure ] webkit.org/b/179607 imported/w3c/web-platform-tests/cors/redirect-preflight.htm [ Pass Failure ] webkit.org/b/179607 imported/w3c/web-platform-tests/cors/status-preflight.htm [ Pass Failure ] webkit.org/b/179607 imported/w3c/web-platform-tests/cors/status-async.htm [ Pass Failure ]
I've opened a pull request on the web-platform-test repo to fix the inconsistent ordering of console messages. https://github.com/web-platform-tests/wpt/pull/11489/ Once this lands in WPT and is imported into webkit we should be able to remove the expectations for the following tests. imported/w3c/web-platform-tests/cors/basic.htm imported/w3c/web-platform-tests/cors/preflight-failure.htm imported/w3c/web-platform-tests/cors/status-async.htm imported/w3c/web-platform-tests/cors/status-preflight.htm imported/w3c/web-platform-tests/xhr/access-control-and-redirects-async-same-origin.htm imported/w3c/web-platform-tests/xhr/access-control-and-redirects-async.htm The remaining tests mentioned in this issue will still be failing because they contain unique output in their console messages.
*** Bug 179608 has been marked as a duplicate of this bug. ***
Created attachment 383418 [details] Patch
Comment on attachment 383418 [details] Patch Clearing flags on attachment: 383418 Committed r252427: <https://trac.webkit.org/changeset/252427>
All reviewed patches have been landed. Closing bug.
<rdar://problem/57165642>
imported/w3c/web-platform-tests/cors/preflight-failure.htm and imported/w3c/web-platform-tests/cors/status-async.htm are no longer failing - remove expectations Current history is green: https://results.webkit.org/?suite=layout-tests&suite=layout-tests&test=imported%2Fw3c%2Fweb-platform-tests%2Fcors%2Fremote-origin.htm&test=imported%2Fw3c%2Fweb-platform-tests%2Fcors%2Fstatus-async.htm These test was isolated from the others in the group as ones that are unexpectedly passing.