WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
179607
Several XHR and CORS tests are flaky due to inconsistent order of console messages
https://bugs.webkit.org/show_bug.cgi?id=179607
Summary
Several XHR and CORS tests are flaky due to inconsistent order of console mes...
Ms2ger (he/him; ⌚ UTC+1/+2)
Reported
2017-11-13 02:24:56 PST
... 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.
Attachments
Patch
(16.46 KB, patch)
2019-11-12 18:33 PST
,
youenn fablet
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Ms2ger (he/him; ⌚ UTC+1/+2)
Comment 1
2017-11-15 08:38:34 PST
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 ]
Brendan McLoughlin
Comment 2
2018-06-13 15:00:32 PDT
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.
youenn fablet
Comment 3
2019-11-12 18:32:23 PST
***
Bug 179608
has been marked as a duplicate of this bug. ***
youenn fablet
Comment 4
2019-11-12 18:33:48 PST
Created
attachment 383418
[details]
Patch
WebKit Commit Bot
Comment 5
2019-11-13 13:31:34 PST
Comment on
attachment 383418
[details]
Patch Clearing flags on attachment: 383418 Committed
r252427
: <
https://trac.webkit.org/changeset/252427
>
WebKit Commit Bot
Comment 6
2019-11-13 13:31:35 PST
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 7
2019-11-13 13:32:16 PST
<
rdar://problem/57165642
>
Karl Rackler
Comment 8
2020-06-29 07:31:47 PDT
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.
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