[Webkit-unassigned] [Bug 57600] New: CORS + 302 Redirect gives XMLHttpRequest Exception 101

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 31 17:38:18 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=57600

           Summary: CORS + 302 Redirect gives XMLHttpRequest Exception 101
           Product: WebKit
           Version: 525.x (Safari 3.2)
          Platform: PC
        OS/Version: Windows 7
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: samirsha at yahoo.com


Steps:
1. Setup two origins blah.domain.com and blah2.domain.com
1. Enable CORS (Cross Origin Resource Sharing)  support on blah2 web server side by setting appropriate Access-Control-Allow-Origin: blah.origin.com
2. Do XHR (synchronous) HTTP POST call to blah2.domain.com/index1.htm from a page on blah.domain.com
3. Return a 302 redirect to blah2.domain.com/index2.htm from blah2 server

XHR returns "NETWORK_ERR: XMLHttpRequest Exception 101". 

According to CORS spec, this should have worked.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list