blob: 54828848eb359f47a9696ea3ea9bbe5b43ddd845 [file] [log] [blame]
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
info: Boolean.prototype has the attribute ReadOnly
esid: sec-boolean.prototype
es5id: 15.6.3.1_A2
description: Checking if varying the Boolean.prototype property fails
includes: [propertyHelper.js]
---*/
// CHECK#1
var x = Boolean.prototype;
verifyNotWritable(Boolean, "prototype", null, 1);
if (Boolean.prototype !== x) {
$ERROR('#1: Boolean.prototype has the attribute ReadOnly');
}