summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrent Baker <brbaker@adobe.com>2013-06-06 07:36:51 -0400
committerBrent Baker <brbaker@adobe.com>2013-06-06 07:36:51 -0400
commitfe69241d2b28a102d002402b200970c5aaa1c76f (patch)
treebc805043fa5f372bfa88e67c5d10de05384e6668
parent15342c548918029827b7c5fa5b6a6d7ccac2a19a (diff)
downloadtest262-fe69241d2b28a102d002402b200970c5aaa1c76f.tar.gz
Bug 1125: Move escape and unescape into "annexB"
--HG-- rename : test/suite/ch15/15.2/15.2.3/15.2.3.3/15.2.3.3-4-12.js => test/suite/annexB/B.2.1.js rename : test/suite/ch15/15.2/15.2.3/15.2.3.3/15.2.3.3-4-13.js => test/suite/annexB/B.2.2.js
-rw-r--r--test/suite/annexB/B.2.1.js (renamed from test/suite/ch15/15.2/15.2.3/15.2.3.3/15.2.3.3-4-12.js)2
-rw-r--r--test/suite/annexB/B.2.1.propertyCheck.js12
-rw-r--r--test/suite/annexB/B.2.2.js (renamed from test/suite/ch15/15.2/15.2.3/15.2.3.3/15.2.3.3-4-13.js)2
-rw-r--r--test/suite/annexB/B.2.2.propertyCheck.js12
-rw-r--r--test/suite/ch11/11.2/11.2.1/S11.2.1_A4_T1.js4
5 files changed, 26 insertions, 6 deletions
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.3/15.2.3.3-4-12.js b/test/suite/annexB/B.2.1.js
index 6d2d00798..89754a48c 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.3/15.2.3.3-4-12.js
+++ b/test/suite/annexB/B.2.1.js
@@ -4,7 +4,7 @@
/// "Use Terms"). Any redistribution of this code must retain the above
/// copyright and this notice and otherwise comply with the Use Terms.
/**
- * @path ch15/15.2/15.2.3/15.2.3.3/15.2.3.3-4-12.js
+ * @path annexB/B.2.1.js
* @description Object.getOwnPropertyDescriptor returns data desc for functions on built-ins (Global.escape)
*/
diff --git a/test/suite/annexB/B.2.1.propertyCheck.js b/test/suite/annexB/B.2.1.propertyCheck.js
new file mode 100644
index 000000000..cadef9877
--- /dev/null
+++ b/test/suite/annexB/B.2.1.propertyCheck.js
@@ -0,0 +1,12 @@
+// Copyright 2009 the Sputnik authors. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/**
+ * Check type of various properties
+ *
+ * @path annexB/B.2.1.propertyCheck.js
+ * @description Checking properties of this object (escape)
+ */
+
+if (typeof this.escape === "undefined") $ERROR('#1: typeof this.escape !== "undefined"');
+if (typeof this['escape'] === "undefined") $ERROR('#2: typeof this["escape"] !== "undefined"');
diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.3/15.2.3.3-4-13.js b/test/suite/annexB/B.2.2.js
index cde680838..987a0d651 100644
--- a/test/suite/ch15/15.2/15.2.3/15.2.3.3/15.2.3.3-4-13.js
+++ b/test/suite/annexB/B.2.2.js
@@ -4,7 +4,7 @@
/// "Use Terms"). Any redistribution of this code must retain the above
/// copyright and this notice and otherwise comply with the Use Terms.
/**
- * @path ch15/15.2/15.2.3/15.2.3.3/15.2.3.3-4-13.js
+ * @path annexB/B.2.2.js
* @description Object.getOwnPropertyDescriptor returns data desc for functions on built-ins (Global.unescape)
*/
diff --git a/test/suite/annexB/B.2.2.propertyCheck.js b/test/suite/annexB/B.2.2.propertyCheck.js
new file mode 100644
index 000000000..be9cac6a7
--- /dev/null
+++ b/test/suite/annexB/B.2.2.propertyCheck.js
@@ -0,0 +1,12 @@
+// Copyright 2009 the Sputnik authors. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/**
+ * Check type of various properties
+ *
+ * @path annexB/B.2.2.propertyCheck.js
+ * @description Checking properties of this object (unescape)
+ */
+
+if (typeof this.unescape === "undefined") $ERROR('#1: typeof this.unescape !== "undefined"');
+if (typeof this['unescape'] === "undefined") $ERROR('#2: typeof this["unescape"] !== "undefined"');
diff --git a/test/suite/ch11/11.2/11.2.1/S11.2.1_A4_T1.js b/test/suite/ch11/11.2/11.2.1/S11.2.1_A4_T1.js
index fb78048fb..8f9212243 100644
--- a/test/suite/ch11/11.2/11.2.1/S11.2.1_A4_T1.js
+++ b/test/suite/ch11/11.2/11.2.1/S11.2.1_A4_T1.js
@@ -17,10 +17,6 @@ if (typeof this.parseInt === "undefined") $ERROR('#5: typeof this.parseInt !==
if (typeof this['parseInt'] === "undefined") $ERROR('#6: typeof this["parseInt"] !== "undefined"');
if (typeof this.parseFloat === "undefined") $ERROR('#7: typeof this.parseFloat !== "undefined"');
if (typeof this['parseFloat'] === "undefined") $ERROR('#8: typeof this["parseFloat"] !== "undefined"');
-if (typeof this.escape === "undefined") $ERROR('#9: typeof this.escape !== "undefined"');
-if (typeof this['escape'] === "undefined") $ERROR('#10: typeof this["escape"] !== "undefined"');
-if (typeof this.unescape === "undefined") $ERROR('#11: typeof this.unescape !== "undefined"');
-if (typeof this['unescape'] === "undefined") $ERROR('#12: typeof this["unescape"] !== "undefined"');
if (typeof this.isNaN === "undefined") $ERROR('#13: typeof this.isNaN !== "undefined"');
if (typeof this['isNaN'] === "undefined") $ERROR('#14: typeof this["isNaN"] !== "undefined"');
if (typeof this.isFinite === "undefined") $ERROR('#15: typeof this.isFinite !== "undefined"');