Open Bug 1165199 Opened 10 years ago Updated 3 years ago

mozbrowsererror is not sent for |unknownProtocolFound| in mochitest

Categories

(Core :: DOM: Core & HTML, defect)

defect

Tracking

()

UNCONFIRMED

People

(Reporter: CuveeHsu, Unassigned)

Details

Attachments

(1 file)

mozbrowsererror is not sent for |unknownProtocolFound| in mochitest when I set src to a unknown protocol.
I cook a test in description. Kanru, I'm not sure whether it's a bug or not. Could you confirm it?
Flags: needinfo?(kchen)
(In reply to Junior [:junior] from comment #1) > I cook a test in description. > > Kanru, > I'm not sure whether it's a bug or not. Could you confirm it? Looks like the NS_ERROR_UNKNOWN_PROTOCOL error is not passed to onStateChange. One could only get this error from NS_NewChannelInternal(). If we want to send mozbrowsererror event for this then we would have to route it from TabChild::RecvLoadURL to BrowserElementChildPreload.js
Flags: needinfo?(kchen)
Component: DOM → DOM: Core & HTML
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: