Sigh; try to fix orange, bug 384192.

This commit is contained in:
jwalden@mit.edu 2007-07-12 17:58:25 -07:00
parent a2af9602e6
commit 9f1af4acf4
2 changed files with 5 additions and 1 deletions

View File

@ -148,7 +148,7 @@ function runServer()
server.start(SERVER_PORT);
otherDomainServer.setIndexHandler(defaultDirHandler);
otherDomainServer.start(SERVER_PORT_OTHER_DOMAIN);
// touch a file in the profile directory to indicate we're alive
var foStream = Cc["@mozilla.org/network/file-output-stream;1"]
.createInstance(Ci.nsIFileOutputStream);
@ -407,8 +407,10 @@ function testListing(metadata, response)
src: "/tests/SimpleTest/TestRunner.js"}),
SCRIPT({type: "text/javascript",
src: "/tests/SimpleTest/MozillaFileLogger.js"}),
/*
SCRIPT({type: "text/javascript",
src: "/tests/SimpleTest/cross-domain.js"}),
*/
SCRIPT({type: "text/javascript",
src: "/tests/SimpleTest/quit.js"}),
SCRIPT({type: "text/javascript",

View File

@ -100,9 +100,11 @@ function goQuitApplication()
return false;
}
/*
// shut down cross-domain mapping (really reverts preference values)
if (crossDomain)
crossDomain.disable();
*/
const kAppStartup = '@mozilla.org/toolkit/app-startup;1';
const kAppShell = '@mozilla.org/appshell/appShellService;1';