Bug 905926 - Remove workaround in xpcshell. r=billm

This commit is contained in:
Bobby Holley
2013-09-17 09:46:33 -07:00
parent d239e0ac02
commit c5888085db

View File

@@ -1657,11 +1657,6 @@ main(int argc, char **argv, char **envp)
return 1;
}
// Force the SafeJSContext to be created. This is a workaround for our
// implicit dependency on keeping at least one JSContext alive until the
// end of shutdown. This can go away when we get bug 905926 landed.
xpc->GetSafeJSContext();
nsCOMPtr<nsIPrincipal> systemprincipal;
// Fetch the system principal and store it away in a global, to use for
// script compilation in Load() and ProcessFile() (including interactive