From 1059664ff4a3c92b2c6a4720f695e158aed215e4 Mon Sep 17 00:00:00 2001 From: Einar Egilsson Date: Tue, 20 Oct 2009 13:04:15 +0000 Subject: Changed to use actual interfaces! Seems to work, tiny bug left in unit tests. git-svn-id: http://einaregilsson.googlecode.com/svn/mozilla/redirector/trunk@285 119bf307-c92d-0410-89bd-8f53e6181181 --- chrome/content/unittest/run.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chrome/content/unittest/run.html') diff --git a/chrome/content/unittest/run.html b/chrome/content/unittest/run.html index 1557610..57970d1 100644 --- a/chrome/content/unittest/run.html +++ b/chrome/content/unittest/run.html @@ -16,7 +16,7 @@ //Global variables var subscriptLoader = Components.classes["@mozilla.org/moz/jssubscript-loader;1"].getService(Components.interfaces.mozIJSSubScriptLoader); - var redirector = Components.classes["@einaregilsson.com/redirector;1"].getService(Components.interfaces.nsISupports).wrappedJSObject; + var redirector = Components.classes["@einaregilsson.com/redirector;1"].getService(Components.interfaces.rdIRedirector); function setupTest(name, testcase) { var table = document.createElement('table'); -- cgit v1.2.3-70-g09d2