Open Bug 626732 Opened 13 years ago Updated 2 years ago

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

Categories

(Core :: Security: CAPS, defect)

x86
macOS
defect

Tracking

()

People

(Reporter: bent.mozilla, Unassigned)

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.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.