Skip to content

Commit 53ee89b

Browse files
committed
Use Firefox 4 new redirect API
See https://bugzilla.mozilla.org/show_bug.cgi?id=546606#c101 for details
1 parent c9039e3 commit 53ee89b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/components/https-everywhere.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,11 @@ HTTPSEverywhere.prototype = {
275275
// }
276276
},
277277

278+
asyncOnChannelRedirect: function(oldChannel, newChannel, flags, callback) {
279+
this.onChannelRedirect(oldChannel, newChannel, flags);
280+
callback.onRedirectVerifyCallback(0);
281+
},
282+
278283
// These implement the nsIContentPolicy API; they allow both yes/no answers
279284
// to "should this load?", but also allow us to change the thing.
280285

0 commit comments

Comments
 (0)