Bug 453380 - "Compile worker scripts with principals to enable eval support". Forgot jst's nits.

This commit is contained in:
Ben Turner 2008-09-08 11:37:09 -07:00
parent 79f9a72d30
commit 3b4ff9de7b

View File

@ -53,7 +53,7 @@ class nsDOMWorkerPrincipal : public JSPrincipals
{
public:
nsDOMWorkerPrincipal() {
codebase = "domworker-890cfb50-cbae-4470-8475-8f60056f49f2";
codebase = "domworkerthread";
getPrincipalArray = NULL;
globalPrivilegesEnabled = NULL;
refcount = 1;
@ -138,5 +138,6 @@ JSBool
nsDOMWorkerSecurityManager::JSTranscodePrincipals(JSXDRState* aXdr,
JSPrincipals** aJsprinp)
{
NS_NOTREACHED("Shouldn't ever call this!");
return JS_FALSE;
}