Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
michael@0 | 1 | function test() { |
michael@0 | 2 | waitForExplicitFinish(); |
michael@0 | 3 | |
michael@0 | 4 | gBrowser.selectedTab = gBrowser.addTab(); |
michael@0 | 5 | gBrowser.selectedBrowser.addEventListener("load", function () { |
michael@0 | 6 | gBrowser.selectedBrowser.removeEventListener("load", arguments.callee, true); |
michael@0 | 7 | is(document.getElementById("identity-box").className, |
michael@0 | 8 | gIdentityHandler.IDENTITY_MODE_MIXED_DISPLAY_LOADED, |
michael@0 | 9 | "identity box has class name for mixed content"); |
michael@0 | 10 | |
michael@0 | 11 | gBrowser.removeCurrentTab(); |
michael@0 | 12 | finish(); |
michael@0 | 13 | }, true); |
michael@0 | 14 | |
michael@0 | 15 | content.location = "https://example.com/browser/browser/base/content/test/general/test_bug435035.html"; |
michael@0 | 16 | } |