Skip to main content

Bug Tracker

Side navigation

#6864 closed bug (invalid)

Opened August 03, 2010 03:58PM UTC

Closed August 04, 2010 12:44AM UTC

Failed CORS requests report status success due to xhr.status === 0

Reported by: friedcell Owned by:
Priority: Milestone: 1.4.3
Component: ajax Version: 1.4.2
Keywords: cors, opera Cc:
Blocked by: Blocking:

CORS requests in Gecko/Webkit that fail (due to absent header on the response) report status 0. Due to an Opera 9.5 workaround jQuery will deem them successful and trigger success handlers with empty data.

Currently the workaround is to know when you're making a CORS request and check xhr.status yourself and ignoring Opera, but that doesn't seem like a proper solution...

Attachments (0)
Change History (1)

Changed August 04, 2010 12:44AM UTC by dmethvin comment:1

resolution: → invalid
status: newclosed

Can you reopen with a test case and some further discussion? Is this on the shipping version of these browsers?

Is this the correct reference?