Skip to content

Commit d46e2d1

Browse files
committed
Use httpse's getApplicableListForDOMWin
1 parent 96e3df6 commit d46e2d1

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

‎src/chrome/content/code/FennecUI.jsm‎

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,9 @@ var popupInfo = {
6464
ruleItems: [],
6565
ruleStatus: [],
6666
alist: null,
67-
getApplicableList: function () {
67+
getApplicableList: function() {
6868
var domWin = aWindow.BrowserApp.selectedTab.window;
69-
if (!(domWin instanceof CI.nsIDOMWindow)) {
70-
HTTPSEverywhere.log(5,'something went wrong getting top window');
71-
return null;
72-
}
73-
return HTTPSEverywhere.getExpando(domWin,"applicable_rules", null);
69+
return HTTPSEverywhere.getApplicableListForDOMWin(domWin);
7470
},
7571
fill: function() {
7672
this.clear();

0 commit comments

Comments
 (0)