diff options
Diffstat (limited to 'test/suite/intl402/ch12/12.2/12.2.1.js')
-rw-r--r-- | test/suite/intl402/ch12/12.2/12.2.1.js | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/test/suite/intl402/ch12/12.2/12.2.1.js b/test/suite/intl402/ch12/12.2/12.2.1.js deleted file mode 100644 index 4ec28c5d3..000000000 --- a/test/suite/intl402/ch12/12.2/12.2.1.js +++ /dev/null @@ -1,26 +0,0 @@ -// Copyright 2012 Google Inc. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @description Tests that the Intl.DateTimeFormat prototype object exists and - * is not writable, enumerable, or configurable. - * @author: Roozbeh Pournader - */ - -var desc; - -if (!Intl.DateTimeFormat.hasOwnProperty('prototype')) { - $ERROR('Intl.DateTimeFormat has no prototype property'); -} - -desc = Object.getOwnPropertyDescriptor(Intl.DateTimeFormat, 'prototype'); -if (desc.writable === true) { - $ERROR('Intl.DateTimeFormat.prototype is writable.'); -} -if (desc.enumerable === true) { - $ERROR('Intl.DateTimeFormat.prototype is enumerable.'); -} -if (desc.configurable === true) { - $ERROR('Intl.DateTimeFormat.prototype is configurable.'); -} - |