Thu, 15 Jan 2015 15:55:04 +0100
Back out 97036ab72558 which inappropriately compared turds to third parties.
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: 15.1-2-n.js
9 ECMA Section: The global object
10 Description:
12 The global object does not have a [[Call]] property; it is not possible
13 to invoke the global object as a function.
15 Author: christine@netscape.com
16 Date: 12 november 1997
17 */
19 var SECTION = "15.1-2-n";
20 var VERSION = "ECMA_1";
21 startTest();
22 var TITLE = "The Global Object";
24 writeHeaderToLog( SECTION + " "+ TITLE);
26 DESCRIPTION = "var MY_GLOBAL = this()";
27 EXPECTED = "error";
29 new TestCase( SECTION,
30 "var MY_GLOBAL = this()",
31 "error",
32 eval("var MY_GLOBAL = this()") );
33 test();