Sat, 03 Jan 2015 20:18:00 +0100
Conditionally enable double key logic according to:
private browsing mode or privacy.thirdparty.isolate preference and
implement in GetCookieStringCommon and FindCookie where it counts...
With some reservations of how to convince FindCookie users to test
condition and pass a nullptr when disabling double key logic.
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 }