mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 813801: null-check blocklistWindow in nsBlocklistService.js. r=dtownsend
This commit is contained in:
parent
d7fa9b9da5
commit
cb3e0b1f2b
@ -1038,7 +1038,8 @@ Blocklist.prototype = {
|
||||
|
||||
let blocklistWindow = Services.ww.openWindow(null, URI_BLOCKLIST_DIALOG, "",
|
||||
"chrome,centerscreen,dialog,titlebar", args);
|
||||
blocklistWindow.addEventListener("unload", blocklistUnloadHandler, false);
|
||||
if (blocklistWindow)
|
||||
blocklistWindow.addEventListener("unload", blocklistUnloadHandler, false);
|
||||
});
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user