Closed Bug 826086 Opened 7 years ago Closed 7 years ago

Handle errors in asyncOpen

Categories

(Firefox :: Sync, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla20

People

(Reporter: rnewman, Assigned: rnewman)

Details

(Whiteboard: [qa-])

--
[15:03:12.184] try {
  new Resource("http://www.someurl:6000/").get();
} catch (ex) {
  console.log("Error: " + ex);
}
[15:03:12.187] Error: Error: Component returned failure code: 0x804b0013 (NS_ERROR_PORT_ACCESS_NOT_ALLOWED) [nsIChannel.asyncOpen]
I should add some context: this is happening in setup. If you specify an illegal port (http://dxr.mozilla.org/mozilla-central/netwerk/base/src/nsIOService.cpp.html#l76) in your server URL, setup will just stall.
https://hg.mozilla.org/mozilla-central/rev/c80bd4e618c8
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Whiteboard: [fixed in services][qa-] → [qa-]
Target Milestone: --- → mozilla20
Component: Firefox Sync: Backend → Sync
Product: Cloud Services → Firefox
You need to log in before you can comment on or make changes to this bug.