diff options
Diffstat (limited to 'browser/base/content/test/browser_bug435035.js')
-rw-r--r-- | browser/base/content/test/browser_bug435035.js | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/browser/base/content/test/browser_bug435035.js b/browser/base/content/test/browser_bug435035.js new file mode 100644 index 000000000..ae865ef12 --- /dev/null +++ b/browser/base/content/test/browser_bug435035.js @@ -0,0 +1,16 @@ +function test() { + waitForExplicitFinish(); + + gBrowser.selectedTab = gBrowser.addTab(); + gBrowser.selectedBrowser.addEventListener("load", function () { + gBrowser.selectedBrowser.removeEventListener("load", arguments.callee, true); + 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"; +} |