1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-07-08 12:57:57 +02:00

minor code review

This commit is contained in:
gorhill 2015-10-19 19:05:18 -04:00
parent 3f0457a5c4
commit 1598273d6a

View File

@ -1218,7 +1218,8 @@ var tabWatcher = (function() {
observe: function(subject, topic) {
var win;
try {
win = subject.QueryInterface(Ci.nsIDOMWindow);
win = subject.QueryInterface(Ci.nsIInterfaceRequestor)
.getInterface(Ci.nsIDOMWindow);
} catch (ex) {
}
if ( !win ) {