summaryrefslogtreecommitdiffstats
path: root/netwerk/test/unit/head_channels.js
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--netwerk/test/unit/head_channels.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/netwerk/test/unit/head_channels.js b/netwerk/test/unit/head_channels.js
index ca16bd2835..94a20b0a3d 100644
--- a/netwerk/test/unit/head_channels.js
+++ b/netwerk/test/unit/head_channels.js
@@ -480,7 +480,7 @@ function bytesToString(bytes) {
function check_http_info(request, expected_httpVersion, expected_proxy) {
let httpVersion = "";
try {
- httpVersion = request.protocolVersion;
+ httpVersion = request.QueryInterface(Ci.nsIHttpChannel).protocolVersion;
} catch (e) {}
request.QueryInterface(Ci.nsIProxiedChannel);