2009-09-11 17:28:55 +00:00
|
|
|
function test() {
|
|
|
|
waitForExplicitFinish();
|
|
|
|
|
|
|
|
gBrowser.selectedTab = gBrowser.addTab();
|
|
|
|
gBrowser.selectedBrowser.addEventListener("load", function () {
|
2009-10-16 13:19:57 +00:00
|
|
|
gBrowser.selectedBrowser.removeEventListener("load", arguments.callee, true);
|
2009-09-11 17:28:55 +00:00
|
|
|
is(document.getElementById("identity-box").className,
|
2013-07-03 22:14:17 +00:00
|
|
|
gIdentityHandler.IDENTITY_MODE_MIXED_DISPLAY_LOADED,
|
2009-09-11 17:28:55 +00:00
|
|
|
"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";
|
|
|
|
}
|