diff options
author | Brian Terlson <brian.terlson@microsoft.com> | 2014-07-16 13:59:52 -0700 |
---|---|---|
committer | Brian Terlson <brian.terlson@microsoft.com> | 2014-07-16 13:59:52 -0700 |
commit | e30c0b3183ac2a52e896c9dcda47a34df34d3099 (patch) | |
tree | 2e65aeeca5936af8a1c16f1a24322897e0265cc2 /external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1 | |
parent | 5278df472144fc9b5c2a55d6e69063caadad544f (diff) |
Remove external folder
Diffstat (limited to 'external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1')
32 files changed, 0 insertions, 598 deletions
diff --git a/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-1.js b/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-1.js deleted file mode 100644 index 1e9ba28fd..000000000 --- a/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-1.js +++ /dev/null @@ -1,21 +0,0 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-1.js
- * @description The JSON lexical grammar treats whitespace as a token seperator
- */
-
-
-function testcase() {
-
- try {
- JSON.parse('12\t\r\n 34'); // should produce a syntax error as whitespace results in two tokens
- }
- catch (e) {
- if (e.name === 'SyntaxError') return true;
- }
- }
-runTestCase(testcase);
diff --git a/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-2.js b/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-2.js deleted file mode 100644 index a34bb3375..000000000 --- a/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-2.js +++ /dev/null @@ -1,21 +0,0 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-2.js
- * @description <VT> is not valid JSON whitespace as specified by the production JSONWhitespace.
- */
-
-
-function testcase() {
-
- try {
- JSON.parse('\u000b1234'); // should produce a syntax error
- }
- catch (e) {
- return true; // treat any exception as a pass, other tests ensure that JSON.parse throws SyntaxError exceptions
- }
- }
-runTestCase(testcase);
diff --git a/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-3.js b/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-3.js deleted file mode 100644 index 727099e4c..000000000 --- a/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-3.js +++ /dev/null @@ -1,21 +0,0 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-3.js
- * @description <FF> is not valid JSON whitespace as specified by the production JSONWhitespace.
- */
-
-
-function testcase() {
-
- try {
- JSON.parse('\u000c1234'); // should produce a syntax error
- }
- catch (e) {
- return true; // treat any exception as a pass, other tests ensure that JSON.parse throws SyntaxError exceptions
- }
- }
-runTestCase(testcase);
diff --git a/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-4.js b/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-4.js deleted file mode 100644 index 15a533e8e..000000000 --- a/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-4.js +++ /dev/null @@ -1,21 +0,0 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-4.js
- * @description <NBSP> is not valid JSON whitespace as specified by the production JSONWhitespace.
- */
-
-
-function testcase() {
-
- try {
- JSON.parse('\u00a01234'); // should produce a syntax error
- }
- catch (e) {
- return true; // treat any exception as a pass, other tests ensure that JSON.parse throws SyntaxError exceptions
- }
- }
-runTestCase(testcase);
diff --git a/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-5.js b/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-5.js deleted file mode 100644 index 7d306f87d..000000000 --- a/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-5.js +++ /dev/null @@ -1,21 +0,0 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-5.js
- * @description <ZWSPP> is not valid JSON whitespace as specified by the production JSONWhitespace.
- */
-
-
-function testcase() {
-
- try {
- JSON.parse('\u200b1234'); // should produce a syntax error
- }
- catch (e) {
- return true; // treat any exception as a pass, other tests ensure that JSON.parse throws SyntaxError exceptions
- }
- }
-runTestCase(testcase);
diff --git a/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-6.js b/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-6.js deleted file mode 100644 index 9505cdb1a..000000000 --- a/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-6.js +++ /dev/null @@ -1,21 +0,0 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-6.js
- * @description <BOM> is not valid JSON whitespace as specified by the production JSONWhitespace.
- */
-
-
-function testcase() {
-
- try {
- JSON.parse('\ufeff1234'); // should produce a syntax error a
- }
- catch (e) {
- return true; // treat any exception as a pass, other tests ensure that JSON.parse throws SyntaxError exceptions
- }
- }
-runTestCase(testcase);
diff --git a/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-7.js b/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-7.js deleted file mode 100644 index 7d33a040f..000000000 --- a/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-7.js +++ /dev/null @@ -1,22 +0,0 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-7.js
- * @description other category z spaces are not valid JSON whitespace as specified by the production JSONWhitespace.
- */
-
-
-function testcase() {
-
- try {
- // the following should produce a syntax error
- JSON.parse('\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u30001234');
- }
- catch (e) {
- return true; // treat any exception as a pass, other tests ensure that JSON.parse throws SyntaxError exceptions
- }
- }
-runTestCase(testcase);
diff --git a/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-8.js b/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-8.js deleted file mode 100644 index 503e664d7..000000000 --- a/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-8.js +++ /dev/null @@ -1,21 +0,0 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-8.js
- * @description U+2028 and U+2029 are not valid JSON whitespace as specified by the production JSONWhitespace.
- */
-
-
-function testcase() {
-
- try {
- JSON.parse('\u2028\u20291234'); // should produce a syntax error
- }
- catch (e) {
- return true; // treat any exception as a pass, other tests ensure that JSON.parse throws SyntaxError exceptions
- }
- }
-runTestCase(testcase);
diff --git a/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-9.js b/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-9.js deleted file mode 100644 index 93f4a377e..000000000 --- a/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-9.js +++ /dev/null @@ -1,21 +0,0 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-9.js
- * @description Whitespace characters can appear before/after any JSONtoken
- */
-
-
-function testcase() {
-
- JSON.parse('\t\r \n{\t\r \n'+
- '"property"\t\r \n:\t\r \n{\t\r \n}\t\r \n,\t\r \n' +
- '"prop2"\t\r \n:\t\r \n'+
- '[\t\r \ntrue\t\r \n,\t\r \nnull\t\r \n,123.456\t\r \n]'+
- '\t\r \n}\t\r \n'); // should JOSN parse without error
- return true;
- }
-runTestCase(testcase);
diff --git a/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g1-1.js b/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g1-1.js deleted file mode 100644 index 3c82d72a9..000000000 --- a/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g1-1.js +++ /dev/null @@ -1,21 +0,0 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g1-1.js
- * @description The JSON lexical grammar treats <TAB> as a whitespace character
- */
-
-
-function testcase() {
- if (JSON.parse('\t1234')!==1234) return false; // <TAB> should be ignored
- try {
- JSON.parse('12\t34'); // <TAB> should produce a syntax error as whitespace results in two tokens
- }
- catch (e) {
- return true; // treat any exception as a pass, other tests ensure that JSON.parse throws SyntaxError exceptions
- }
- }
-runTestCase(testcase);
diff --git a/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g1-2.js b/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g1-2.js deleted file mode 100644 index db9274467..000000000 --- a/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g1-2.js +++ /dev/null @@ -1,21 +0,0 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g1-2.js
- * @description The JSON lexical grammar treats <CR> as a whitespace character
- */
-
-
-function testcase() {
- if (JSON.parse('\r1234')!==1234) return false; // <cr> should be ignored
- try {
- JSON.parse('12\r34'); // <CR> should produce a syntax error as whitespace results in two tokens
- }
- catch (e) {
- if (e.name === 'SyntaxError') return true;
- }
- }
-runTestCase(testcase);
diff --git a/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g1-3.js b/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g1-3.js deleted file mode 100644 index 478c5159b..000000000 --- a/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g1-3.js +++ /dev/null @@ -1,21 +0,0 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g1-3.js
- * @description The JSON lexical grammar treats <LF> as a whitespace character
- */
-
-
-function testcase() {
- if (JSON.parse('\n1234')!==1234) return false; // <LF> should be ignored
- try {
- JSON.parse('12\n34'); // <LF> should produce a syntax error as whitespace results in two tokens
- }
- catch (e) {
- if (e.name === 'SyntaxError') return true;
- }
- }
-runTestCase(testcase);
diff --git a/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g1-4.js b/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g1-4.js deleted file mode 100644 index 846f73743..000000000 --- a/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g1-4.js +++ /dev/null @@ -1,21 +0,0 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g1-4.js
- * @description The JSON lexical grammar treats <SP> as a whitespace character
- */
-
-
-function testcase() {
- if (JSON.parse(' 1234')!=1234) return false; // <SP> should be ignored
- try {
- JSON.parse('12 34'); // <SP> should produce a syntax error as whitespace results in two tokens
- }
- catch (e) {
- if (e.name === 'SyntaxError') return true;
- }
- }
-runTestCase(testcase);
diff --git a/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g2-1.js b/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g2-1.js deleted file mode 100644 index fb659899f..000000000 --- a/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g2-1.js +++ /dev/null @@ -1,15 +0,0 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g2-1.js
- * @description JSONStrings can be written using double quotes
- */
-
-
-function testcase() {
- return JSON.parse('"abc"')==="abc";
- }
-runTestCase(testcase);
diff --git a/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g2-2.js b/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g2-2.js deleted file mode 100644 index 92f5a6bb1..000000000 --- a/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g2-2.js +++ /dev/null @@ -1,19 +0,0 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-
-/**
- * @path ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g2-2.js
- * @description A JSONString may not be delimited by single quotes
- */
-function testcase() {
- try {
- if (JSON.parse("'abc'") ==='abc') return false;
- }
- catch (e) {
- return true;
- }
- }
-runTestCase(testcase);
diff --git a/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g2-3.js b/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g2-3.js deleted file mode 100644 index 999874409..000000000 --- a/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g2-3.js +++ /dev/null @@ -1,19 +0,0 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-
-/**
- * @path ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g2-3.js
- * @description A JSONString may not be delimited by Uncode escaped quotes
- */
-function testcase() {
- try {
- if (JSON.parse("\\u0022abc\\u0022") ==='abc') return false;
- }
- catch (e) {
- return true;
- }
- }
-runTestCase(testcase);
diff --git a/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g2-4.js b/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g2-4.js deleted file mode 100644 index d4de78be9..000000000 --- a/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g2-4.js +++ /dev/null @@ -1,19 +0,0 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-
-/**
- * @path ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g2-4.js
- * @description A JSONString must both begin and end with double quotes
- */
-function testcase() {
- try {
- if (JSON.parse('"ab'+"c'") ==='abc') return false;
- }
- catch (e) {
- return true;
- }
- }
-runTestCase(testcase);
diff --git a/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g2-5.js b/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g2-5.js deleted file mode 100644 index 2426de9b5..000000000 --- a/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g2-5.js +++ /dev/null @@ -1,15 +0,0 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g2-5.js
- * @description A JSONStrings can contain no JSONStringCharacters (Empty JSONStrings)
- */
-
-
-function testcase() {
- return JSON.parse('""')==="";
- }
-runTestCase(testcase);
diff --git a/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g4-1.js b/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g4-1.js deleted file mode 100644 index f1dfd81c9..000000000 --- a/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g4-1.js +++ /dev/null @@ -1,20 +0,0 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g4-1.js
- * @description The JSON lexical grammar does not allow a JSONStringCharacter to be any of the Unicode characters U+0000 thru U+0007
- */
-
-
-function testcase() {
- try {
- JSON.parse('"\u0000\u0001\u0002\u0003\u0004\u0005\u0006\u0007"'); // invalid string characters should produce a syntax error
- }
- catch (e) {
- return true; // treat any exception as a pass, other tests ensure that JSON.parse throws SyntaxError exceptions
- }
- }
-runTestCase(testcase);
diff --git a/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g4-2.js b/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g4-2.js deleted file mode 100644 index e1a6db9b6..000000000 --- a/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g4-2.js +++ /dev/null @@ -1,20 +0,0 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g4-2.js
- * @description The JSON lexical grammar does not allow a JSONStringCharacter to be any of the Unicode characters U+0008 thru U+000F
- */
-
-
-function testcase() {
- try {
- JSON.parse('"\u0008\u0009\u000a\u000b\u000c\u000d\u000e\u000f"'); // invalid string characters should produce a syntax error
- }
- catch (e) {
- return true; // treat any exception as a pass, other tests ensure that JSON.parse throws SyntaxError exceptions
- }
- }
-runTestCase(testcase);
diff --git a/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g4-3.js b/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g4-3.js deleted file mode 100644 index dd06226bb..000000000 --- a/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g4-3.js +++ /dev/null @@ -1,20 +0,0 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g4-3.js
- * @description The JSON lexical grammar does not allow a JSONStringCharacter to be any of the Unicode characters U+0010 thru U+0017
- */
-
-
-function testcase() {
- try {
- JSON.parse('"\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017"'); // invalid string characters should produce a syntax error
- }
- catch (e) {
- return true; // treat any exception as a pass, other tests ensure that JSON.parse throws SyntaxError exceptions
- }
- }
-runTestCase(testcase);
diff --git a/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g4-4.js b/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g4-4.js deleted file mode 100644 index f5f48409c..000000000 --- a/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g4-4.js +++ /dev/null @@ -1,20 +0,0 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g4-4.js
- * @description The JSON lexical grammar does not allow a JSONStringCharacter to be any of the Unicode characters U+0018 thru U+001F
- */
-
-
-function testcase() {
- try {
- JSON.parse('"\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f"'); // invalid string characters should produce a syntax error
- }
- catch (e) {
- if (e.name === 'SyntaxError') return true;
- }
- }
-runTestCase(testcase);
diff --git a/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g5-1.js b/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g5-1.js deleted file mode 100644 index 4450bfd32..000000000 --- a/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g5-1.js +++ /dev/null @@ -1,14 +0,0 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-
-/**
- * @path ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g5-1.js
- * @description The JSON lexical grammar allows Unicode escape sequences in a JSONString
- */
-function testcase() {
- return JSON.parse('"\\u0058"')==='X';
- }
-runTestCase(testcase);
diff --git a/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g5-2.js b/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g5-2.js deleted file mode 100644 index 0b1838b4c..000000000 --- a/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g5-2.js +++ /dev/null @@ -1,19 +0,0 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-
-/**
- * @path ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g5-2.js
- * @description A JSONStringCharacter UnicodeEscape may not have fewer than 4 hex characters
- */
-function testcase() {
- try {
- JSON.parse('"\\u005"')
- }
- catch (e) {
- return e.name==='SyntaxError'
- }
- }
-runTestCase(testcase);
diff --git a/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g5-3.js b/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g5-3.js deleted file mode 100644 index 34e9479d8..000000000 --- a/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g5-3.js +++ /dev/null @@ -1,19 +0,0 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-
-/**
- * @path ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g5-3.js
- * @description A JSONStringCharacter UnicodeEscape may not include any non=hex characters
- */
-function testcase() {
- try {
- JSON.parse('"\\u0X50"')
- }
- catch (e) {
- return e.name==='SyntaxError'
- }
- }
-runTestCase(testcase);
diff --git a/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g6-1.js b/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g6-1.js deleted file mode 100644 index 70c91c101..000000000 --- a/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g6-1.js +++ /dev/null @@ -1,15 +0,0 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g6-1.js
- * @description The JSON lexical grammer allows '/' as a JSONEscapeCharacter after '' in a JSONString
- */
-
-
-function testcase() {
- return JSON.parse('"\\/"')==='/';
- }
-runTestCase(testcase);
diff --git a/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g6-2.js b/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g6-2.js deleted file mode 100644 index 9b2c93bc0..000000000 --- a/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g6-2.js +++ /dev/null @@ -1,15 +0,0 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g6-2.js
- * @description The JSON lexical grammer allows '' as a JSONEscapeCharacter after '' in a JSONString
- */
-
-
-function testcase() {
- return JSON.parse('"\\\\"')==='\\';
- }
-runTestCase(testcase);
diff --git a/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g6-3.js b/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g6-3.js deleted file mode 100644 index 0f3b38930..000000000 --- a/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g6-3.js +++ /dev/null @@ -1,15 +0,0 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g6-3.js
- * @description The JSON lexical grammer allows 'b' as a JSONEscapeCharacter after '' in a JSONString
- */
-
-
-function testcase() {
- return JSON.parse('"\\b"')==='\b';
- }
-runTestCase(testcase);
diff --git a/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g6-4.js b/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g6-4.js deleted file mode 100644 index 8a9f169ff..000000000 --- a/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g6-4.js +++ /dev/null @@ -1,15 +0,0 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g6-4.js
- * @description The JSON lexical grammer allows 'f' as a JSONEscapeCharacter after '' in a JSONString
- */
-
-
-function testcase() {
- return JSON.parse('"\\f"')==='\f';
- }
-runTestCase(testcase);
diff --git a/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g6-5.js b/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g6-5.js deleted file mode 100644 index e63743ad6..000000000 --- a/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g6-5.js +++ /dev/null @@ -1,15 +0,0 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g6-5.js
- * @description The JSON lexical grammer allows 'n' as a JSONEscapeCharacter after '' in a JSONString
- */
-
-
-function testcase() {
- return JSON.parse('"\\n"')==='\n';
- }
-runTestCase(testcase);
diff --git a/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g6-6.js b/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g6-6.js deleted file mode 100644 index 7f1c51777..000000000 --- a/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g6-6.js +++ /dev/null @@ -1,15 +0,0 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g6-6.js
- * @description The JSON lexical grammer allows 'r' as a JSONEscapeCharacter after '' in a JSONString
- */
-
-
-function testcase() {
- return JSON.parse('"\\r"')==='\r';
- }
-runTestCase(testcase);
diff --git a/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g6-7.js b/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g6-7.js deleted file mode 100644 index ed95c0f7b..000000000 --- a/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g6-7.js +++ /dev/null @@ -1,15 +0,0 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.12/15.12.1/15.12.1.1/15.12.1.1-g6-7.js
- * @description The JSON lexical grammer allows 't' as a JSONEscapeCharacter after '' in a JSONString
- */
-
-
-function testcase() {
- return JSON.parse('"\\t"')==='\t';
- }
-runTestCase(testcase);
|