Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

[Stylish Firefox] getBackgroundPage() can return null

edited November 2017 in Stylish Firefox

storage.js uses this code

var prefs = chrome.extension.getBackgroundPage().prefs || new function Prefs() {

But chrome.extension.getBackgroundPage() can be null, so the above can throw.

Sign In or Register to comment.