Backout of test change since it's orange now (passes locally though :( )

git-svn-id: svn://10.0.0.236/trunk@244529 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
sdwilsh%shawnwilsher.com 2008-01-30 18:48:18 +00:00
parent 7bfa78d2dd
commit ee2bdce95e

View File

@ -107,24 +107,6 @@ function test()
if (win)
win.close();
var ww = Cc["@mozilla.org/embedcomp/window-watcher;1"].
getService(Ci.nsIWindowWatcher);
// register a callback to add a load listener to know when the download
// manager opens
var obs = {
observe: function(aSubject, aTopic, aData) {
// unregister ourself
ww.unregisterNotification(this);
var win = aSubject.QueryInterface(Ci.nsIDOMEventTarget);
win.addEventListener("DOMContentLoaded", finishUp, false);
}
};
// register our observer
ww.registerNotification(obs);
// OK, now that all the data is in, let's pull up the UI
Cc["@mozilla.org/download-manager-ui;1"].
getService(Ci.nsIDownloadManagerUI).show();
@ -141,4 +123,5 @@ function test()
}
waitForExplicitFinish();
window.setTimeout(finishUp, 1000);
}