backgroundPageThumbsContent.js should catch loadURI() errors

NEW
Unassigned

Status

()

5 years ago
a month ago

People

(Reporter: ttaubert, Unassigned)

Tracking

Trunk
Points:
---
Bug Flags:
firefox-backlog +

Firefox Tracking Flags

(Not tracked)

Details

I just installed Pentadactyl[1] for testing and that opened some welcome page, namely "dactyl://help/intro". After removing the add-on again I had an entry on the new tab page for that and the background thumbnailer tried to load and capture that page:

System JS : ERROR chrome://global/content/backgroundPageThumbsContent.js:89 - NS_ERROR_UNKNOWN_PROTOCOL: Component returned failure code: 0x804b0012 (NS_ERROR_UNKNOWN_PROTOCOL) [nsIWebNavigation.loadURI]

We should guard against failures like that and abort the capture.

[1] https://addons.mozilla.org/firefox/addon/pentadactyl/
Flags: firefox-backlog+
You need to log in before you can comment on or make changes to this bug.