Bug 139485
| Summary: | CORS Redirect handling is not supported (W3C test cases failing) | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Melvin Rook <melvin> |
| Component: | Page Loading | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | ap, bfulgham, dbates, gquan, wilander, youennf |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | All | ||
| OS: | All | ||
| See Also: |
https://bugs.webkit.org/show_bug.cgi?id=98838 https://bugs.webkit.org/show_bug.cgi?id=128816 |
||
Melvin Rook
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.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Alexey Proskuryakov
Is this still the case?
youenn fablet
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.
Melvin Rook
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
youenn fablet
(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/
Melvin Rook
Safari Technology Preview 9.1.2 (11601.7.4, 11602.1.35) - All tests passed!
youenn fablet
(In reply to comment #5)
> Safari Technology Preview 9.1.2 (11601.7.4, 11602.1.35) - All tests passed!
Great!