From 6f5af267a2e2dc1ec65061e6955fafe6ad68def0 Mon Sep 17 00:00:00 2001 From: Jonathan Griffin Date: Tue, 26 Jan 2010 09:22:49 -0800 Subject: [PATCH] Bug 539755. Fix tests to use 'basic' instead of 'http' for the scheme parameter. --- .../plugin/test/mochitest/test_getauthenticationinfo.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/plugin/test/mochitest/test_getauthenticationinfo.html b/modules/plugin/test/mochitest/test_getauthenticationinfo.html index 8cf711c5e4eb..b2fc926a8298 100644 --- a/modules/plugin/test/mochitest/test_getauthenticationinfo.html +++ b/modules/plugin/test/mochitest/test_getauthenticationinfo.html @@ -24,12 +24,12 @@ const Cc = Components.classes; function iframeLoad() { var plugin = iframe.contentDocument.getElementById("embedtest"); // valid request - is(plugin.getAuthInfo("http", "localhost", 8888, "http", "testrealm"), + is(plugin.getAuthInfo("http", "localhost", 8888, "basic", "testrealm"), "user1|password1", "correct user/pass retrieved"); try { // invalid request -- wrong host - is(plugin.getAuthInfo("http", "example.com", 8888, "http", "testrealm"), + is(plugin.getAuthInfo("http", "example.com", 8888, "basic", "testrealm"), "user1|password1", "correct user/pass retrieved"); ok(false, "no exception was thrown"); @@ -39,7 +39,7 @@ function iframeLoad() { } try { // invalid request -- wrong port - is(plugin.getAuthInfo("http", "localhost", 90, "http", "testrealm"), + is(plugin.getAuthInfo("http", "localhost", 90, "basic", "testrealm"), "user1|password1", "correct user/pass retrieved"); ok(false, "no exception was thrown"); @@ -49,7 +49,7 @@ function iframeLoad() { } try { // invalid request -- wrong realm - is(plugin.getAuthInfo("http", "localhost", 8888, "http", "wrongrealm"), + is(plugin.getAuthInfo("http", "localhost", 8888, "basic", "wrongrealm"), "user1|password1", "correct user/pass retrieved"); ok(false, "no exception was thrown");