blob: e3fb901a1577f1f573bb193da3cd1a230649405d [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 DontEnum
esid: sec-boolean.prototype
description: Checking if enumerating the Boolean.prototype property fails
---*/
for (x in Boolean) {
assert.notSameValue(x, "prototype", 'The value of x is not "prototype"');
}
assert(
!Boolean.propertyIsEnumerable('prototype'),
'The value of !Boolean.propertyIsEnumerable(\'prototype\') is expected to be true'
);