1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/browser/base/content/test/general/browser_bug435035.js Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,16 @@ 1.4 +function test() { 1.5 + waitForExplicitFinish(); 1.6 + 1.7 + gBrowser.selectedTab = gBrowser.addTab(); 1.8 + gBrowser.selectedBrowser.addEventListener("load", function () { 1.9 + gBrowser.selectedBrowser.removeEventListener("load", arguments.callee, true); 1.10 + is(document.getElementById("identity-box").className, 1.11 + gIdentityHandler.IDENTITY_MODE_MIXED_DISPLAY_LOADED, 1.12 + "identity box has class name for mixed content"); 1.13 + 1.14 + gBrowser.removeCurrentTab(); 1.15 + finish(); 1.16 + }, true); 1.17 + 1.18 + content.location = "https://example.com/browser/browser/base/content/test/general/test_bug435035.html"; 1.19 +}