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

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

     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