Code: Select all
registerContentHandler
Code: Select all
nsIWebContentHandlerRegistrar
In basilisk and palemoon, the first works fine, and you can find the entry under Preferences->applications content type Web feed, and entries are created in about:config for browser.contentHandlers.types.<number>
In palemoon you can register the 2nd (audio, content type Podcast in preferences), but attempting to register the 3rd (video, application type Video Podcast) results in an exception, so you need to create the about:config entries manually and restart the browser.
In basilisk (and firefox 52ish), registering both the 2nd and 3rd handlers returns without error but it appears nothing has been done. Nothing appears in about:preferences and there's no entries in about:config. However, if you set things up in about:config, and restart the browser, all is light and joy.
Am I meant to be doing something different here (Preferably something that'd work in multiple platforms)? Or has there been a regression?