mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 453380 - "Compile worker scripts with principals to enable eval support". Forgot jst's nits.
This commit is contained in:
parent
79f9a72d30
commit
3b4ff9de7b
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user