2009-09-11 10:28:55 -07:00
|
|
|
function test() {
|
|
|
|
waitForExplicitFinish();
|
|
|
|
|
|
|
|
gBrowser.selectedTab = gBrowser.addTab();
|
|
|
|
gBrowser.selectedBrowser.addEventListener("load", function () {
|
2009-10-16 06:19:57 -07:00
|
|
|
gBrowser.selectedBrowser.removeEventListener("load", arguments.callee, true);
|
2009-09-11 10:28:55 -07:00
|
|
|
is(document.getElementById("identity-box").className,
|
|
|
|
gIdentityHandler.IDENTITY_MODE_MIXED_CONTENT,
|
|
|
|
"identity box has class name for mixed content");
|
|
|
|
|
|
|
|
gBrowser.removeCurrentTab();
|
|
|
|
finish();
|
|
|
|
}, true);
|
|
|
|
|
|
|
|
content.location = "https://example.com/browser/browser/base/content/test/test_bug435035.html";
|
|
|
|
}
|