Bug 139485 - CORS Redirect handling is not supported (W3C test cases failing)
Summary: CORS Redirect handling is not supported (W3C test cases failing)
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Page Loading (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-10 08:09 PST by Melvin Rook
Modified: 2016-06-22 01:48 PDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Melvin Rook 2014-12-10 08:09:30 PST
URL for W3C test cases: http://w3c-test.org/cors/redirect-origin.htm

Tested on the following browsers:
Safari (Desktop) - Failed
Mobile Safari (iOS) - Failed
Mobile Safari (Android) - Failed

Other browsers:
Firefox Nightly - Passed
Chrome (Android) - Passed
Chrome (Desktop) - Passed

Any failed test case results in the following console error: "Cannot make any requests from null".

Expected result: All test cases should pass.
Comment 1 Alexey Proskuryakov 2016-06-21 23:04:36 PDT
Is this still the case?
Comment 2 youenn fablet 2016-06-22 00:55:48 PDT
We should be in a better shape now.
Running the test on a regular safari is all green.

Ideally, I would like to import all the W3C CORS tests as layout tests.
The issue is that these tests use URLS like www1.w3c-test.org which translate to www1.localhost in our test framework.
See bug 127676.

It would be cool though to have one bot with updated DNS able to run the W3C tests.
Comment 3 Melvin Rook 2016-06-22 01:05:41 PDT
Confirmed that it's still the case.

Tested again on:
Safari (Desktop OSX 10.11.4, Safari 9.1) - 18 tests failed
Safari (Desktop OSX 10.11.5, Safari 9.1.1) - 18 tests failed
Mobile Safari (iOS 9.3.2) 18 tests failed
Comment 4 youenn fablet 2016-06-22 01:22:13 PDT
(In reply to comment #3)
> Confirmed that it's still the case.
> 
> Tested again on:
> Safari (Desktop OSX 10.11.4, Safari 9.1) - 18 tests failed
> Safari (Desktop OSX 10.11.5, Safari 9.1.1) - 18 tests failed
> Mobile Safari (iOS 9.3.2) 18 tests failed

Thanks for checking again.
Can you try on Safari preview: https://developer.apple.com/safari/technology-preview/
Comment 5 Melvin Rook 2016-06-22 01:45:06 PDT
Safari Technology Preview 9.1.2 (11601.7.4, 11602.1.35) - All tests passed!
Comment 6 youenn fablet 2016-06-22 01:48:36 PDT
(In reply to comment #5)
> Safari Technology Preview 9.1.2 (11601.7.4, 11602.1.35) - All tests passed!

Great!