blob: bd20f86ce75d1a81fac77a25d9a5fa1397f91ed3 [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
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');
}