summaryrefslogtreecommitdiff
path: root/external/contributions/Google/sputnik_conformance_modified/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.37_Date.prototype.setUTCDate/S15.9.5.37_A2_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/15.9.5.37_Date.prototype.setUTCDate/S15.9.5.37_A2_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/15.9.5.37_Date.prototype.setUTCDate/S15.9.5.37_A2_T1.js18
1 files changed, 18 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/15.9.5.37_Date.prototype.setUTCDate/S15.9.5.37_A2_T1.js b/external/contributions/Google/sputnik_conformance_modified/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.37_Date.prototype.setUTCDate/S15.9.5.37_A2_T1.js
new file mode 100644
index 000000000..95ea46610
--- /dev/null
+++ b/external/contributions/Google/sputnik_conformance_modified/15_Native/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.37_Date.prototype.setUTCDate/S15.9.5.37_A2_T1.js
@@ -0,0 +1,18 @@
+// 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.37_A2_T1;
+ * @section: 15.9.5.37;
+ * @assertion: The "length" property of the "setUTCDate" is 1;
+ * @description: The "length" property of the "setUTCDate" is 1;
+ */
+
+if(Date.prototype.setUTCDate.hasOwnProperty("length") !== true){
+ $ERROR('#1: The setUTCDate has a "length" property');
+}
+
+if(Date.prototype.setUTCDate.length !== 1){
+ $ERROR('#2: The "length" property of the setUTCDate is 1');
+}
+