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 36d56d6620
commit f59f02c76f

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;
}