Open Bug 1021663 Opened 10 years ago Updated 2 years ago

backgroundPageThumbsContent.js should catch loadURI() errors

Categories

(Firefox :: General, defect)

defect

Tracking

()

People

(Reporter: ttaubert, Unassigned)

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+
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.