summaryrefslogtreecommitdiff
path: root/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12')
-rw-r--r--test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-0-1.js35
-rw-r--r--test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-0-2.js38
-rw-r--r--test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-1-1.js40
-rw-r--r--test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-1-2.js40
-rw-r--r--test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-1-3.js40
-rw-r--r--test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-1-4.js40
-rw-r--r--test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-1-5.js37
-rw-r--r--test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-1-6.js40
-rw-r--r--test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-1-7.js37
-rw-r--r--test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-1.js43
-rw-r--r--test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-1.js54
-rw-r--r--test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-2.js60
-rw-r--r--test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-a-1.js47
-rw-r--r--test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-a-11.js44
-rw-r--r--test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-a-12.js43
-rw-r--r--test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-a-13.js47
-rw-r--r--test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-a-14.js42
-rw-r--r--test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-a-2.js56
-rw-r--r--test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-a-3.js57
-rw-r--r--test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-a-4.js46
-rw-r--r--test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-a-5.js56
-rw-r--r--test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-a-6.js59
-rw-r--r--test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-a-7.js44
-rw-r--r--test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-a-8.js56
-rw-r--r--test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-b-i-1.js47
-rw-r--r--test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-c-1.js48
-rw-r--r--test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-c-2.js54
-rw-r--r--test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-1.js41
-rw-r--r--test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-10.js40
-rw-r--r--test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-11.js40
-rw-r--r--test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-12.js40
-rw-r--r--test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-13.js40
-rw-r--r--test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-14.js40
-rw-r--r--test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-15.js40
-rw-r--r--test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-16.js40
-rw-r--r--test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-17.js40
-rw-r--r--test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-18.js40
-rw-r--r--test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-19.js40
-rw-r--r--test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-2.js40
-rw-r--r--test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-20.js40
-rw-r--r--test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-21.js40
-rw-r--r--test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-22.js40
-rw-r--r--test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-23.js40
-rw-r--r--test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-24.js40
-rw-r--r--test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-25.js40
-rw-r--r--test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-26.js40
-rw-r--r--test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-27.js40
-rw-r--r--test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-28.js62
-rw-r--r--test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-3.js40
-rw-r--r--test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-4.js40
-rw-r--r--test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-5.js40
-rw-r--r--test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-6.js40
-rw-r--r--test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-7.js40
-rw-r--r--test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-8.js40
-rw-r--r--test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-9.js40
-rw-r--r--test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-4-1.js38
56 files changed, 2431 insertions, 0 deletions
diff --git a/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-0-1.js b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-0-1.js
new file mode 100644
index 000000000..6d80d6e84
--- /dev/null
+++ b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-0-1.js
@@ -0,0 +1,35 @@
+/// Copyright (c) 2009 Microsoft Corporation
+///
+/// Redistribution and use in source and binary forms, with or without modification, are permitted provided
+/// that the following conditions are met:
+/// * Redistributions of source code must retain the above copyright notice, this list of conditions and
+/// the following disclaimer.
+/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
+/// the following disclaimer in the documentation and/or other materials provided with the distribution.
+/// * Neither the name of Microsoft nor the names of its contributors may be used to
+/// endorse or promote products derived from this software without specific prior written permission.
+///
+/// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
+/// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+/// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
+/// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+/// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+/// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+/// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+/// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+ES5Harness.registerTest( {
+id: "15.2.3.12-0-1",
+
+path: "TestCases/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-0-1.js",
+
+description: "Object.isFrozen must exist as a function",
+
+test: function testcase() {
+ var f = Object.isFrozen;
+ if (typeof(f) === "function") {
+ return true;
+ }
+ }
+});
diff --git a/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-0-2.js b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-0-2.js
new file mode 100644
index 000000000..369a15331
--- /dev/null
+++ b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-0-2.js
@@ -0,0 +1,38 @@
+/// Copyright (c) 2009 Microsoft Corporation
+///
+/// Redistribution and use in source and binary forms, with or without modification, are permitted provided
+/// that the following conditions are met:
+/// * Redistributions of source code must retain the above copyright notice, this list of conditions and
+/// the following disclaimer.
+/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
+/// the following disclaimer in the documentation and/or other materials provided with the distribution.
+/// * Neither the name of Microsoft nor the names of its contributors may be used to
+/// endorse or promote products derived from this software without specific prior written permission.
+///
+/// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
+/// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+/// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
+/// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+/// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+/// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+/// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+/// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+ES5Harness.registerTest( {
+id: "15.2.3.12-0-2",
+
+path: "TestCases/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-0-2.js",
+
+description: "Object.isFrozen must exist as a function taking 1 parameter",
+
+test: function testcase() {
+ if (Object.isFrozen.length === 1) {
+ return true;
+ }
+ },
+
+precondition: function prereq() {
+ return fnExists(Object.isFrozen);
+ }
+});
diff --git a/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-1-1.js b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-1-1.js
new file mode 100644
index 000000000..a2e97e6fc
--- /dev/null
+++ b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-1-1.js
@@ -0,0 +1,40 @@
+/// Copyright (c) 2009 Microsoft Corporation
+///
+/// Redistribution and use in source and binary forms, with or without modification, are permitted provided
+/// that the following conditions are met:
+/// * Redistributions of source code must retain the above copyright notice, this list of conditions and
+/// the following disclaimer.
+/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
+/// the following disclaimer in the documentation and/or other materials provided with the distribution.
+/// * Neither the name of Microsoft nor the names of its contributors may be used to
+/// endorse or promote products derived from this software without specific prior written permission.
+///
+/// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
+/// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+/// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
+/// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+/// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+/// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+/// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+/// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+ES5Harness.registerTest({
+ id: "15.2.3.12-1-1",
+
+ path: "TestCases/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-1-1.js",
+
+ description: "Object.isFrozen - TypeError is thrown when the first param 'O' is undefined",
+
+ test: function testcase() {
+ try {
+ Object.isFrozen(undefined);
+ } catch (e) {
+ return (e instanceof TypeError);
+ }
+ },
+
+ precondition: function prereq() {
+ return fnExists(Object.isFrozen);
+ }
+});
diff --git a/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-1-2.js b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-1-2.js
new file mode 100644
index 000000000..37acc216e
--- /dev/null
+++ b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-1-2.js
@@ -0,0 +1,40 @@
+/// Copyright (c) 2009 Microsoft Corporation
+///
+/// Redistribution and use in source and binary forms, with or without modification, are permitted provided
+/// that the following conditions are met:
+/// * Redistributions of source code must retain the above copyright notice, this list of conditions and
+/// the following disclaimer.
+/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
+/// the following disclaimer in the documentation and/or other materials provided with the distribution.
+/// * Neither the name of Microsoft nor the names of its contributors may be used to
+/// endorse or promote products derived from this software without specific prior written permission.
+///
+/// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
+/// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+/// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
+/// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+/// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+/// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+/// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+/// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+ES5Harness.registerTest({
+ id: "15.2.3.12-1-2",
+
+ path: "TestCases/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-1-2.js",
+
+ description: "Object.isFrozen - TypeError is thrown when the first param 'O' is null",
+
+ test: function testcase() {
+ try {
+ Object.isFrozen(null);
+ } catch (e) {
+ return (e instanceof TypeError);
+ }
+ },
+
+ precondition: function prereq() {
+ return fnExists(Object.isFrozen);
+ }
+});
diff --git a/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-1-3.js b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-1-3.js
new file mode 100644
index 000000000..924a68f5e
--- /dev/null
+++ b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-1-3.js
@@ -0,0 +1,40 @@
+/// Copyright (c) 2009 Microsoft Corporation
+///
+/// Redistribution and use in source and binary forms, with or without modification, are permitted provided
+/// that the following conditions are met:
+/// * Redistributions of source code must retain the above copyright notice, this list of conditions and
+/// the following disclaimer.
+/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
+/// the following disclaimer in the documentation and/or other materials provided with the distribution.
+/// * Neither the name of Microsoft nor the names of its contributors may be used to
+/// endorse or promote products derived from this software without specific prior written permission.
+///
+/// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
+/// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+/// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
+/// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+/// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+/// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+/// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+/// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+ES5Harness.registerTest({
+ id: "15.2.3.12-1-3",
+
+ path: "TestCases/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-1-3.js",
+
+ description: "Object.isFrozen - TypeError is thrown when the first param 'O' is a boolean",
+
+ test: function testcase() {
+ try {
+ Object.isFrozen(true);
+ } catch (e) {
+ return (e instanceof TypeError);
+ }
+ },
+
+ precondition: function prereq() {
+ return fnExists(Object.isFrozen);
+ }
+});
diff --git a/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-1-4.js b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-1-4.js
new file mode 100644
index 000000000..b3acffc96
--- /dev/null
+++ b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-1-4.js
@@ -0,0 +1,40 @@
+/// Copyright (c) 2009 Microsoft Corporation
+///
+/// Redistribution and use in source and binary forms, with or without modification, are permitted provided
+/// that the following conditions are met:
+/// * Redistributions of source code must retain the above copyright notice, this list of conditions and
+/// the following disclaimer.
+/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
+/// the following disclaimer in the documentation and/or other materials provided with the distribution.
+/// * Neither the name of Microsoft nor the names of its contributors may be used to
+/// endorse or promote products derived from this software without specific prior written permission.
+///
+/// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
+/// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+/// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
+/// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+/// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+/// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+/// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+/// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+ES5Harness.registerTest({
+ id: "15.2.3.12-1-4",
+
+ path: "TestCases/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-1-4.js",
+
+ description: "Object.isFrozen - TypeError is thrown when the first param 'O' is a string",
+
+ test: function testcase() {
+ try {
+ Object.isFrozen("abc");
+ } catch (e) {
+ return (e instanceof TypeError);
+ }
+ },
+
+ precondition: function prereq() {
+ return fnExists(Object.isFrozen);
+ }
+});
diff --git a/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-1-5.js b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-1-5.js
new file mode 100644
index 000000000..0e1ee82b1
--- /dev/null
+++ b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-1-5.js
@@ -0,0 +1,37 @@
+/// Copyright (c) 2009 Microsoft Corporation
+///
+/// Redistribution and use in source and binary forms, with or without modification, are permitted provided
+/// that the following conditions are met:
+/// * Redistributions of source code must retain the above copyright notice, this list of conditions and
+/// the following disclaimer.
+/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
+/// the following disclaimer in the documentation and/or other materials provided with the distribution.
+/// * Neither the name of Microsoft nor the names of its contributors may be used to
+/// endorse or promote products derived from this software without specific prior written permission.
+///
+/// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
+/// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+/// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
+/// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+/// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+/// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+/// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+/// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+ES5Harness.registerTest({
+ id: "15.2.3.12-1-5",
+
+ path: "TestCases/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-1-5.js",
+
+ description: "Object.isFrozen applies to dense array",
+
+ test: function testcase() {
+ var obj = Object.freeze([0, 1, 2]);
+ return Object.isFrozen(obj);
+ },
+
+ precondition: function prereq() {
+ return fnExists(Object.isFrozen) && fnExists(Object.freeze);
+ }
+});
diff --git a/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-1-6.js b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-1-6.js
new file mode 100644
index 000000000..4c5544aa0
--- /dev/null
+++ b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-1-6.js
@@ -0,0 +1,40 @@
+/// Copyright (c) 2009 Microsoft Corporation
+///
+/// Redistribution and use in source and binary forms, with or without modification, are permitted provided
+/// that the following conditions are met:
+/// * Redistributions of source code must retain the above copyright notice, this list of conditions and
+/// the following disclaimer.
+/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
+/// the following disclaimer in the documentation and/or other materials provided with the distribution.
+/// * Neither the name of Microsoft nor the names of its contributors may be used to
+/// endorse or promote products derived from this software without specific prior written permission.
+///
+/// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
+/// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+/// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
+/// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+/// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+/// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+/// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+/// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+ES5Harness.registerTest({
+ id: "15.2.3.12-1-6",
+
+ path: "TestCases/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-1-6.js",
+
+ description: "Object.isFrozen applies to sparse array",
+
+ test: function testcase() {
+ var sparseArr = [0, 1];
+ sparseArr[10000] = 10000;
+
+ sparseArr = Object.freeze(sparseArr);
+ return Object.isFrozen(sparseArr);
+ },
+
+ precondition: function prereq() {
+ return fnExists(Object.isFrozen) && fnExists(Object.freeze);
+ }
+});
diff --git a/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-1-7.js b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-1-7.js
new file mode 100644
index 000000000..780889d34
--- /dev/null
+++ b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-1-7.js
@@ -0,0 +1,37 @@
+/// Copyright (c) 2009 Microsoft Corporation
+///
+/// Redistribution and use in source and binary forms, with or without modification, are permitted provided
+/// that the following conditions are met:
+/// * Redistributions of source code must retain the above copyright notice, this list of conditions and
+/// the following disclaimer.
+/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
+/// the following disclaimer in the documentation and/or other materials provided with the distribution.
+/// * Neither the name of Microsoft nor the names of its contributors may be used to
+/// endorse or promote products derived from this software without specific prior written permission.
+///
+/// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
+/// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+/// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
+/// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+/// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+/// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+/// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+/// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+ES5Harness.registerTest({
+ id: "15.2.3.12-1-7",
+
+ path: "TestCases/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-1-7.js",
+
+ description: "Object.isFrozen applies to non-array object which contains index named properties",
+
+ test: function testcase() {
+ var obj = Object.freeze({ 0: 0, 1: 1, 1000: 1000 });
+ return Object.isFrozen(obj);
+ },
+
+ precondition: function prereq() {
+ return fnExists(Object.isFrozen) && fnExists(Object.freeze);
+ }
+});
diff --git a/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-1.js b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-1.js
new file mode 100644
index 000000000..405247898
--- /dev/null
+++ b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-1.js
@@ -0,0 +1,43 @@
+/// Copyright (c) 2009 Microsoft Corporation
+///
+/// Redistribution and use in source and binary forms, with or without modification, are permitted provided
+/// that the following conditions are met:
+/// * Redistributions of source code must retain the above copyright notice, this list of conditions and
+/// the following disclaimer.
+/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
+/// the following disclaimer in the documentation and/or other materials provided with the distribution.
+/// * Neither the name of Microsoft nor the names of its contributors may be used to
+/// endorse or promote products derived from this software without specific prior written permission.
+///
+/// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
+/// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+/// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
+/// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+/// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+/// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+/// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+/// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+ES5Harness.registerTest( {
+id: "15.2.3.12-1",
+
+path: "TestCases/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-1.js",
+
+description: "Object.isFrozen throws TypeError if type of first param is not Object",
+
+test: function testcase() {
+ try {
+ Object.isFrozen(0);
+ }
+ catch (e) {
+ if (e instanceof TypeError) {
+ return true;
+ }
+ }
+ },
+
+precondition: function prereq() {
+ return fnExists(Object.isFrozen);
+ }
+});
diff --git a/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-1.js b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-1.js
new file mode 100644
index 000000000..76c4bcd1a
--- /dev/null
+++ b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-1.js
@@ -0,0 +1,54 @@
+/// Copyright (c) 2009 Microsoft Corporation
+///
+/// Redistribution and use in source and binary forms, with or without modification, are permitted provided
+/// that the following conditions are met:
+/// * Redistributions of source code must retain the above copyright notice, this list of conditions and
+/// the following disclaimer.
+/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
+/// the following disclaimer in the documentation and/or other materials provided with the distribution.
+/// * Neither the name of Microsoft nor the names of its contributors may be used to
+/// endorse or promote products derived from this software without specific prior written permission.
+///
+/// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
+/// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+/// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
+/// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+/// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+/// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+/// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+/// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+ES5Harness.registerTest({
+
+ id: "15.2.3.12-2-1",
+
+ path: "TestCases/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-1.js",
+
+ description: "Object.isFrozen - inherited data property is not considered into the for each loop",
+
+ test: function testcase() {
+
+ var proto = {};
+ Object.defineProperty(proto, "Father", {
+ value: 10,
+ writable: false,
+ configurable: true
+ });
+
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var child = new Con();
+
+ Object.preventExtensions(child);
+
+ return Object.isFrozen(child);
+
+ },
+
+ precondition: function prereq() {
+ return fnExists(Object.isFrozen) && fnExists(Object.preventExtensions) && fnExists(Object.defineProperty);
+ }
+});
+
diff --git a/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-2.js b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-2.js
new file mode 100644
index 000000000..e78e99e56
--- /dev/null
+++ b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-2.js
@@ -0,0 +1,60 @@
+/// Copyright (c) 2009 Microsoft Corporation
+///
+/// Redistribution and use in source and binary forms, with or without modification, are permitted provided
+/// that the following conditions are met:
+/// * Redistributions of source code must retain the above copyright notice, this list of conditions and
+/// the following disclaimer.
+/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
+/// the following disclaimer in the documentation and/or other materials provided with the distribution.
+/// * Neither the name of Microsoft nor the names of its contributors may be used to
+/// endorse or promote products derived from this software without specific prior written permission.
+///
+/// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
+/// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+/// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
+/// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+/// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+/// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+/// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+/// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+ES5Harness.registerTest({
+
+ id: "15.2.3.12-2-2",
+
+ path: "TestCases/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-2.js",
+
+ description: "Object.isFrozen - inherited accessor property is not considered into the for each loop",
+
+ test: function testcase() {
+
+ var proto = {};
+
+ function get_func() {
+ return 10;
+ }
+ function set_func() { }
+
+ Object.defineProperty(proto, "Father", {
+ get: get_func,
+ set: set_func,
+ configurable: true
+ });
+
+ var Con = function () { };
+ Con.prototype = proto;
+
+ var child = new Con();
+
+ Object.preventExtensions(child);
+
+ return Object.isFrozen(child);
+
+ },
+
+ precondition: function prereq() {
+ return fnExists(Object.isFrozen) && fnExists(Object.preventExtensions) && fnExists(Object.defineProperty);
+ }
+});
+
diff --git a/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-a-1.js b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-a-1.js
new file mode 100644
index 000000000..f9ecb3b67
--- /dev/null
+++ b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-a-1.js
@@ -0,0 +1,47 @@
+/// Copyright (c) 2009 Microsoft Corporation
+///
+/// Redistribution and use in source and binary forms, with or without modification, are permitted provided
+/// that the following conditions are met:
+/// * Redistributions of source code must retain the above copyright notice, this list of conditions and
+/// the following disclaimer.
+/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
+/// the following disclaimer in the documentation and/or other materials provided with the distribution.
+/// * Neither the name of Microsoft nor the names of its contributors may be used to
+/// endorse or promote products derived from this software without specific prior written permission.
+///
+/// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
+/// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+/// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
+/// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+/// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+/// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+/// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+/// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+ES5Harness.registerTest({
+ id: "15.2.3.12-2-a-1",
+
+ path: "TestCases/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-a-1.js",
+
+ description: "Object.isFrozen - 'P' is own data property",
+
+ test: function testcase() {
+
+ var obj = {};
+
+ Object.defineProperty(obj, "foo", {
+ value: 12,
+ writable: true,
+ configurable: false
+ });
+
+ Object.preventExtensions(obj);
+
+ return !Object.isFrozen(obj);
+ },
+
+ precondition: function prereq() {
+ return fnExists(Object.isFrozen) && fnExists(Object.defineProperty) && fnExists(Object.preventExtensions);
+ }
+});
diff --git a/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-a-11.js b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-a-11.js
new file mode 100644
index 000000000..4702fa5ff
--- /dev/null
+++ b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-a-11.js
@@ -0,0 +1,44 @@
+/// Copyright (c) 2009 Microsoft Corporation
+///
+/// Redistribution and use in source and binary forms, with or without modification, are permitted provided
+/// that the following conditions are met:
+/// * Redistributions of source code must retain the above copyright notice, this list of conditions and
+/// the following disclaimer.
+/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
+/// the following disclaimer in the documentation and/or other materials provided with the distribution.
+/// * Neither the name of Microsoft nor the names of its contributors may be used to
+/// endorse or promote products derived from this software without specific prior written permission.
+///
+/// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
+/// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+/// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
+/// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+/// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+/// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+/// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+/// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+ES5Harness.registerTest({
+ id: "15.2.3.12-2-a-11",
+
+ path: "TestCases/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-a-11.js",
+
+ description: "Object.isFrozen - 'O' is the Arguments object",
+
+ test: function testcase() {
+
+ var arg;
+
+ (function fun() {
+ arg = arguments;
+ }(1, 2, 3));
+
+ Object.preventExtensions(arg);
+ return !Object.isFrozen(arg);
+ },
+
+ precondition: function prereq() {
+ return fnExists(Object.isFrozen) && fnExists(Object.preventExtensions);
+ }
+});
diff --git a/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-a-12.js b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-a-12.js
new file mode 100644
index 000000000..2be2febfb
--- /dev/null
+++ b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-a-12.js
@@ -0,0 +1,43 @@
+/// Copyright (c) 2009 Microsoft Corporation
+///
+/// Redistribution and use in source and binary forms, with or without modification, are permitted provided
+/// that the following conditions are met:
+/// * Redistributions of source code must retain the above copyright notice, this list of conditions and
+/// the following disclaimer.
+/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
+/// the following disclaimer in the documentation and/or other materials provided with the distribution.
+/// * Neither the name of Microsoft nor the names of its contributors may be used to
+/// endorse or promote products derived from this software without specific prior written permission.
+///
+/// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
+/// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+/// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
+/// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+/// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+/// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+/// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+/// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+ES5Harness.registerTest({
+ id: "15.2.3.12-2-a-12",
+
+ path: "TestCases/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-a-12.js",
+
+ description: "Object.isFrozen - 'O' is a String object",
+
+ test: function testcase() {
+
+ var obj = new String("abc");
+
+ obj.len = 100;
+
+ Object.preventExtensions(obj);
+
+ return !Object.isFrozen(obj);
+ },
+
+ precondition: function prereq() {
+ return fnExists(Object.isFrozen) && fnExists(Object.preventExtensions);
+ }
+});
diff --git a/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-a-13.js b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-a-13.js
new file mode 100644
index 000000000..6133f482d
--- /dev/null
+++ b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-a-13.js
@@ -0,0 +1,47 @@
+/// Copyright (c) 2009 Microsoft Corporation
+///
+/// Redistribution and use in source and binary forms, with or without modification, are permitted provided
+/// that the following conditions are met:
+/// * Redistributions of source code must retain the above copyright notice, this list of conditions and
+/// the following disclaimer.
+/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
+/// the following disclaimer in the documentation and/or other materials provided with the distribution.
+/// * Neither the name of Microsoft nor the names of its contributors may be used to
+/// endorse or promote products derived from this software without specific prior written permission.
+///
+/// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
+/// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+/// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
+/// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+/// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+/// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+/// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+/// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+ES5Harness.registerTest({
+ id: "15.2.3.12-2-a-13",
+
+ path: "TestCases/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-a-13.js",
+
+ description: "Object.isFrozen - 'O' is a Function object",
+
+ test: function testcase() {
+
+ var obj = function () { };
+
+ Object.defineProperty(obj, "property", {
+ value: 12,
+ writable: true,
+ configurable: false
+ });
+
+ Object.preventExtensions(obj);
+
+ return !Object.isFrozen(obj);
+ },
+
+ precondition: function prereq() {
+ return fnExists(Object.isFrozen) && fnExists(Object.preventExtensions) && fnExists(Object.defineProperty);
+ }
+});
diff --git a/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-a-14.js b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-a-14.js
new file mode 100644
index 000000000..76be80885
--- /dev/null
+++ b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-a-14.js
@@ -0,0 +1,42 @@
+/// Copyright (c) 2009 Microsoft Corporation
+///
+/// Redistribution and use in source and binary forms, with or without modification, are permitted provided
+/// that the following conditions are met:
+/// * Redistributions of source code must retain the above copyright notice, this list of conditions and
+/// the following disclaimer.
+/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
+/// the following disclaimer in the documentation and/or other materials provided with the distribution.
+/// * Neither the name of Microsoft nor the names of its contributors may be used to
+/// endorse or promote products derived from this software without specific prior written permission.
+///
+/// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
+/// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+/// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
+/// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+/// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+/// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+/// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+/// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+ES5Harness.registerTest({
+ id: "15.2.3.12-2-a-14",
+
+ path: "TestCases/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-a-14.js",
+
+ description: "Object.isFrozen - 'O' is an Array object",
+
+ test: function testcase() {
+
+ var obj = [2];
+ obj.len = 200;
+
+ Object.preventExtensions(obj);
+
+ return !Object.isFrozen(obj);
+ },
+
+ precondition: function prereq() {
+ return fnExists(Object.isFrozen) && fnExists(Object.preventExtensions);
+ }
+});
diff --git a/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-a-2.js b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-a-2.js
new file mode 100644
index 000000000..88d750caa
--- /dev/null
+++ b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-a-2.js
@@ -0,0 +1,56 @@
+/// Copyright (c) 2009 Microsoft Corporation
+///
+/// Redistribution and use in source and binary forms, with or without modification, are permitted provided
+/// that the following conditions are met:
+/// * Redistributions of source code must retain the above copyright notice, this list of conditions and
+/// the following disclaimer.
+/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
+/// the following disclaimer in the documentation and/or other materials provided with the distribution.
+/// * Neither the name of Microsoft nor the names of its contributors may be used to
+/// endorse or promote products derived from this software without specific prior written permission.
+///
+/// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
+/// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+/// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
+/// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+/// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+/// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+/// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+/// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+ES5Harness.registerTest({
+ id: "15.2.3.12-2-a-2",
+
+ path: "TestCases/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-a-2.js",
+
+ description: "Object.isFrozen - 'P' is own data property that overrides an inherited data property",
+
+ test: function testcase() {
+
+ var proto = {};
+
+ Object.defineProperty(proto, "foo", {
+ value: 9,
+ writable: false,
+ configurable: false
+ });
+
+ var Con = function () { };
+ Con.prototype = proto;
+ var child = new Con();
+
+ Object.defineProperty(child, "foo", {
+ value: 12,
+ writable: true,
+ configurable: false
+ });
+
+ Object.preventExtensions(child);
+ return !Object.isFrozen(child);
+ },
+
+ precondition: function prereq() {
+ return fnExists(Object.isFrozen) && fnExists(Object.defineProperty) && fnExists(Object.preventExtensions);
+ }
+});
diff --git a/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-a-3.js b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-a-3.js
new file mode 100644
index 000000000..387273712
--- /dev/null
+++ b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-a-3.js
@@ -0,0 +1,57 @@
+/// Copyright (c) 2009 Microsoft Corporation
+///
+/// Redistribution and use in source and binary forms, with or without modification, are permitted provided
+/// that the following conditions are met:
+/// * Redistributions of source code must retain the above copyright notice, this list of conditions and
+/// the following disclaimer.
+/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
+/// the following disclaimer in the documentation and/or other materials provided with the distribution.
+/// * Neither the name of Microsoft nor the names of its contributors may be used to
+/// endorse or promote products derived from this software without specific prior written permission.
+///
+/// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
+/// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+/// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
+/// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+/// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+/// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+/// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+/// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+ES5Harness.registerTest({
+ id: "15.2.3.12-2-a-3",
+
+ path: "TestCases/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-a-3.js",
+
+ description: "Object.isFrozen - 'P' is own data property that overrides an inherited accessor property",
+
+ test: function testcase() {
+
+ var proto = {};
+
+ Object.defineProperty(proto, "foo", {
+ get: function () {
+ return 9;
+ },
+ configurable: false
+ });
+
+ var Con = function () { };
+ Con.prototype = proto;
+ var child = new Con();
+
+
+ Object.defineProperty(child, "foo", {
+ value: 12,
+ configurable: true
+ });
+
+ Object.preventExtensions(child);
+ return !Object.isFrozen(child);
+ },
+
+ precondition: function prereq() {
+ return fnExists(Object.isFrozen) && fnExists(Object.defineProperty) && fnExists(Object.preventExtensions);
+ }
+});
diff --git a/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-a-4.js b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-a-4.js
new file mode 100644
index 000000000..d8e400b55
--- /dev/null
+++ b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-a-4.js
@@ -0,0 +1,46 @@
+/// Copyright (c) 2009 Microsoft Corporation
+///
+/// Redistribution and use in source and binary forms, with or without modification, are permitted provided
+/// that the following conditions are met:
+/// * Redistributions of source code must retain the above copyright notice, this list of conditions and
+/// the following disclaimer.
+/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
+/// the following disclaimer in the documentation and/or other materials provided with the distribution.
+/// * Neither the name of Microsoft nor the names of its contributors may be used to
+/// endorse or promote products derived from this software without specific prior written permission.
+///
+/// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
+/// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+/// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
+/// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+/// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+/// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+/// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+/// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+ES5Harness.registerTest({
+ id: "15.2.3.12-2-a-4",
+
+ path: "TestCases/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-a-4.js",
+
+ description: "Object.isFrozen - 'P' is own accessor property",
+
+ test: function testcase() {
+
+ var obj = {};
+ Object.defineProperty(obj, "foo", {
+ get: function () {
+ return 9;
+ },
+ configurable: true
+ });
+
+ Object.preventExtensions(obj);
+ return !Object.isFrozen(obj);
+ },
+
+ precondition: function prereq() {
+ return fnExists(Object.isFrozen) && fnExists(Object.defineProperty) && fnExists(Object.preventExtensions);
+ }
+});
diff --git a/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-a-5.js b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-a-5.js
new file mode 100644
index 000000000..dc6929d2d
--- /dev/null
+++ b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-a-5.js
@@ -0,0 +1,56 @@
+/// Copyright (c) 2009 Microsoft Corporation
+///
+/// Redistribution and use in source and binary forms, with or without modification, are permitted provided
+/// that the following conditions are met:
+/// * Redistributions of source code must retain the above copyright notice, this list of conditions and
+/// the following disclaimer.
+/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
+/// the following disclaimer in the documentation and/or other materials provided with the distribution.
+/// * Neither the name of Microsoft nor the names of its contributors may be used to
+/// endorse or promote products derived from this software without specific prior written permission.
+///
+/// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
+/// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+/// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
+/// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+/// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+/// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+/// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+/// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+ES5Harness.registerTest({
+ id: "15.2.3.12-2-a-5",
+
+ path: "TestCases/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-a-5.js",
+
+ description: "Object.isFrozen - 'P' is own accessor property that overrides an inherited data property",
+
+ test: function testcase() {
+
+ var proto = {};
+
+ Object.defineProperty(proto, "foo", {
+ value: 12,
+ configurable: false
+ });
+
+ var Con = function () { };
+ Con.prototype = proto;
+ var child = new Con();
+
+ Object.defineProperty(child, "foo", {
+ get: function () {
+ return 9;
+ },
+ configurable: true
+ });
+
+ Object.preventExtensions(child);
+ return !Object.isFrozen(child);
+ },
+
+ precondition: function prereq() {
+ return fnExists(Object.isFrozen) && fnExists(Object.defineProperty) && fnExists(Object.preventExtensions);
+ }
+});
diff --git a/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-a-6.js b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-a-6.js
new file mode 100644
index 000000000..e83d6093a
--- /dev/null
+++ b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-a-6.js
@@ -0,0 +1,59 @@
+/// Copyright (c) 2009 Microsoft Corporation
+///
+/// Redistribution and use in source and binary forms, with or without modification, are permitted provided
+/// that the following conditions are met:
+/// * Redistributions of source code must retain the above copyright notice, this list of conditions and
+/// the following disclaimer.
+/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
+/// the following disclaimer in the documentation and/or other materials provided with the distribution.
+/// * Neither the name of Microsoft nor the names of its contributors may be used to
+/// endorse or promote products derived from this software without specific prior written permission.
+///
+/// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
+/// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+/// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
+/// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+/// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+/// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+/// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+/// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+ES5Harness.registerTest({
+ id: "15.2.3.12-2-a-6",
+
+ path: "TestCases/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-a-6.js",
+
+ description: "Object.isFrozen - 'P' is own accessor property that overrides an inherited accessor property",
+
+ test: function testcase() {
+
+ var proto = {};
+
+ Object.defineProperty(proto, "foo", {
+ get: function () {
+ return 12;
+ },
+ configurable: false
+ });
+
+ var Con = function () { };
+ Con.prototype = proto;
+ var child = new Con();
+
+
+ Object.defineProperty(child, "foo", {
+ get: function () {
+ return 9;
+ },
+ configurable: true
+ });
+
+ Object.preventExtensions(child);
+ return !Object.isFrozen(child);
+ },
+
+ precondition: function prereq() {
+ return fnExists(Object.isFrozen) && fnExists(Object.defineProperty) && fnExists(Object.preventExtensions);
+ }
+});
diff --git a/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-a-7.js b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-a-7.js
new file mode 100644
index 000000000..f8ba0389f
--- /dev/null
+++ b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-a-7.js
@@ -0,0 +1,44 @@
+/// Copyright (c) 2009 Microsoft Corporation
+///
+/// Redistribution and use in source and binary forms, with or without modification, are permitted provided
+/// that the following conditions are met:
+/// * Redistributions of source code must retain the above copyright notice, this list of conditions and
+/// the following disclaimer.
+/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
+/// the following disclaimer in the documentation and/or other materials provided with the distribution.
+/// * Neither the name of Microsoft nor the names of its contributors may be used to
+/// endorse or promote products derived from this software without specific prior written permission.
+///
+/// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
+/// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+/// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
+/// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+/// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+/// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+/// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+/// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+ES5Harness.registerTest({
+ id: "15.2.3.12-2-a-7",
+
+ path: "TestCases/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-a-7.js",
+
+ description: "Object.isFrozen - 'P' is own accessor property without a get function",
+
+ test: function testcase() {
+
+ var obj = {};
+ Object.defineProperty(obj, "foo", {
+ set: function () { },
+ configurable: true
+ });
+
+ Object.preventExtensions(obj);
+ return !Object.isFrozen(obj);
+ },
+
+ precondition: function prereq() {
+ return fnExists(Object.isFrozen) && fnExists(Object.defineProperty) && fnExists(Object.preventExtensions);
+ }
+});
diff --git a/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-a-8.js b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-a-8.js
new file mode 100644
index 000000000..fc62e4370
--- /dev/null
+++ b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-a-8.js
@@ -0,0 +1,56 @@
+/// Copyright (c) 2009 Microsoft Corporation
+///
+/// Redistribution and use in source and binary forms, with or without modification, are permitted provided
+/// that the following conditions are met:
+/// * Redistributions of source code must retain the above copyright notice, this list of conditions and
+/// the following disclaimer.
+/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
+/// the following disclaimer in the documentation and/or other materials provided with the distribution.
+/// * Neither the name of Microsoft nor the names of its contributors may be used to
+/// endorse or promote products derived from this software without specific prior written permission.
+///
+/// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
+/// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+/// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
+/// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+/// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+/// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+/// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+/// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+ES5Harness.registerTest({
+ id: "15.2.3.12-2-a-8",
+
+ path: "TestCases/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-a-8.js",
+
+ description: "Object.isFrozen - 'P' is own accessor property without a get function that overrides an inherited accessor property",
+
+ test: function testcase() {
+
+ var proto = {};
+
+ Object.defineProperty(proto, "foo", {
+ get: function () {
+ return 9;
+ },
+ configurable: false
+ });
+
+ var Con = function () { };
+ Con.prototype = proto;
+ var child = new Con();
+
+ Object.defineProperty(child, "foo", {
+ set: function () { },
+ configurable: true
+ });
+
+ Object.preventExtensions(child);
+ return !Object.isFrozen(child);
+ },
+
+ precondition: function prereq() {
+ return fnExists(Object.isFrozen) && fnExists(Object.defineProperty) && fnExists(Object.preventExtensions);
+ }
+});
diff --git a/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-b-i-1.js b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-b-i-1.js
new file mode 100644
index 000000000..9e35f9fcf
--- /dev/null
+++ b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-b-i-1.js
@@ -0,0 +1,47 @@
+/// Copyright (c) 2009 Microsoft Corporation
+///
+/// Redistribution and use in source and binary forms, with or without modification, are permitted provided
+/// that the following conditions are met:
+/// * Redistributions of source code must retain the above copyright notice, this list of conditions and
+/// the following disclaimer.
+/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
+/// the following disclaimer in the documentation and/or other materials provided with the distribution.
+/// * Neither the name of Microsoft nor the names of its contributors may be used to
+/// endorse or promote products derived from this software without specific prior written permission.
+///
+/// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
+/// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+/// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
+/// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+/// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+/// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+/// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+/// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+ES5Harness.registerTest({
+
+ id: "15.2.3.12-2-b-i-1",
+
+ path: "TestCases/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-b-i-1.js",
+
+ description: "Object.isFrozen returns false if 'O' contains own writable data property",
+
+ test: function testcase() {
+
+ var obj = {};
+ Object.defineProperty(obj, "foo", {
+ value: 20,
+ writable: true,
+ configurable: false
+ });
+ Object.preventExtensions(obj);
+ return !Object.isFrozen(obj);
+
+ },
+
+ precondition: function prereq() {
+ return fnExists(Object.isFrozen) && fnExists(Object.defineProperty) && fnExists(Object.preventExtensions);
+ }
+});
+
diff --git a/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-c-1.js b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-c-1.js
new file mode 100644
index 000000000..29ab42cc5
--- /dev/null
+++ b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-c-1.js
@@ -0,0 +1,48 @@
+/// Copyright (c) 2009 Microsoft Corporation
+///
+/// Redistribution and use in source and binary forms, with or without modification, are permitted provided
+/// that the following conditions are met:
+/// * Redistributions of source code must retain the above copyright notice, this list of conditions and
+/// the following disclaimer.
+/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
+/// the following disclaimer in the documentation and/or other materials provided with the distribution.
+/// * Neither the name of Microsoft nor the names of its contributors may be used to
+/// endorse or promote products derived from this software without specific prior written permission.
+///
+/// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
+/// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+/// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
+/// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+/// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+/// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+/// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+/// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+ES5Harness.registerTest({
+
+ id: "15.2.3.12-2-c-1",
+
+ path: "TestCases/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-c-1.js",
+
+ description: "Object.isFrozen returns false if 'O' contains own configurable data property",
+
+ test: function testcase() {
+
+ var obj = {};
+ Object.defineProperty(obj, "foo", {
+ value: 20,
+ writable: false,
+ configurable: true
+ });
+
+ Object.preventExtensions(obj);
+ return !Object.isFrozen(obj);
+
+ },
+
+ precondition: function prereq() {
+ return fnExists(Object.isFrozen) && fnExists(Object.defineProperty) && fnExists(Object.preventExtensions);
+ }
+});
+
diff --git a/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-c-2.js b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-c-2.js
new file mode 100644
index 000000000..e6c9cfdf9
--- /dev/null
+++ b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-c-2.js
@@ -0,0 +1,54 @@
+/// Copyright (c) 2009 Microsoft Corporation
+///
+/// Redistribution and use in source and binary forms, with or without modification, are permitted provided
+/// that the following conditions are met:
+/// * Redistributions of source code must retain the above copyright notice, this list of conditions and
+/// the following disclaimer.
+/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
+/// the following disclaimer in the documentation and/or other materials provided with the distribution.
+/// * Neither the name of Microsoft nor the names of its contributors may be used to
+/// endorse or promote products derived from this software without specific prior written permission.
+///
+/// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
+/// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+/// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
+/// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+/// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+/// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+/// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+/// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+ES5Harness.registerTest({
+
+ id: "15.2.3.12-2-c-2",
+
+ path: "TestCases/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-2-c-2.js",
+
+ description: "Object.isFrozen returns false if 'O' contains own configurable accessor property",
+
+ test: function testcase() {
+
+ var obj = {};
+
+ function get_func() {
+ return 10;
+ }
+ function set_func() { }
+
+ Object.defineProperty(obj, "foo", {
+ get: get_func,
+ set: set_func,
+ configurable: true
+ });
+
+ Object.preventExtensions(obj);
+ return !Object.isFrozen(obj);
+
+ },
+
+ precondition: function prereq() {
+ return fnExists(Object.isFrozen) && fnExists(Object.defineProperty) && fnExists(Object.preventExtensions);
+ }
+});
+
diff --git a/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-1.js b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-1.js
new file mode 100644
index 000000000..8c717c011
--- /dev/null
+++ b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-1.js
@@ -0,0 +1,41 @@
+/// Copyright (c) 2009 Microsoft Corporation
+///
+/// Redistribution and use in source and binary forms, with or without modification, are permitted provided
+/// that the following conditions are met:
+/// * Redistributions of source code must retain the above copyright notice, this list of conditions and
+/// the following disclaimer.
+/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
+/// the following disclaimer in the documentation and/or other materials provided with the distribution.
+/// * Neither the name of Microsoft nor the names of its contributors may be used to
+/// endorse or promote products derived from this software without specific prior written permission.
+///
+/// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
+/// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+/// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
+/// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+/// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+/// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+/// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+/// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+ES5Harness.registerTest( {
+id: "15.2.3.12-3-1",
+
+path: "TestCases/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-1.js",
+
+description: "Object.isFrozen returns false for all built-in objects (Global)",
+
+test: function testcase() {
+ // in non-strict mode, 'this' is bound to the global object.
+ var b = Object.isFrozen(this);
+ if (b === false) {
+ return true;
+ }
+ },
+
+precondition: function prereq() {
+ return fnExists(Object.isFrozen);
+ }
+
+});
diff --git a/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-10.js b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-10.js
new file mode 100644
index 000000000..387d34ab2
--- /dev/null
+++ b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-10.js
@@ -0,0 +1,40 @@
+/// Copyright (c) 2009 Microsoft Corporation
+///
+/// Redistribution and use in source and binary forms, with or without modification, are permitted provided
+/// that the following conditions are met:
+/// * Redistributions of source code must retain the above copyright notice, this list of conditions and
+/// the following disclaimer.
+/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
+/// the following disclaimer in the documentation and/or other materials provided with the distribution.
+/// * Neither the name of Microsoft nor the names of its contributors may be used to
+/// endorse or promote products derived from this software without specific prior written permission.
+///
+/// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
+/// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+/// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
+/// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+/// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+/// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+/// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+/// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+ES5Harness.registerTest( {
+id: "15.2.3.12-3-10",
+
+path: "TestCases/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-10.js",
+
+description: "Object.isFrozen returns false for all built-in objects (Boolean)",
+
+test: function testcase() {
+ var b = Object.isFrozen(Boolean);
+ if (b === false) {
+ return true;
+ }
+ },
+
+precondition: function prereq() {
+ return fnExists(Object.isFrozen);
+ }
+
+});
diff --git a/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-11.js b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-11.js
new file mode 100644
index 000000000..8e1ec0049
--- /dev/null
+++ b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-11.js
@@ -0,0 +1,40 @@
+/// Copyright (c) 2009 Microsoft Corporation
+///
+/// Redistribution and use in source and binary forms, with or without modification, are permitted provided
+/// that the following conditions are met:
+/// * Redistributions of source code must retain the above copyright notice, this list of conditions and
+/// the following disclaimer.
+/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
+/// the following disclaimer in the documentation and/or other materials provided with the distribution.
+/// * Neither the name of Microsoft nor the names of its contributors may be used to
+/// endorse or promote products derived from this software without specific prior written permission.
+///
+/// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
+/// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+/// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
+/// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+/// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+/// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+/// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+/// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+ES5Harness.registerTest( {
+id: "15.2.3.12-3-11",
+
+path: "TestCases/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-11.js",
+
+description: "Object.isFrozen returns false for all built-in objects (Boolean.prototype)",
+
+test: function testcase() {
+ var b = Object.isFrozen(Boolean.prototype);
+ if (b === false) {
+ return true;
+ }
+ },
+
+precondition: function prereq() {
+ return fnExists(Object.isFrozen);
+ }
+
+});
diff --git a/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-12.js b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-12.js
new file mode 100644
index 000000000..96bf60728
--- /dev/null
+++ b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-12.js
@@ -0,0 +1,40 @@
+/// Copyright (c) 2009 Microsoft Corporation
+///
+/// Redistribution and use in source and binary forms, with or without modification, are permitted provided
+/// that the following conditions are met:
+/// * Redistributions of source code must retain the above copyright notice, this list of conditions and
+/// the following disclaimer.
+/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
+/// the following disclaimer in the documentation and/or other materials provided with the distribution.
+/// * Neither the name of Microsoft nor the names of its contributors may be used to
+/// endorse or promote products derived from this software without specific prior written permission.
+///
+/// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
+/// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+/// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
+/// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+/// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+/// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+/// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+/// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+ES5Harness.registerTest( {
+id: "15.2.3.12-3-12",
+
+path: "TestCases/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-12.js",
+
+description: "Object.isFrozen returns false for all built-in objects (Number)",
+
+test: function testcase() {
+ var b = Object.isFrozen(Number);
+ if (b === false) {
+ return true;
+ }
+ },
+
+precondition: function prereq() {
+ return fnExists(Object.isFrozen);
+ }
+
+});
diff --git a/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-13.js b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-13.js
new file mode 100644
index 000000000..453e18143
--- /dev/null
+++ b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-13.js
@@ -0,0 +1,40 @@
+/// Copyright (c) 2009 Microsoft Corporation
+///
+/// Redistribution and use in source and binary forms, with or without modification, are permitted provided
+/// that the following conditions are met:
+/// * Redistributions of source code must retain the above copyright notice, this list of conditions and
+/// the following disclaimer.
+/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
+/// the following disclaimer in the documentation and/or other materials provided with the distribution.
+/// * Neither the name of Microsoft nor the names of its contributors may be used to
+/// endorse or promote products derived from this software without specific prior written permission.
+///
+/// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
+/// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+/// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
+/// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+/// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+/// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+/// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+/// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+ES5Harness.registerTest( {
+id: "15.2.3.12-3-13",
+
+path: "TestCases/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-13.js",
+
+description: "Object.isFrozen returns false for all built-in objects (Number.prototype)",
+
+test: function testcase() {
+ var b = Object.isFrozen(Number.prototype);
+ if (b === false) {
+ return true;
+ }
+ },
+
+precondition: function prereq() {
+ return fnExists(Object.isFrozen);
+ }
+
+});
diff --git a/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-14.js b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-14.js
new file mode 100644
index 000000000..c0d0a0f7d
--- /dev/null
+++ b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-14.js
@@ -0,0 +1,40 @@
+/// Copyright (c) 2009 Microsoft Corporation
+///
+/// Redistribution and use in source and binary forms, with or without modification, are permitted provided
+/// that the following conditions are met:
+/// * Redistributions of source code must retain the above copyright notice, this list of conditions and
+/// the following disclaimer.
+/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
+/// the following disclaimer in the documentation and/or other materials provided with the distribution.
+/// * Neither the name of Microsoft nor the names of its contributors may be used to
+/// endorse or promote products derived from this software without specific prior written permission.
+///
+/// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
+/// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+/// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
+/// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+/// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+/// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+/// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+/// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+ES5Harness.registerTest( {
+id: "15.2.3.12-3-14",
+
+path: "TestCases/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-14.js",
+
+description: "Object.isFrozen returns false for all built-in objects (Math)",
+
+test: function testcase() {
+ var b = Object.isFrozen(Math);
+ if (b === false) {
+ return true;
+ }
+ },
+
+precondition: function prereq() {
+ return fnExists(Object.isFrozen);
+ }
+
+});
diff --git a/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-15.js b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-15.js
new file mode 100644
index 000000000..e15c28320
--- /dev/null
+++ b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-15.js
@@ -0,0 +1,40 @@
+/// Copyright (c) 2009 Microsoft Corporation
+///
+/// Redistribution and use in source and binary forms, with or without modification, are permitted provided
+/// that the following conditions are met:
+/// * Redistributions of source code must retain the above copyright notice, this list of conditions and
+/// the following disclaimer.
+/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
+/// the following disclaimer in the documentation and/or other materials provided with the distribution.
+/// * Neither the name of Microsoft nor the names of its contributors may be used to
+/// endorse or promote products derived from this software without specific prior written permission.
+///
+/// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
+/// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+/// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
+/// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+/// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+/// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+/// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+/// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+ES5Harness.registerTest( {
+id: "15.2.3.12-3-15",
+
+path: "TestCases/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-15.js",
+
+description: "Object.isFrozen returns false for all built-in objects (Date)",
+
+test: function testcase() {
+ var b = Object.isFrozen(Date);
+ if (b === false) {
+ return true;
+ }
+ },
+
+precondition: function prereq() {
+ return fnExists(Object.isFrozen);
+ }
+
+});
diff --git a/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-16.js b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-16.js
new file mode 100644
index 000000000..9abf3dc41
--- /dev/null
+++ b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-16.js
@@ -0,0 +1,40 @@
+/// Copyright (c) 2009 Microsoft Corporation
+///
+/// Redistribution and use in source and binary forms, with or without modification, are permitted provided
+/// that the following conditions are met:
+/// * Redistributions of source code must retain the above copyright notice, this list of conditions and
+/// the following disclaimer.
+/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
+/// the following disclaimer in the documentation and/or other materials provided with the distribution.
+/// * Neither the name of Microsoft nor the names of its contributors may be used to
+/// endorse or promote products derived from this software without specific prior written permission.
+///
+/// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
+/// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+/// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
+/// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+/// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+/// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+/// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+/// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+ES5Harness.registerTest( {
+id: "15.2.3.12-3-16",
+
+path: "TestCases/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-16.js",
+
+description: "Object.isFrozen returns false for all built-in objects (Date.prototype)",
+
+test: function testcase() {
+ var b = Object.isFrozen(Date.prototype);
+ if (b === false) {
+ return true;
+ }
+ },
+
+precondition: function prereq() {
+ return fnExists(Object.isFrozen);
+ }
+
+});
diff --git a/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-17.js b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-17.js
new file mode 100644
index 000000000..438b6f7c7
--- /dev/null
+++ b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-17.js
@@ -0,0 +1,40 @@
+/// Copyright (c) 2009 Microsoft Corporation
+///
+/// Redistribution and use in source and binary forms, with or without modification, are permitted provided
+/// that the following conditions are met:
+/// * Redistributions of source code must retain the above copyright notice, this list of conditions and
+/// the following disclaimer.
+/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
+/// the following disclaimer in the documentation and/or other materials provided with the distribution.
+/// * Neither the name of Microsoft nor the names of its contributors may be used to
+/// endorse or promote products derived from this software without specific prior written permission.
+///
+/// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
+/// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+/// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
+/// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+/// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+/// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+/// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+/// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+ES5Harness.registerTest( {
+id: "15.2.3.12-3-17",
+
+path: "TestCases/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-17.js",
+
+description: "Object.isFrozen returns false for all built-in objects (RegExp)",
+
+test: function testcase() {
+ var b = Object.isFrozen(RegExp);
+ if (b === false) {
+ return true;
+ }
+ },
+
+precondition: function prereq() {
+ return fnExists(Object.isFrozen);
+ }
+
+});
diff --git a/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-18.js b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-18.js
new file mode 100644
index 000000000..0f87c46cf
--- /dev/null
+++ b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-18.js
@@ -0,0 +1,40 @@
+/// Copyright (c) 2009 Microsoft Corporation
+///
+/// Redistribution and use in source and binary forms, with or without modification, are permitted provided
+/// that the following conditions are met:
+/// * Redistributions of source code must retain the above copyright notice, this list of conditions and
+/// the following disclaimer.
+/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
+/// the following disclaimer in the documentation and/or other materials provided with the distribution.
+/// * Neither the name of Microsoft nor the names of its contributors may be used to
+/// endorse or promote products derived from this software without specific prior written permission.
+///
+/// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
+/// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+/// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
+/// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+/// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+/// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+/// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+/// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+ES5Harness.registerTest( {
+id: "15.2.3.12-3-18",
+
+path: "TestCases/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-18.js",
+
+description: "Object.isFrozen returns false for all built-in objects (RegExp.prototype)",
+
+test: function testcase() {
+ var b = Object.isFrozen(RegExp.prototype);
+ if (b === false) {
+ return true;
+ }
+ },
+
+precondition: function prereq() {
+ return fnExists(Object.isFrozen);
+ }
+
+});
diff --git a/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-19.js b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-19.js
new file mode 100644
index 000000000..7e8897273
--- /dev/null
+++ b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-19.js
@@ -0,0 +1,40 @@
+/// Copyright (c) 2009 Microsoft Corporation
+///
+/// Redistribution and use in source and binary forms, with or without modification, are permitted provided
+/// that the following conditions are met:
+/// * Redistributions of source code must retain the above copyright notice, this list of conditions and
+/// the following disclaimer.
+/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
+/// the following disclaimer in the documentation and/or other materials provided with the distribution.
+/// * Neither the name of Microsoft nor the names of its contributors may be used to
+/// endorse or promote products derived from this software without specific prior written permission.
+///
+/// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
+/// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+/// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
+/// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+/// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+/// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+/// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+/// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+ES5Harness.registerTest( {
+id: "15.2.3.12-3-19",
+
+path: "TestCases/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-19.js",
+
+description: "Object.isFrozen returns false for all built-in objects (Error)",
+
+test: function testcase() {
+ var b = Object.isFrozen(Error);
+ if (b === false) {
+ return true;
+ }
+ },
+
+precondition: function prereq() {
+ return fnExists(Object.isFrozen);
+ }
+
+});
diff --git a/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-2.js b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-2.js
new file mode 100644
index 000000000..3094117cc
--- /dev/null
+++ b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-2.js
@@ -0,0 +1,40 @@
+/// Copyright (c) 2009 Microsoft Corporation
+///
+/// Redistribution and use in source and binary forms, with or without modification, are permitted provided
+/// that the following conditions are met:
+/// * Redistributions of source code must retain the above copyright notice, this list of conditions and
+/// the following disclaimer.
+/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
+/// the following disclaimer in the documentation and/or other materials provided with the distribution.
+/// * Neither the name of Microsoft nor the names of its contributors may be used to
+/// endorse or promote products derived from this software without specific prior written permission.
+///
+/// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
+/// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+/// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
+/// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+/// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+/// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+/// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+/// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+ES5Harness.registerTest( {
+id: "15.2.3.12-3-2",
+
+path: "TestCases/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-2.js",
+
+description: "Object.isFrozen returns false for all built-in objects (Object)",
+
+test: function testcase() {
+ var b = Object.isFrozen(Object);
+ if (b === false) {
+ return true;
+ }
+ },
+
+precondition: function prereq() {
+ return fnExists(Object.isFrozen);
+ }
+
+});
diff --git a/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-20.js b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-20.js
new file mode 100644
index 000000000..a479d8ac4
--- /dev/null
+++ b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-20.js
@@ -0,0 +1,40 @@
+/// Copyright (c) 2009 Microsoft Corporation
+///
+/// Redistribution and use in source and binary forms, with or without modification, are permitted provided
+/// that the following conditions are met:
+/// * Redistributions of source code must retain the above copyright notice, this list of conditions and
+/// the following disclaimer.
+/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
+/// the following disclaimer in the documentation and/or other materials provided with the distribution.
+/// * Neither the name of Microsoft nor the names of its contributors may be used to
+/// endorse or promote products derived from this software without specific prior written permission.
+///
+/// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
+/// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+/// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
+/// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+/// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+/// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+/// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+/// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+ES5Harness.registerTest( {
+id: "15.2.3.12-3-20",
+
+path: "TestCases/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-20.js",
+
+description: "Object.isFrozen returns false for all built-in objects (Error.prototype)",
+
+test: function testcase() {
+ var b = Object.isFrozen(Error.prototype);
+ if (b === false) {
+ return true;
+ }
+ },
+
+precondition: function prereq() {
+ return fnExists(Object.isFrozen);
+ }
+
+});
diff --git a/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-21.js b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-21.js
new file mode 100644
index 000000000..30b77c538
--- /dev/null
+++ b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-21.js
@@ -0,0 +1,40 @@
+/// Copyright (c) 2009 Microsoft Corporation
+///
+/// Redistribution and use in source and binary forms, with or without modification, are permitted provided
+/// that the following conditions are met:
+/// * Redistributions of source code must retain the above copyright notice, this list of conditions and
+/// the following disclaimer.
+/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
+/// the following disclaimer in the documentation and/or other materials provided with the distribution.
+/// * Neither the name of Microsoft nor the names of its contributors may be used to
+/// endorse or promote products derived from this software without specific prior written permission.
+///
+/// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
+/// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+/// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
+/// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+/// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+/// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+/// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+/// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+ES5Harness.registerTest( {
+id: "15.2.3.12-3-21",
+
+path: "TestCases/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-21.js",
+
+description: "Object.isFrozen returns false for all built-in objects (EvalError)",
+
+test: function testcase() {
+ var b = Object.isFrozen(EvalError);
+ if (b === false) {
+ return true;
+ }
+ },
+
+precondition: function prereq() {
+ return fnExists(Object.isFrozen);
+ }
+
+});
diff --git a/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-22.js b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-22.js
new file mode 100644
index 000000000..f2a2d444f
--- /dev/null
+++ b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-22.js
@@ -0,0 +1,40 @@
+/// Copyright (c) 2009 Microsoft Corporation
+///
+/// Redistribution and use in source and binary forms, with or without modification, are permitted provided
+/// that the following conditions are met:
+/// * Redistributions of source code must retain the above copyright notice, this list of conditions and
+/// the following disclaimer.
+/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
+/// the following disclaimer in the documentation and/or other materials provided with the distribution.
+/// * Neither the name of Microsoft nor the names of its contributors may be used to
+/// endorse or promote products derived from this software without specific prior written permission.
+///
+/// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
+/// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+/// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
+/// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+/// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+/// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+/// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+/// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+ES5Harness.registerTest( {
+id: "15.2.3.12-3-22",
+
+path: "TestCases/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-22.js",
+
+description: "Object.isFrozen returns false for all built-in objects (RangeError)",
+
+test: function testcase() {
+ var b = Object.isFrozen(RangeError);
+ if (b === false) {
+ return true;
+ }
+ },
+
+precondition: function prereq() {
+ return fnExists(Object.isFrozen);
+ }
+
+});
diff --git a/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-23.js b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-23.js
new file mode 100644
index 000000000..308c8a6b2
--- /dev/null
+++ b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-23.js
@@ -0,0 +1,40 @@
+/// Copyright (c) 2009 Microsoft Corporation
+///
+/// Redistribution and use in source and binary forms, with or without modification, are permitted provided
+/// that the following conditions are met:
+/// * Redistributions of source code must retain the above copyright notice, this list of conditions and
+/// the following disclaimer.
+/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
+/// the following disclaimer in the documentation and/or other materials provided with the distribution.
+/// * Neither the name of Microsoft nor the names of its contributors may be used to
+/// endorse or promote products derived from this software without specific prior written permission.
+///
+/// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
+/// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+/// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
+/// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+/// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+/// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+/// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+/// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+ES5Harness.registerTest( {
+id: "15.2.3.12-3-23",
+
+path: "TestCases/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-23.js",
+
+description: "Object.isFrozen returns false for all built-in objects (ReferenceError)",
+
+test: function testcase() {
+ var b = Object.isFrozen(ReferenceError);
+ if (b === false) {
+ return true;
+ }
+ },
+
+precondition: function prereq() {
+ return fnExists(Object.isFrozen);
+ }
+
+});
diff --git a/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-24.js b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-24.js
new file mode 100644
index 000000000..69aa7c471
--- /dev/null
+++ b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-24.js
@@ -0,0 +1,40 @@
+/// Copyright (c) 2009 Microsoft Corporation
+///
+/// Redistribution and use in source and binary forms, with or without modification, are permitted provided
+/// that the following conditions are met:
+/// * Redistributions of source code must retain the above copyright notice, this list of conditions and
+/// the following disclaimer.
+/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
+/// the following disclaimer in the documentation and/or other materials provided with the distribution.
+/// * Neither the name of Microsoft nor the names of its contributors may be used to
+/// endorse or promote products derived from this software without specific prior written permission.
+///
+/// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
+/// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+/// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
+/// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+/// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+/// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+/// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+/// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+ES5Harness.registerTest( {
+id: "15.2.3.12-3-24",
+
+path: "TestCases/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-24.js",
+
+description: "Object.isFrozen returns false for all built-in objects (SyntaxError)",
+
+test: function testcase() {
+ var b = Object.isFrozen(SyntaxError);
+ if (b === false) {
+ return true;
+ }
+ },
+
+precondition: function prereq() {
+ return fnExists(Object.isFrozen);
+ }
+
+});
diff --git a/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-25.js b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-25.js
new file mode 100644
index 000000000..028a605c8
--- /dev/null
+++ b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-25.js
@@ -0,0 +1,40 @@
+/// Copyright (c) 2009 Microsoft Corporation
+///
+/// Redistribution and use in source and binary forms, with or without modification, are permitted provided
+/// that the following conditions are met:
+/// * Redistributions of source code must retain the above copyright notice, this list of conditions and
+/// the following disclaimer.
+/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
+/// the following disclaimer in the documentation and/or other materials provided with the distribution.
+/// * Neither the name of Microsoft nor the names of its contributors may be used to
+/// endorse or promote products derived from this software without specific prior written permission.
+///
+/// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
+/// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+/// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
+/// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+/// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+/// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+/// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+/// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+ES5Harness.registerTest( {
+id: "15.2.3.12-3-25",
+
+path: "TestCases/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-25.js",
+
+description: "Object.isFrozen returns false for all built-in objects (TypeError)",
+
+test: function testcase() {
+ var b = Object.isFrozen(TypeError);
+ if (b === false) {
+ return true;
+ }
+ },
+
+precondition: function prereq() {
+ return fnExists(Object.isFrozen);
+ }
+
+});
diff --git a/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-26.js b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-26.js
new file mode 100644
index 000000000..18be21682
--- /dev/null
+++ b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-26.js
@@ -0,0 +1,40 @@
+/// Copyright (c) 2009 Microsoft Corporation
+///
+/// Redistribution and use in source and binary forms, with or without modification, are permitted provided
+/// that the following conditions are met:
+/// * Redistributions of source code must retain the above copyright notice, this list of conditions and
+/// the following disclaimer.
+/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
+/// the following disclaimer in the documentation and/or other materials provided with the distribution.
+/// * Neither the name of Microsoft nor the names of its contributors may be used to
+/// endorse or promote products derived from this software without specific prior written permission.
+///
+/// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
+/// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+/// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
+/// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+/// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+/// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+/// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+/// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+ES5Harness.registerTest( {
+id: "15.2.3.12-3-26",
+
+path: "TestCases/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-26.js",
+
+description: "Object.isFrozen returns false for all built-in objects (URIError)",
+
+test: function testcase() {
+ var b = Object.isFrozen(URIError);
+ if (b === false) {
+ return true;
+ }
+ },
+
+precondition: function prereq() {
+ return fnExists(Object.isFrozen);
+ }
+
+});
diff --git a/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-27.js b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-27.js
new file mode 100644
index 000000000..22f06a213
--- /dev/null
+++ b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-27.js
@@ -0,0 +1,40 @@
+/// Copyright (c) 2009 Microsoft Corporation
+///
+/// Redistribution and use in source and binary forms, with or without modification, are permitted provided
+/// that the following conditions are met:
+/// * Redistributions of source code must retain the above copyright notice, this list of conditions and
+/// the following disclaimer.
+/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
+/// the following disclaimer in the documentation and/or other materials provided with the distribution.
+/// * Neither the name of Microsoft nor the names of its contributors may be used to
+/// endorse or promote products derived from this software without specific prior written permission.
+///
+/// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
+/// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+/// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
+/// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+/// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+/// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+/// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+/// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+ES5Harness.registerTest( {
+id: "15.2.3.12-3-27",
+
+path: "TestCases/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-27.js",
+
+description: "Object.isFrozen returns false for all built-in objects (JSON)",
+
+test: function testcase() {
+ var b = Object.isFrozen(JSON);
+ if (b === false) {
+ return true;
+ }
+ },
+
+precondition: function prereq() {
+ return fnExists(Object.isFrozen);
+ }
+
+});
diff --git a/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-28.js b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-28.js
new file mode 100644
index 000000000..f571b729b
--- /dev/null
+++ b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-28.js
@@ -0,0 +1,62 @@
+/// Copyright (c) 2009 Microsoft Corporation
+///
+/// Redistribution and use in source and binary forms, with or without modification, are permitted provided
+/// that the following conditions are met:
+/// * Redistributions of source code must retain the above copyright notice, this list of conditions and
+/// the following disclaimer.
+/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
+/// the following disclaimer in the documentation and/or other materials provided with the distribution.
+/// * Neither the name of Microsoft nor the names of its contributors may be used to
+/// endorse or promote products derived from this software without specific prior written permission.
+///
+/// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
+/// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+/// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
+/// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+/// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+/// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+/// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+/// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+ES5Harness.registerTest({
+
+ id: "15.2.3.12-3-28",
+
+ path: "TestCases/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-28.js",
+
+ description: "Object.isFrozen returns true when all own properties of 'O' are not writable and not configurable, and 'O' is not extensible",
+
+ test: function testcase() {
+
+ var obj = {};
+
+ Object.defineProperty(obj, "foo1", {
+ value: 20,
+ writable: false,
+ enumerable: false,
+ configurable: false
+ });
+
+
+ function get_func() {
+ return 10;
+ }
+ function set_func() { }
+
+ Object.defineProperty(obj, "foo2", {
+ get: get_func,
+ set: set_func,
+ configurable: false
+ });
+
+ Object.preventExtensions(obj);
+ return Object.isFrozen(obj);
+
+ },
+
+ precondition: function prereq() {
+ return fnExists(Object.isFrozen) && fnExists(Object.preventExtensions) && fnExists(Object.defineProperty);
+ }
+});
+
diff --git a/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-3.js b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-3.js
new file mode 100644
index 000000000..bb479637f
--- /dev/null
+++ b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-3.js
@@ -0,0 +1,40 @@
+/// Copyright (c) 2009 Microsoft Corporation
+///
+/// Redistribution and use in source and binary forms, with or without modification, are permitted provided
+/// that the following conditions are met:
+/// * Redistributions of source code must retain the above copyright notice, this list of conditions and
+/// the following disclaimer.
+/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
+/// the following disclaimer in the documentation and/or other materials provided with the distribution.
+/// * Neither the name of Microsoft nor the names of its contributors may be used to
+/// endorse or promote products derived from this software without specific prior written permission.
+///
+/// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
+/// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+/// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
+/// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+/// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+/// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+/// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+/// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+ES5Harness.registerTest( {
+id: "15.2.3.12-3-3",
+
+path: "TestCases/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-3.js",
+
+description: "Object.isFrozen returns false for all built-in objects (Object.prototype)",
+
+test: function testcase() {
+ var b = Object.isFrozen(Object.prototype);
+ if (b === false) {
+ return true;
+ }
+ },
+
+precondition: function prereq() {
+ return fnExists(Object.isFrozen);
+ }
+
+});
diff --git a/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-4.js b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-4.js
new file mode 100644
index 000000000..7bf28cd47
--- /dev/null
+++ b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-4.js
@@ -0,0 +1,40 @@
+/// Copyright (c) 2009 Microsoft Corporation
+///
+/// Redistribution and use in source and binary forms, with or without modification, are permitted provided
+/// that the following conditions are met:
+/// * Redistributions of source code must retain the above copyright notice, this list of conditions and
+/// the following disclaimer.
+/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
+/// the following disclaimer in the documentation and/or other materials provided with the distribution.
+/// * Neither the name of Microsoft nor the names of its contributors may be used to
+/// endorse or promote products derived from this software without specific prior written permission.
+///
+/// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
+/// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+/// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
+/// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+/// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+/// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+/// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+/// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+ES5Harness.registerTest( {
+id: "15.2.3.12-3-4",
+
+path: "TestCases/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-4.js",
+
+description: "Object.isFrozen returns false for all built-in objects (Function)",
+
+test: function testcase() {
+ var b = Object.isFrozen(Function);
+ if (b === false) {
+ return true;
+ }
+ },
+
+precondition: function prereq() {
+ return fnExists(Object.isFrozen);
+ }
+
+});
diff --git a/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-5.js b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-5.js
new file mode 100644
index 000000000..c4e707534
--- /dev/null
+++ b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-5.js
@@ -0,0 +1,40 @@
+/// Copyright (c) 2009 Microsoft Corporation
+///
+/// Redistribution and use in source and binary forms, with or without modification, are permitted provided
+/// that the following conditions are met:
+/// * Redistributions of source code must retain the above copyright notice, this list of conditions and
+/// the following disclaimer.
+/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
+/// the following disclaimer in the documentation and/or other materials provided with the distribution.
+/// * Neither the name of Microsoft nor the names of its contributors may be used to
+/// endorse or promote products derived from this software without specific prior written permission.
+///
+/// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
+/// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+/// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
+/// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+/// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+/// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+/// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+/// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+ES5Harness.registerTest( {
+id: "15.2.3.12-3-5",
+
+path: "TestCases/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-5.js",
+
+description: "Object.isFrozen returns false for all built-in objects (Function.prototype)",
+
+test: function testcase() {
+ var b = Object.isFrozen(Function.prototype);
+ if (b === false) {
+ return true;
+ }
+ },
+
+precondition: function prereq() {
+ return fnExists(Object.isFrozen);
+ }
+
+});
diff --git a/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-6.js b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-6.js
new file mode 100644
index 000000000..d3e41b527
--- /dev/null
+++ b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-6.js
@@ -0,0 +1,40 @@
+/// Copyright (c) 2009 Microsoft Corporation
+///
+/// Redistribution and use in source and binary forms, with or without modification, are permitted provided
+/// that the following conditions are met:
+/// * Redistributions of source code must retain the above copyright notice, this list of conditions and
+/// the following disclaimer.
+/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
+/// the following disclaimer in the documentation and/or other materials provided with the distribution.
+/// * Neither the name of Microsoft nor the names of its contributors may be used to
+/// endorse or promote products derived from this software without specific prior written permission.
+///
+/// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
+/// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+/// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
+/// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+/// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+/// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+/// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+/// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+ES5Harness.registerTest( {
+id: "15.2.3.12-3-6",
+
+path: "TestCases/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-6.js",
+
+description: "Object.isFrozen returns false for all built-in objects (Array)",
+
+test: function testcase() {
+ var b = Object.isFrozen(Array);
+ if (b === false) {
+ return true;
+ }
+ },
+
+precondition: function prereq() {
+ return fnExists(Object.isFrozen);
+ }
+
+});
diff --git a/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-7.js b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-7.js
new file mode 100644
index 000000000..11fc21ab7
--- /dev/null
+++ b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-7.js
@@ -0,0 +1,40 @@
+/// Copyright (c) 2009 Microsoft Corporation
+///
+/// Redistribution and use in source and binary forms, with or without modification, are permitted provided
+/// that the following conditions are met:
+/// * Redistributions of source code must retain the above copyright notice, this list of conditions and
+/// the following disclaimer.
+/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
+/// the following disclaimer in the documentation and/or other materials provided with the distribution.
+/// * Neither the name of Microsoft nor the names of its contributors may be used to
+/// endorse or promote products derived from this software without specific prior written permission.
+///
+/// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
+/// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+/// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
+/// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+/// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+/// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+/// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+/// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+ES5Harness.registerTest( {
+id: "15.2.3.12-3-7",
+
+path: "TestCases/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-7.js",
+
+description: "Object.isFrozen returns false for all built-in objects (Array.prototype)",
+
+test: function testcase() {
+ var b = Object.isFrozen(Array.prototype);
+ if (b === false) {
+ return true;
+ }
+ },
+
+precondition: function prereq() {
+ return fnExists(Object.isFrozen);
+ }
+
+});
diff --git a/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-8.js b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-8.js
new file mode 100644
index 000000000..97405f811
--- /dev/null
+++ b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-8.js
@@ -0,0 +1,40 @@
+/// Copyright (c) 2009 Microsoft Corporation
+///
+/// Redistribution and use in source and binary forms, with or without modification, are permitted provided
+/// that the following conditions are met:
+/// * Redistributions of source code must retain the above copyright notice, this list of conditions and
+/// the following disclaimer.
+/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
+/// the following disclaimer in the documentation and/or other materials provided with the distribution.
+/// * Neither the name of Microsoft nor the names of its contributors may be used to
+/// endorse or promote products derived from this software without specific prior written permission.
+///
+/// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
+/// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+/// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
+/// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+/// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+/// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+/// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+/// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+ES5Harness.registerTest( {
+id: "15.2.3.12-3-8",
+
+path: "TestCases/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-8.js",
+
+description: "Object.isFrozen returns false for all built-in objects (String)",
+
+test: function testcase() {
+ var b = Object.isFrozen(String);
+ if (b === false) {
+ return true;
+ }
+ },
+
+precondition: function prereq() {
+ return fnExists(Object.isFrozen);
+ }
+
+});
diff --git a/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-9.js b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-9.js
new file mode 100644
index 000000000..69e7d5eab
--- /dev/null
+++ b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-9.js
@@ -0,0 +1,40 @@
+/// Copyright (c) 2009 Microsoft Corporation
+///
+/// Redistribution and use in source and binary forms, with or without modification, are permitted provided
+/// that the following conditions are met:
+/// * Redistributions of source code must retain the above copyright notice, this list of conditions and
+/// the following disclaimer.
+/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
+/// the following disclaimer in the documentation and/or other materials provided with the distribution.
+/// * Neither the name of Microsoft nor the names of its contributors may be used to
+/// endorse or promote products derived from this software without specific prior written permission.
+///
+/// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
+/// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+/// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
+/// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+/// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+/// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+/// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+/// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+ES5Harness.registerTest( {
+id: "15.2.3.12-3-9",
+
+path: "TestCases/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-3-9.js",
+
+description: "Object.isFrozen returns false for all built-in objects (String.prototype)",
+
+test: function testcase() {
+ var b = Object.isFrozen(String.prototype);
+ if (b === false) {
+ return true;
+ }
+ },
+
+precondition: function prereq() {
+ return fnExists(Object.isFrozen);
+ }
+
+});
diff --git a/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-4-1.js b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-4-1.js
new file mode 100644
index 000000000..768fdf4e3
--- /dev/null
+++ b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-4-1.js
@@ -0,0 +1,38 @@
+/// Copyright (c) 2009 Microsoft Corporation
+///
+/// Redistribution and use in source and binary forms, with or without modification, are permitted provided
+/// that the following conditions are met:
+/// * Redistributions of source code must retain the above copyright notice, this list of conditions and
+/// the following disclaimer.
+/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
+/// the following disclaimer in the documentation and/or other materials provided with the distribution.
+/// * Neither the name of Microsoft nor the names of its contributors may be used to
+/// endorse or promote products derived from this software without specific prior written permission.
+///
+/// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
+/// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+/// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
+/// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+/// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+/// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+/// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+/// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+ES5Harness.registerTest({
+
+ id: "15.2.3.12-4-1",
+
+ path: "TestCases/chapter15/15.2/15.2.3/15.2.3.12/15.2.3.12-4-1.js",
+
+ description: "Object.isFrozen returns false if extensible is true",
+
+ test: function testcase() {
+ return !Object.isFrozen({});
+ },
+
+ precondition: function prereq() {
+ return fnExists(Object.isFrozen);
+ }
+});
+