blob: 01876a0944c9cb877e533c574b60e6e9890b0ebb [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: The Date.prototype property "setHours" has { DontEnum } attributes
esid: sec-date.prototype.sethours
description: Checking absence of DontDelete attribute
---*/
if (delete Date.prototype.setHours === false) {
$ERROR('#1: The Date.prototype.setHours property has not the attributes DontDelete');
}
if (Date.prototype.hasOwnProperty('setHours')) {
$ERROR('#2: The Date.prototype.setHours property has not the attributes DontDelete');
}