1 // Copyright 2009 the Sputnik authors. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
5 info: The length property of the toLocaleUpperCase method is 0
7 description: Checking String.prototype.toLocaleUpperCase.length
10 //////////////////////////////////////////////////////////////////////////////
12 if (!(String.prototype.toLocaleUpperCase.hasOwnProperty("length"))) {
13 throw new Test262Error('#1: String.prototype.toLocaleUpperCase.hasOwnProperty("length") return true. Actual: ' + String.prototype.toLocaleUpperCase.hasOwnProperty("length"));
16 //////////////////////////////////////////////////////////////////////////////
18 //////////////////////////////////////////////////////////////////////////////
20 if (String.prototype.toLocaleUpperCase.length !== 0) {
21 throw new Test262Error('#2: String.prototype.toLocaleUpperCase.length === 0. Actual: ' + String.prototype.toLocaleUpperCase.length);
24 //////////////////////////////////////////////////////////////////////////////