зеркало из https://github.com/mozilla/pjs.git
Bug 453380 - "Compile worker scripts with principals to enable eval support". Forgot jst's nits.
This commit is contained in:
Родитель
b3b3b8daa9
Коммит
57976c909b
|
@ -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;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче