diff --git a/mozilla/suite/debugQA/content/debugQAEditorOverlay.js b/mozilla/suite/debugQA/content/debugQAEditorOverlay.js index 9abb09618a4..825b55e5d71 100644 --- a/mozilla/suite/debugQA/content/debugQAEditorOverlay.js +++ b/mozilla/suite/debugQA/content/debugQAEditorOverlay.js @@ -307,7 +307,7 @@ function EditorExecuteScript(fileSpec) function EditorGetScriptFileSpec() { - var fs = Components.classes["component://netscape/filespec"].createInstance(); + var fs = Components.classes["@mozilla.org/filespec;1"].createInstance(); fs = fs.QueryInterface(Components.interfaces.nsIFileSpec); fs.unixStyleFilePath = "journal.js"; return fs;