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 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 /**
8 File Name:
9 ECMA Section:
10 Description: Call Objects
14 Author: christine@netscape.com
15 Date: 12 november 1997
16 */
17 var SECTION = "";
18 var VERSION = "ECMA_2";
19 var TITLE = "The Call Constructor";
21 startTest();
22 writeHeaderToLog( SECTION + " "+ TITLE);
24 var b = new Boolean();
26 new TestCase( SECTION,
27 "var b = new Boolean(); b instanceof Boolean",
28 true,
29 b instanceof Boolean );
31 new TestCase( SECTION,
32 "b instanceof Object",
33 true,
34 b instanceof Object );
36 new TestCase( SECTION,
37 "b instanceof Array",
38 false,
39 b instanceof Array );
41 new TestCase( SECTION,
42 "true instanceof Boolean",
43 false,
44 true instanceof Boolean );
46 new TestCase( SECTION,
47 "Boolean instanceof Object",
48 true,
49 Boolean instanceof Object );
50 test();