| 1 |
// Copyright 2009 the Sputnik authors. All rights reserved. |
| 2 |
// This code is governed by the BSD license found in the LICENSE file. |
| 3 |
|
| 4 |
/*--- |
| 5 |
esid: sec-date.utc |
| 6 |
info: The Date property "UTC" has { DontEnum } attributes |
| 7 |
es5id: 15.9.4.3_A1_T2 |
| 8 |
description: Checking absence of DontDelete attribute |
| 9 |
---*/ |
| 10 |
|
| 11 |
if (delete Date.UTC === false) { |
| 12 |
$ERROR('#1: The Date.UTC property has not the attributes DontDelete'); |
| 13 |
} |
| 14 |
|
| 15 |
if (Date.hasOwnProperty('UTC')) { |
| 16 |
$ERROR('#2: The Date.UTC property has not the attributes DontDelete'); |
| 17 |
} |