mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-14 15:37:55 +00:00
16 lines
485 B
JavaScript
16 lines
485 B
JavaScript
|
function test() {
|
||
|
waitForExplicitFinish();
|
||
|
|
||
|
gBrowser.selectedTab = gBrowser.addTab();
|
||
|
gBrowser.selectedBrowser.addEventListener("load", function () {
|
||
|
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";
|
||
|
}
|