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)
Core
DOM: Core & HTML
Tracking
()
UNCONFIRMED
People
(Reporter: CuveeHsu, Unassigned)
Details
Attachments
(1 file)
1.73 KB,
patch
|
Details | Diff | Splinter Review |
mozbrowsererror is not sent for |unknownProtocolFound| in mochitest when I set src to a unknown protocol.
Reporter | ||
Comment 1•10 years ago
|
||
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)
Comment 2•10 years ago
|
||
(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)
Assignee | ||
Updated•7 years ago
|
Component: DOM → DOM: Core & HTML
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•