3 function createURI(s) {
4 return Services.io.newURI(s);
11 var secMan = Services.scriptSecurityManager;
12 const kURI1 = "http://example.com";
13 var app = secMan.createContentPrincipal(createURI(kURI1), {});
14 var appbrowser = secMan.createContentPrincipal(createURI(kURI1), {
15 inIsolatedMozBrowser: true,
18 var am = Cc["@mozilla.org/network/http-auth-manager;1"].getService(
48 Services.clearData.deleteDataFromOriginAttributesPattern({
49 inIsolatedMozBrowser: true,
52 var domain = { value: "" },
69 Assert.equal(false, true); // no identity should be present
71 Assert.equal(domain.value, "");
72 Assert.equal(user.value, "");
73 Assert.equal(pass.value, "");
89 Assert.equal(domain.value, "example.com");
90 Assert.equal(user.value, "user");
91 Assert.equal(pass.value, "pass");