summaryrefslogtreecommitdiff
path: root/external/contributions/Google/sputnik_conformance_modified/15_Native/15.11_Error_Objects/15.11.4_Properties_of_the_Error_Prototype_Object/S15.11.4.3_A2.js
diff options
context:
space:
mode:
Diffstat (limited to 'external/contributions/Google/sputnik_conformance_modified/15_Native/15.11_Error_Objects/15.11.4_Properties_of_the_Error_Prototype_Object/S15.11.4.3_A2.js')
-rw-r--r--external/contributions/Google/sputnik_conformance_modified/15_Native/15.11_Error_Objects/15.11.4_Properties_of_the_Error_Prototype_Object/S15.11.4.3_A2.js17
1 files changed, 17 insertions, 0 deletions
diff --git a/external/contributions/Google/sputnik_conformance_modified/15_Native/15.11_Error_Objects/15.11.4_Properties_of_the_Error_Prototype_Object/S15.11.4.3_A2.js b/external/contributions/Google/sputnik_conformance_modified/15_Native/15.11_Error_Objects/15.11.4_Properties_of_the_Error_Prototype_Object/S15.11.4.3_A2.js
new file mode 100644
index 000000000..9788d2f1c
--- /dev/null
+++ b/external/contributions/Google/sputnik_conformance_modified/15_Native/15.11_Error_Objects/15.11.4_Properties_of_the_Error_Prototype_Object/S15.11.4.3_A2.js
@@ -0,0 +1,17 @@
+// Copyright 2009 the Sputnik authors. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/**
+ * @name: S15.11.4.3_A2;
+ * @section: 15.11.4.3, 16;
+ * @assertion: The initial value of Error.prototype.message is "";
+ * @description: Checking value of Error.prototype.message;
+*/
+
+//////////////////////////////////////////////////////////////////////////////
+// CHECK#1
+if (typeof Error.prototype.message !== "string") {
+ $ERROR('#1: typeof Error.prototype.message === "string". Actual: ' + Error.prototype.message);
+}
+//
+//////////////////////////////////////////////////////////////////////////////