nsNullPrincipal::CheckMayLoad uses nsScriptSecurityManager in a thread-unsafe way (since it uses string bundles)

NEW
Unassigned

Status

()

8 years ago
8 years ago

People

(Reporter: bent.mozilla, Unassigned)

Tracking

Trunk
x86
Mac OS X
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

nsNullPrincipal::CheckMayLoad uses nsScriptSecurityManager in a thread-unsafe way (since it uses string bundles).

I guess we want nsNullPrincipal to be threadsafe, so we need to fix this somehow.
> I guess we want nsNullPrincipal to be threadsafe

We do?  Why?  What operations on it do we want to be threadsafe?

In general, principals and the security manager are not threadsafe last I checked....
See bug 626301, shaver wants us to use nsNullPrincipal for Workers.
You need to log in before you can comment on or make changes to this bug.