summaryrefslogtreecommitdiff
path: root/external/contributions/Google/sputnik_conformance_modified/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A16_T1.js
diff options
context:
space:
mode:
Diffstat (limited to 'external/contributions/Google/sputnik_conformance_modified/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A16_T1.js')
-rw-r--r--external/contributions/Google/sputnik_conformance_modified/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A16_T1.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/external/contributions/Google/sputnik_conformance_modified/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A16_T1.js b/external/contributions/Google/sputnik_conformance_modified/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A16_T1.js
new file mode 100644
index 000000000..a2d905b8a
--- /dev/null
+++ b/external/contributions/Google/sputnik_conformance_modified/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/S15.9.5_A16_T1.js
@@ -0,0 +1,14 @@
+// Copyright 2009 the Sputnik authors. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/**
+ * @name: S15.9.5_A16_T1;
+ * @section: 15.9.5;
+ * @assertion: The Date.prototype has the property "getDay";
+ * @description: The Date.prototype has the property "getDay";
+ */
+
+if(Date.prototype.hasOwnProperty("getDay") !== true){
+ $ERROR('#1: The Date.prototype has the property "getDay"');
+}
+