minor code review

This commit is contained in:
gorhill 2015-10-19 19:05:18 -04:00
parent 3f0457a5c4
commit 1598273d6a
1 changed files with 2 additions and 1 deletions

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 ) {