Open Bug 346191 Opened 18 years ago Updated 2 years ago

Need error handling API in docshell

Categories

(Core :: DOM: Navigation, defect)

defect

Tracking

()

People

(Reporter: aaron, Unassigned)

Details

nsIDocShell has methods for loading a URI, but lacks methods to determine the success state of that action.

For example, a js function loading a web page in a <browser> has no way of knowing if the page load was successful or if a DNS or other error prevented it from happening.

We need a way for application authors and embedders to handle docshell errors themselves (instead of being forced to use either the XUL error pages or the alert boxes that we currently provide).
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.