Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
1 // Copyright 2009 the Sputnik authors. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
4 /**
5 * For the keyword null the typeof operator returns the "object"
6 * See also
7 * http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Operators:Special_Operators:typeof_Operator
8 * and
9 * http://bugs.ecmascript.org/ticket/250
10 * for example
11 *
12 * @path ch08/8.2/S8.2_A3.js
13 * @description Check type of null
14 */
16 //////////////////////////////////////////////////////////////
17 // CHECK#1
18 if (typeof(null) !== "object") {
19 $ERROR('#1: typeof null === "object". Actual: ' + (typeof null));
20 }
21 //
22 /////////////////////////////////////////////////////////////