Closed Bug 471920 Opened 12 years ago Closed 12 years ago
Workers: 404 errors when creating a new worker silently fails
Checking the status of the request isn't sufficient when the server returns a 404. We also have to check the 'requestSucceeded' attribute on the http channel. Gah. See http://mxr.mozilla.org/mozilla-central/source/netwerk/protocol/http/public/nsIHttpChannel.idl#216 for the details.
Here's what I actually pushed. Only difference is a slightly nicer error message ("script file not found" vs. the error code only) and a test.
Pushed changeset 821fc740d5c9 to mozilla-central.
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Pushed changeset 58a487edd274 to mozilla-1.9.1.
You need to log in before you can comment on or make changes to this bug.