summaryrefslogtreecommitdiff
path: root/external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10
diff options
context:
space:
mode:
Diffstat (limited to 'external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10')
-rw-r--r--external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.2/15.10.2.15-3-1.js41
-rw-r--r--external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.2/15.10.2.15-3-2.js41
-rw-r--r--external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.2/15.10.2.15-6-1.js41
-rw-r--r--external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.2/15.10.2.2-1.js41
-rw-r--r--external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.2/15.10.2.5-3-1.js41
-rw-r--r--external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.4/15.10.4.1-1.js43
-rw-r--r--external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.4/15.10.4.1-2.js42
-rw-r--r--external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.4/15.10.4.1-3.js42
-rw-r--r--external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.4/15.10.4.1-4.js42
-rw-r--r--external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.6/15.10.6.2/15.10.6.2-9-e-1.js40
-rw-r--r--external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.6/15.10.6.js33
-rw-r--r--external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.7/15.10.7.1/15.10.7.1-1.js32
-rw-r--r--external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.7/15.10.7.1/15.10.7.1-2.js42
-rw-r--r--external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.7/15.10.7.2/15.10.7.2-1.js32
-rw-r--r--external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.7/15.10.7.2/15.10.7.2-2.js42
-rw-r--r--external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.7/15.10.7.3/15.10.7.3-1.js32
-rw-r--r--external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.7/15.10.7.3/15.10.7.3-2.js42
-rw-r--r--external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.7/15.10.7.4/15.10.7.4-1.js32
-rw-r--r--external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.7/15.10.7.4/15.10.7.4-2.js42
-rw-r--r--external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.7/15.10.7.5/15.10.7.5-1.js32
-rw-r--r--external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.7/15.10.7.5/15.10.7.5-2.js42
21 files changed, 817 insertions, 0 deletions
diff --git a/external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.2/15.10.2.15-3-1.js b/external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.2/15.10.2.15-3-1.js
new file mode 100644
index 000000000..f0e1f2321
--- /dev/null
+++ b/external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.2/15.10.2.15-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.10.2.15-3-1",
+
+ path: "TestCases/chapter15/15.10/15.10.2/15.10.2.15-3-1.js",
+
+ description: "Pattern - SyntaxError was thrown when 'A' does not contain exactly one character (15.10.2.5 step 3)",
+
+ test: function testcase() {
+ try {
+ var regExp = new RegExp("^[/w-c]$");
+
+ return false;
+ } catch (e) {
+ return e instanceof SyntaxError;
+ }
+ },
+
+ precondition: function prereq() {
+ return true;
+ }
+});
diff --git a/external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.2/15.10.2.15-3-2.js b/external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.2/15.10.2.15-3-2.js
new file mode 100644
index 000000000..7b360b15a
--- /dev/null
+++ b/external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.2/15.10.2.15-3-2.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.10.2.15-3-2",
+
+ path: "TestCases/chapter15/15.10/15.10.2/15.10.2.15-3-2.js",
+
+ description: "Pattern - SyntaxError was thrown when 'B' does not contain exactly one character (15.10.2.5 step 3)",
+
+ test: function testcase() {
+ try {
+ var regExp = new RegExp("^[a-/w]$");
+
+ return false;
+ } catch (e) {
+ return e instanceof SyntaxError;
+ }
+ },
+
+ precondition: function prereq() {
+ return true;
+ }
+});
diff --git a/external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.2/15.10.2.15-6-1.js b/external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.2/15.10.2.15-6-1.js
new file mode 100644
index 000000000..fa84c404c
--- /dev/null
+++ b/external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.2/15.10.2.15-6-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.10.2.15-6-1",
+
+ path: "TestCases/chapter15/15.10/15.10.2/15.10.2.15-6-1.js",
+
+ description: "Pattern - SyntaxError was thrown when one character in CharSet 'A' greater than one character in CharSet 'B' (15.10.2.15 CharacterRange step 6)",
+
+ test: function testcase() {
+ try {
+ var regExp = new RegExp("^[z-a]$");
+
+ return false;
+ } catch (e) {
+ return e instanceof SyntaxError;
+ }
+ },
+
+ precondition: function prereq() {
+ return true;
+ }
+});
diff --git a/external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.2/15.10.2.2-1.js b/external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.2/15.10.2.2-1.js
new file mode 100644
index 000000000..f5e930a9f
--- /dev/null
+++ b/external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.2/15.10.2.2-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.10.2.2-1",
+
+ path: "TestCases/chapter15/15.10/15.10.2/15.10.2.2-1.js",
+
+ description: "Pattern - SyntaxError was thrown when compile a pattern",
+
+ test: function testcase() {
+ try {
+ var regExp = new RegExp("\\");
+
+ return false;
+ } catch (e) {
+ return e instanceof SyntaxError;
+ }
+ },
+
+ precondition: function prereq() {
+ return true;
+ }
+});
diff --git a/external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.2/15.10.2.5-3-1.js b/external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.2/15.10.2.5-3-1.js
new file mode 100644
index 000000000..d2c4b785c
--- /dev/null
+++ b/external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.2/15.10.2.5-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.10.2.5-3-1",
+
+ path: "TestCases/chapter15/15.10/15.10.2/15.10.2.5-3-1.js",
+
+ description: "Term - SyntaxError was thrown when max is finite and less than min (15.10.2.5 step 3)",
+
+ test: function testcase() {
+ try {
+ var regExp = new RegExp("0{2,1}");
+
+ return false;
+ } catch (e) {
+ return e instanceof SyntaxError;
+ }
+ },
+
+ precondition: function prereq() {
+ return true;
+ }
+});
diff --git a/external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.4/15.10.4.1-1.js b/external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.4/15.10.4.1-1.js
new file mode 100644
index 000000000..3ca7c0c84
--- /dev/null
+++ b/external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.4/15.10.4.1-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.10.4.1-1",
+
+ path: "TestCases/chapter15/15.10/15.10.4/15.10.4.1-1.js",
+
+ description: "RegExp - the thrown error is TypeError instead of RegExpError when pattern is an object whose [[Class]] property is 'RegExp' and flags is not undefined ",
+
+ test: function testcase() {
+ var regObj = new RegExp();
+ try {
+ var regExpObj = new RegExp(regObj, true);
+
+ return false;
+ } catch (e) {
+ return e instanceof TypeError;
+ }
+ },
+
+ precondition: function prereq() {
+ return true;
+ }
+});
diff --git a/external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.4/15.10.4.1-2.js b/external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.4/15.10.4.1-2.js
new file mode 100644
index 000000000..7b9013729
--- /dev/null
+++ b/external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.4/15.10.4.1-2.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.10.4.1-2",
+
+ path: "TestCases/chapter15/15.10/15.10.4/15.10.4.1-2.js",
+
+ description: "RegExp - the thrown error is SyntaxError instead of RegExpError when the characters of 'P' do not have the syntactic form Pattern",
+
+ test: function testcase() {
+ try {
+ var regExpObj = new RegExp('\\');
+
+ return false;
+ } catch (e) {
+ return e instanceof SyntaxError;
+ }
+ },
+
+ precondition: function prereq() {
+ return true;
+ }
+});
diff --git a/external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.4/15.10.4.1-3.js b/external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.4/15.10.4.1-3.js
new file mode 100644
index 000000000..a2a78cd73
--- /dev/null
+++ b/external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.4/15.10.4.1-3.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.10.4.1-3",
+
+ path: "TestCases/chapter15/15.10/15.10.4/15.10.4.1-3.js",
+
+ description: "RegExp - the thrown error is SyntaxError instead of RegExpError when 'F' contains any character other than 'g', 'i', or 'm' ",
+
+ test: function testcase() {
+ try {
+ var regExpObj = new RegExp('abc', 'a');
+
+ return false;
+ } catch (e) {
+ return e instanceof SyntaxError;
+ }
+ },
+
+ precondition: function prereq() {
+ return true;
+ }
+});
diff --git a/external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.4/15.10.4.1-4.js b/external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.4/15.10.4.1-4.js
new file mode 100644
index 000000000..4ccfa2d6b
--- /dev/null
+++ b/external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.4/15.10.4.1-4.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.10.4.1-4",
+
+ path: "TestCases/chapter15/15.10/15.10.4/15.10.4.1-4.js",
+
+ description: "RegExp - the SyntaxError is not thrown when flags is 'gim'",
+
+ test: function testcase() {
+ try {
+ var regExpObj = new RegExp('abc', 'gim');
+
+ return true;
+ } catch (e) {
+ return false;
+ }
+ },
+
+ precondition: function prereq() {
+ return true;
+ }
+});
diff --git a/external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.6/15.10.6.2/15.10.6.2-9-e-1.js b/external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.6/15.10.6.2/15.10.6.2-9-e-1.js
new file mode 100644
index 000000000..3b0f67214
--- /dev/null
+++ b/external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.6/15.10.6.2/15.10.6.2-9-e-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.10.6.2-9-e-1",
+
+ path: "TestCases/chapter15/15.10/15.10.6/15.10.6.2/15.10.6.2-9-e-1.js",
+
+ description: "RegExp.prototype.exec - the removed step 9.e won't affected current algorithm",
+
+ test: function testcase() {
+ var str = "Hello World!";
+ var regObj = new RegExp("World");
+ var result = false;
+ result = regObj.exec(str).toString() === "World";
+ return result;
+ },
+
+ precondition: function prereq() {
+ return true;
+ }
+});
diff --git a/external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.6/15.10.6.js b/external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.6/15.10.6.js
new file mode 100644
index 000000000..217b9008f
--- /dev/null
+++ b/external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.6/15.10.6.js
@@ -0,0 +1,33 @@
+/// 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.10.6",
+
+path: "TestCases/chapter15/15.10/15.10.6/15.10.6.js",
+
+description: "RegExp.prototype is itself a RegExp",
+
+test: function testcase() {
+ var s = Object.prototype.toString.call(RegExp.prototype);
+ return s === '[object RegExp]';
+ }
+});
diff --git a/external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.7/15.10.7.1/15.10.7.1-1.js b/external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.7/15.10.7.1/15.10.7.1-1.js
new file mode 100644
index 000000000..a22be95b4
--- /dev/null
+++ b/external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.7/15.10.7.1/15.10.7.1-1.js
@@ -0,0 +1,32 @@
+/// 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.10.7.1-1",
+
+path: "TestCases/chapter15/15.10/15.10.7/15.10.7.1/15.10.7.1-1.js",
+
+description: "RegExp.prototype.source is of type String",
+
+test: function testcase() {
+ return (typeof(RegExp.prototype.source)) === 'string';
+ }
+});
diff --git a/external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.7/15.10.7.1/15.10.7.1-2.js b/external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.7/15.10.7.1/15.10.7.1-2.js
new file mode 100644
index 000000000..65682fc39
--- /dev/null
+++ b/external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.7/15.10.7.1/15.10.7.1-2.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.10.7.1-2",
+
+path: "TestCases/chapter15/15.10/15.10.7/15.10.7.1/15.10.7.1-2.js",
+
+description: "RegExp.prototype.source is a data property with default attribute values (false)",
+
+test: function testcase() {
+ var d = Object.getOwnPropertyDescriptor(RegExp.prototype, 'source');
+
+ if (d.writable === false &&
+ d.enumerable === false &&
+ d.configurable === false) {
+ return true;
+ }
+ },
+
+precondition: function prereq() {
+ return fnExists(Object.getOwnPropertyDescriptor);
+ }
+});
diff --git a/external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.7/15.10.7.2/15.10.7.2-1.js b/external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.7/15.10.7.2/15.10.7.2-1.js
new file mode 100644
index 000000000..d9b8f547a
--- /dev/null
+++ b/external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.7/15.10.7.2/15.10.7.2-1.js
@@ -0,0 +1,32 @@
+/// 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.10.7.2-1",
+
+path: "TestCases/chapter15/15.10/15.10.7/15.10.7.2/15.10.7.2-1.js",
+
+description: "RegExp.prototype.global is of type Boolean",
+
+test: function testcase() {
+ return (typeof(RegExp.prototype.global)) === 'boolean';
+ }
+});
diff --git a/external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.7/15.10.7.2/15.10.7.2-2.js b/external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.7/15.10.7.2/15.10.7.2-2.js
new file mode 100644
index 000000000..1d1dbf857
--- /dev/null
+++ b/external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.7/15.10.7.2/15.10.7.2-2.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.10.7.2-2",
+
+path: "TestCases/chapter15/15.10/15.10.7/15.10.7.2/15.10.7.2-2.js",
+
+description: "RegExp.prototype.global is a data property with default attribute values (false)",
+
+test: function testcase() {
+ var desc = Object.getOwnPropertyDescriptor(RegExp.prototype, 'global');
+
+ if (desc.writable === false &&
+ desc.enumerable === false &&
+ desc.configurable === false) {
+ return true;
+ }
+ },
+
+precondition: function prereq() {
+ return fnExists(Object.getOwnPropertyDescriptor);
+ }
+});
diff --git a/external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.7/15.10.7.3/15.10.7.3-1.js b/external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.7/15.10.7.3/15.10.7.3-1.js
new file mode 100644
index 000000000..68a55028d
--- /dev/null
+++ b/external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.7/15.10.7.3/15.10.7.3-1.js
@@ -0,0 +1,32 @@
+/// 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.10.7.3-1",
+
+path: "TestCases/chapter15/15.10/15.10.7/15.10.7.3/15.10.7.3-1.js",
+
+description: "RegExp.prototype.ignoreCase is of type Boolean",
+
+test: function testcase() {
+ return (typeof(RegExp.prototype.ignoreCase)) === 'boolean';
+ }
+});
diff --git a/external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.7/15.10.7.3/15.10.7.3-2.js b/external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.7/15.10.7.3/15.10.7.3-2.js
new file mode 100644
index 000000000..aaff82f16
--- /dev/null
+++ b/external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.7/15.10.7.3/15.10.7.3-2.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.10.7.3-2",
+
+path: "TestCases/chapter15/15.10/15.10.7/15.10.7.3/15.10.7.3-2.js",
+
+description: "RegExp.prototype.ignoreCase is a data property with default attribute values (false)",
+
+test: function testcase() {
+ var d = Object.getOwnPropertyDescriptor(RegExp.prototype, 'ignoreCase');
+
+ if (d.writable === false &&
+ d.enumerable === false &&
+ d.configurable === false) {
+ return true;
+ }
+ },
+
+precondition: function prereq() {
+ return fnExists(Object.getOwnPropertyDescriptor);
+ }
+});
diff --git a/external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.7/15.10.7.4/15.10.7.4-1.js b/external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.7/15.10.7.4/15.10.7.4-1.js
new file mode 100644
index 000000000..50cd999c4
--- /dev/null
+++ b/external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.7/15.10.7.4/15.10.7.4-1.js
@@ -0,0 +1,32 @@
+/// 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.10.7.4-1",
+
+path: "TestCases/chapter15/15.10/15.10.7/15.10.7.4/15.10.7.4-1.js",
+
+description: "RegExp.prototype.multiline is of type Boolean",
+
+test: function testcase() {
+ return (typeof(RegExp.prototype.multiline)) === 'boolean';
+ }
+});
diff --git a/external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.7/15.10.7.4/15.10.7.4-2.js b/external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.7/15.10.7.4/15.10.7.4-2.js
new file mode 100644
index 000000000..21f708938
--- /dev/null
+++ b/external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.7/15.10.7.4/15.10.7.4-2.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.10.7.4-2",
+
+path: "TestCases/chapter15/15.10/15.10.7/15.10.7.4/15.10.7.4-2.js",
+
+description: "RegExp.prototype.multiline is a data property with default attribute values (false)",
+
+test: function testcase() {
+ var d = Object.getOwnPropertyDescriptor(RegExp.prototype, 'multiline');
+
+ if (d.writable === false &&
+ d.enumerable === false &&
+ d.configurable === false) {
+ return true;
+ }
+ },
+
+precondition: function prereq() {
+ return fnExists(Object.getOwnPropertyDescriptor);
+ }
+});
diff --git a/external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.7/15.10.7.5/15.10.7.5-1.js b/external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.7/15.10.7.5/15.10.7.5-1.js
new file mode 100644
index 000000000..5a9244904
--- /dev/null
+++ b/external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.7/15.10.7.5/15.10.7.5-1.js
@@ -0,0 +1,32 @@
+/// 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.10.7.5-1",
+
+path: "TestCases/chapter15/15.10/15.10.7/15.10.7.5/15.10.7.5-1.js",
+
+description: "RegExp.prototype.lastIndex is of type Number",
+
+test: function testcase() {
+ return (typeof(RegExp.prototype.lastIndex)) === 'number';
+ }
+});
diff --git a/external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.7/15.10.7.5/15.10.7.5-2.js b/external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.7/15.10.7.5/15.10.7.5-2.js
new file mode 100644
index 000000000..7815a9335
--- /dev/null
+++ b/external/contributions/Microsoft/ietestcenter_ppb10/chapter15/15.10/15.10.7/15.10.7.5/15.10.7.5-2.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.10.7.5-2",
+
+path: "TestCases/chapter15/15.10/15.10.7/15.10.7.5/15.10.7.5-2.js",
+
+description: "RegExp.prototype.lastIndex is a data property with specified attribute values",
+
+test: function testcase() {
+ var d = Object.getOwnPropertyDescriptor(RegExp.prototype, 'lastIndex');
+
+ if (d.writable === true &&
+ d.enumerable === false &&
+ d.configurable === false) {
+ return true;
+ }
+ },
+
+precondition: function prereq() {
+ return fnExists(Object.getOwnPropertyDescriptor);
+ }
+});