зеркало из https://github.com/mozilla/pjs.git
Sigh; try to fix orange, bug 384192.
This commit is contained in:
Родитель
9492b7b1e2
Коммит
a25a17182c
|
@ -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",
|
||||
|
|
|
@ -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';
|
||||
|
|
Загрузка…
Ссылка в новой задаче