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

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     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