summaryrefslogtreecommitdiff
path: root/test/suite/annexB/B.2.2.propertyCheck.js
blob: be9cac6a71ab75ab4fbb9889ead668ff4b7753fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Copyright 2009 the Sputnik authors.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/**
 * Check type of various properties
 *
 * @path annexB/B.2.2.propertyCheck.js
 * @description Checking properties of this object (unescape)
 */

if (typeof this.unescape  === "undefined")  $ERROR('#1: typeof this.unescape !== "undefined"');
if (typeof this['unescape'] === "undefined")  $ERROR('#2: typeof this["unescape"] !== "undefined"');