Closed Bug 869874 Opened 11 years ago Closed 11 years ago

Redirecting process with Cross-Origin always interrupt

Categories

(Firefox :: General, defect)

23 Branch
x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: tina.zhao, Unassigned)

References

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.64 Safari/537.31

Steps to reproduce:

ServerSentEvent latest Editor's Draft 23 April 2013 (http://dev.w3.org/html5/eventsource/) test
- Test wiki: http://www.w3.org/wiki/Webapps/Interop/ServerSentEvents
- Test suite: https://github.com/w3c/web-platform-tests/tree/master/eventsource
- Test case: https://github.com/w3c/web-platform-tests/blob/master/eventsource/eventsource-cross-origin.htm


Actual results:

doCORS(redirect.php) timeout. When do redirect with Cross-Origin, Firefox's redirecting process always interrupted while the page was loading.


Expected results:

doCORS(redirect.php) pass.
Summary: eventsource → [eventsource] Redirecting process with Cross-Origin always interrupt
See Also: → 869432
Assignee: nobody → wfernandom2004
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Attached file Test Cases (using XHR)
After investigating I've concluded that the cause of this (supposed) failure is inside the CORS implementation. The same test case fails with XHR implementation.

I've read the CORS spec twice but I'm not sure if the test case is correct or not. In short, after the redirection (HTTP 302 code) the test case response doesn't provide the CORS response headers.

In the attachment I'm providing all possible test cases related to this bug and their results, too. I hope it can help the person who will take this bug.
Assignee: wfernandom2004 → nobody
Status: ASSIGNED → UNCONFIRMED
Ever confirmed: false
See Also: 869432
Summary: [eventsource] Redirecting process with Cross-Origin always interrupt → Redirecting process with Cross-Origin always interrupt
Anne, any comments?
Flags: needinfo?(annevk)
Odin, sounds like there's a bug in your EventSource tests.
Flags: needinfo?(annevk)
See Also: → 662073
It's not clear to me if this is a Firefox bug or not. Can someone please confirm one way or another and update the status of this bug accordingly?
Component: Untriaged → General
Odin is planning to look at this early next week.
Flags: needinfo?(odinho)
jgraham has fixed this in his Python branch. I reviewed the changes and fixed up the file a littlebit extra to boot :)
Flags: needinfo?(odinho)
(In reply to Odin Hørthe Omdal from comment #6)
> jgraham has fixed this in his Python branch. I reviewed the changes and
> fixed up the file a littlebit extra to boot :)
So, can we close this bug now ?
Yes. :) I'm not able to.
I am!
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: