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.31_Date.prototype.setUTCSeconds/S15.9.5.31_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.31_Date.prototype.setUTCSeconds/S15.9.5.31_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.31_Date.prototype.setUTCSeconds/S15.9.5.31_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.31_Date.prototype.setUTCSeconds/S15.9.5.31_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.31_Date.prototype.setUTCSeconds/S15.9.5.31_A2_T1.js
new file mode 100644
index 000000000..18b95f383
--- /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.31_Date.prototype.setUTCSeconds/S15.9.5.31_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.31_A2_T1;
+ * @section: 15.9.5.31;
+ * @assertion: The "length" property of the "setUTCSeconds" is 2;
+ * @description: The "length" property of the "setUTCSeconds" is 2;
+ */
+
+if(Date.prototype.setUTCSeconds.hasOwnProperty("length") !== true){
+ $ERROR('#1: The setUTCSeconds has a "length" property');
+}
+
+if(Date.prototype.setUTCSeconds.length !== 2){
+ $ERROR('#2: The "length" property of the setUTCSeconds is 2');
+}
+