Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- Manifest: caps/tests/unit/xpcshell.toml
var ssm = Services.scriptSecurityManager;
function makeURI(uri) {
return Services.io.newURI(uri);
}
function createPrincipal(aURI) {
try {
var uri = makeURI(aURI);
var principal = ssm.createContentPrincipal(uri, {});
return principal;
} catch (e) {
return null;
}
}
function run_test() {
Assert.equal(
);
}