browser/base/content/test/general/browser_bug435035.js

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     1 function test() {
     2   waitForExplicitFinish();
     4   gBrowser.selectedTab = gBrowser.addTab();
     5   gBrowser.selectedBrowser.addEventListener("load", function () {
     6     gBrowser.selectedBrowser.removeEventListener("load", arguments.callee, true);
     7     is(document.getElementById("identity-box").className,
     8        gIdentityHandler.IDENTITY_MODE_MIXED_DISPLAY_LOADED,
     9        "identity box has class name for mixed content");
    11     gBrowser.removeCurrentTab();
    12     finish();
    13   }, true);
    15   content.location = "https://example.com/browser/browser/base/content/test/general/test_bug435035.html";
    16 }

mercurial