Open Bug 529531 Opened 15 years ago Updated 2 years ago

Allow pageview or yet more detailed events for error pages to make it better testable

Categories

(Core :: DOM: Navigation, enhancement)

enhancement

Tracking

()

People

(Reporter: mayhemer, Unassigned)

Details

At the moment it seems we don't have any tests for error page behavior. When I was writing a test for bug 529119 I have discovered that there are no events to watch for when an error page has to get loaded.

Personally (only my opinion) to have (XUL only ?) events that would inform of a type of an error, URL it failed for and such information would be sufficient.
onStateChange, if NS_FAILED(aStatus)?
(In reply to comment #1)
> onStateChange, if NS_FAILED(aStatus)?

I suspect it's not that simple to attach onStateChange callback.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.