mirror of
https://github.com/tc39/test262.git
synced 2025-06-04 14:10:30 +02:00
Merge pull request #356 from anba/regexp-cleanup
Clean-up test comments and remove invalid tests
This commit is contained in:
commit
1bc6441cae
@ -1,24 +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.
|
|
||||||
|
|
||||||
/*---
|
|
||||||
es5id: 15.10.2.15-3-1
|
|
||||||
description: >
|
|
||||||
Pattern - SyntaxError was thrown when 'A' does not contain exactly
|
|
||||||
one character (15.10.2.5 step 3)
|
|
||||||
includes: [runTestCase.js]
|
|
||||||
---*/
|
|
||||||
|
|
||||||
function testcase() {
|
|
||||||
try {
|
|
||||||
var regExp = new RegExp("^[/w-c]$");
|
|
||||||
|
|
||||||
return false;
|
|
||||||
} catch (e) {
|
|
||||||
return e instanceof SyntaxError;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
runTestCase(testcase);
|
|
@ -1,24 +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.
|
|
||||||
|
|
||||||
/*---
|
|
||||||
es5id: 15.10.2.15-3-2
|
|
||||||
description: >
|
|
||||||
Pattern - SyntaxError was thrown when 'B' does not contain exactly
|
|
||||||
one character (15.10.2.5 step 3)
|
|
||||||
includes: [runTestCase.js]
|
|
||||||
---*/
|
|
||||||
|
|
||||||
function testcase() {
|
|
||||||
try {
|
|
||||||
var regExp = new RegExp("^[a-/w]$");
|
|
||||||
|
|
||||||
return false;
|
|
||||||
} catch (e) {
|
|
||||||
return e instanceof SyntaxError;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
runTestCase(testcase);
|
|
@ -10,16 +10,8 @@ description: >
|
|||||||
Pattern - SyntaxError was thrown when one character in CharSet 'A'
|
Pattern - SyntaxError was thrown when one character in CharSet 'A'
|
||||||
greater than one character in CharSet 'B' (15.10.2.15
|
greater than one character in CharSet 'B' (15.10.2.15
|
||||||
CharacterRange step 6)
|
CharacterRange step 6)
|
||||||
includes: [runTestCase.js]
|
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
function testcase() {
|
assert.throws(SyntaxError, function() {
|
||||||
try {
|
var regExp = new RegExp("^[z-a]$");
|
||||||
var regExp = new RegExp("^[z-a]$");
|
});
|
||||||
|
|
||||||
return false;
|
|
||||||
} catch (e) {
|
|
||||||
return e instanceof SyntaxError;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
runTestCase(testcase);
|
|
||||||
|
@ -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.
|
|
||||||
|
|
||||||
/*---
|
|
||||||
es5id: 15.10.2.2-1
|
|
||||||
description: Pattern - SyntaxError was thrown when compile a pattern
|
|
||||||
includes: [runTestCase.js]
|
|
||||||
---*/
|
|
||||||
|
|
||||||
function testcase() {
|
|
||||||
try {
|
|
||||||
var regExp = new RegExp("\\");
|
|
||||||
|
|
||||||
return false;
|
|
||||||
} catch (e) {
|
|
||||||
return e instanceof SyntaxError;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
runTestCase(testcase);
|
|
@ -9,16 +9,8 @@ es5id: 15.10.2.5-3-1
|
|||||||
description: >
|
description: >
|
||||||
Term - SyntaxError was thrown when max is finite and less than min
|
Term - SyntaxError was thrown when max is finite and less than min
|
||||||
(15.10.2.5 step 3)
|
(15.10.2.5 step 3)
|
||||||
includes: [runTestCase.js]
|
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
function testcase() {
|
assert.throws(SyntaxError, function() {
|
||||||
try {
|
var regExp = new RegExp("0{2,1}");
|
||||||
var regExp = new RegExp("0{2,1}");
|
});
|
||||||
|
|
||||||
return false;
|
|
||||||
} catch (e) {
|
|
||||||
return e instanceof SyntaxError;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
runTestCase(testcase);
|
|
||||||
|
@ -7,14 +7,10 @@
|
|||||||
/*---
|
/*---
|
||||||
es5id: 15.10.4.1-1
|
es5id: 15.10.4.1-1
|
||||||
description: >
|
description: >
|
||||||
RegExp - no TypeError is thrown when pattern is an object whose
|
RegExp - no TypeError is thrown when pattern is an object and
|
||||||
[[Class]] property is 'RegExp' and flags is not undefined
|
has a [[RegExpMatcher]] internal slot, and flags is not undefined
|
||||||
includes: [runTestCase.js]
|
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
function testcase() {
|
var regObj = new RegExp();
|
||||||
var regObj = new RegExp();
|
var regExpObj = new RegExp(regObj, "g");
|
||||||
var regExpObj = new RegExp(regObj, "g");
|
assert(regExpObj.global);
|
||||||
return regExpObj.global;
|
|
||||||
}
|
|
||||||
runTestCase(testcase);
|
|
||||||
|
@ -9,16 +9,8 @@ es5id: 15.10.4.1-2
|
|||||||
description: >
|
description: >
|
||||||
RegExp - the thrown error is SyntaxError instead of RegExpError
|
RegExp - the thrown error is SyntaxError instead of RegExpError
|
||||||
when the characters of 'P' do not have the syntactic form Pattern
|
when the characters of 'P' do not have the syntactic form Pattern
|
||||||
includes: [runTestCase.js]
|
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
function testcase() {
|
assert.throws(SyntaxError, function() {
|
||||||
try {
|
var regExpObj = new RegExp('\\');
|
||||||
var regExpObj = new RegExp('\\');
|
});
|
||||||
|
|
||||||
return false;
|
|
||||||
} catch (e) {
|
|
||||||
return e instanceof SyntaxError;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
runTestCase(testcase);
|
|
||||||
|
@ -9,16 +9,8 @@ es5id: 15.10.4.1-3
|
|||||||
description: >
|
description: >
|
||||||
RegExp - the thrown error is SyntaxError instead of RegExpError
|
RegExp - the thrown error is SyntaxError instead of RegExpError
|
||||||
when 'F' contains any character other than 'g', 'i', or 'm'
|
when 'F' contains any character other than 'g', 'i', or 'm'
|
||||||
includes: [runTestCase.js]
|
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
function testcase() {
|
assert.throws(SyntaxError, function() {
|
||||||
try {
|
var regExpObj = new RegExp('abc', 'a');
|
||||||
var regExpObj = new RegExp('abc', 'a');
|
});
|
||||||
|
|
||||||
return false;
|
|
||||||
} catch (e) {
|
|
||||||
return e instanceof SyntaxError;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
runTestCase(testcase);
|
|
||||||
|
@ -7,16 +7,6 @@
|
|||||||
/*---
|
/*---
|
||||||
es5id: 15.10.4.1-4
|
es5id: 15.10.4.1-4
|
||||||
description: RegExp - the SyntaxError is not thrown when flags is 'gim'
|
description: RegExp - the SyntaxError is not thrown when flags is 'gim'
|
||||||
includes: [runTestCase.js]
|
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
function testcase() {
|
var regExpObj = new RegExp('abc', 'gim');
|
||||||
try {
|
|
||||||
var regExpObj = new RegExp('abc', 'gim');
|
|
||||||
|
|
||||||
return true;
|
|
||||||
} catch (e) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
runTestCase(testcase);
|
|
||||||
|
@ -5,8 +5,11 @@
|
|||||||
info: >
|
info: >
|
||||||
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
||||||
following:
|
following:
|
||||||
If A does not contain exactly one character or B does not contain exactly one character then throw
|
2. Let a be the one character in CharSet A.
|
||||||
a SyntaxError exception
|
3. Let b be the one character in CharSet B.
|
||||||
|
4. Let i be the character value of character a.
|
||||||
|
5. Let j be the character value of character b.
|
||||||
|
6. If i > j, throw a SyntaxError exception.
|
||||||
es5id: 15.10.2.15_A1_T1
|
es5id: 15.10.2.15_A1_T1
|
||||||
description: >
|
description: >
|
||||||
Checking if execution of "/[b-ac-e]/.exec("a")" leads to throwing
|
Checking if execution of "/[b-ac-e]/.exec("a")" leads to throwing
|
||||||
|
@ -5,8 +5,11 @@
|
|||||||
info: >
|
info: >
|
||||||
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
||||||
following:
|
following:
|
||||||
If A does not contain exactly one character or B does not contain exactly one character then throw
|
2. Let a be the one character in CharSet A.
|
||||||
a SyntaxError exception
|
3. Let b be the one character in CharSet B.
|
||||||
|
4. Let i be the character value of character a.
|
||||||
|
5. Let j be the character value of character b.
|
||||||
|
6. If i > j, throw a SyntaxError exception.
|
||||||
es5id: 15.10.2.15_A1_T10
|
es5id: 15.10.2.15_A1_T10
|
||||||
description: >
|
description: >
|
||||||
Checking if execution of "/[\10b-G]/.exec("a")" leads to throwing
|
Checking if execution of "/[\10b-G]/.exec("a")" leads to throwing
|
||||||
|
@ -5,8 +5,11 @@
|
|||||||
info: >
|
info: >
|
||||||
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
||||||
following:
|
following:
|
||||||
If A does not contain exactly one character or B does not contain exactly one character then throw
|
2. Let a be the one character in CharSet A.
|
||||||
a SyntaxError exception
|
3. Let b be the one character in CharSet B.
|
||||||
|
4. Let i be the character value of character a.
|
||||||
|
5. Let j be the character value of character b.
|
||||||
|
6. If i > j, throw a SyntaxError exception.
|
||||||
es5id: 15.10.2.15_A1_T11
|
es5id: 15.10.2.15_A1_T11
|
||||||
description: >
|
description: >
|
||||||
Checking if execution of "/[\bd-G]/.exec("a")" leads to throwing
|
Checking if execution of "/[\bd-G]/.exec("a")" leads to throwing
|
||||||
|
@ -5,8 +5,11 @@
|
|||||||
info: >
|
info: >
|
||||||
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
||||||
following:
|
following:
|
||||||
If A does not contain exactly one character or B does not contain exactly one character then throw
|
2. Let a be the one character in CharSet A.
|
||||||
a SyntaxError exception
|
3. Let b be the one character in CharSet B.
|
||||||
|
4. Let i be the character value of character a.
|
||||||
|
5. Let j be the character value of character b.
|
||||||
|
6. If i > j, throw a SyntaxError exception.
|
||||||
es5id: 15.10.2.15_A1_T12
|
es5id: 15.10.2.15_A1_T12
|
||||||
description: >
|
description: >
|
||||||
Checking if execution of "/[\Bd-G]/.exec("a")" leads to throwing
|
Checking if execution of "/[\Bd-G]/.exec("a")" leads to throwing
|
||||||
|
@ -5,8 +5,11 @@
|
|||||||
info: >
|
info: >
|
||||||
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
||||||
following:
|
following:
|
||||||
If A does not contain exactly one character or B does not contain exactly one character then throw
|
2. Let a be the one character in CharSet A.
|
||||||
a SyntaxError exception
|
3. Let b be the one character in CharSet B.
|
||||||
|
4. Let i be the character value of character a.
|
||||||
|
5. Let j be the character value of character b.
|
||||||
|
6. If i > j, throw a SyntaxError exception.
|
||||||
es5id: 15.10.2.15_A1_T13
|
es5id: 15.10.2.15_A1_T13
|
||||||
description: >
|
description: >
|
||||||
Checking if execution of "/[\td-G]/.exec("a")" leads to throwing
|
Checking if execution of "/[\td-G]/.exec("a")" leads to throwing
|
||||||
|
@ -5,8 +5,11 @@
|
|||||||
info: >
|
info: >
|
||||||
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
||||||
following:
|
following:
|
||||||
If A does not contain exactly one character or B does not contain exactly one character then throw
|
2. Let a be the one character in CharSet A.
|
||||||
a SyntaxError exception
|
3. Let b be the one character in CharSet B.
|
||||||
|
4. Let i be the character value of character a.
|
||||||
|
5. Let j be the character value of character b.
|
||||||
|
6. If i > j, throw a SyntaxError exception.
|
||||||
es5id: 15.10.2.15_A1_T14
|
es5id: 15.10.2.15_A1_T14
|
||||||
description: >
|
description: >
|
||||||
Checking if execution of "/[\nd-G]/.exec("a")" leads to throwing
|
Checking if execution of "/[\nd-G]/.exec("a")" leads to throwing
|
||||||
|
@ -5,8 +5,11 @@
|
|||||||
info: >
|
info: >
|
||||||
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
||||||
following:
|
following:
|
||||||
If A does not contain exactly one character or B does not contain exactly one character then throw
|
2. Let a be the one character in CharSet A.
|
||||||
a SyntaxError exception
|
3. Let b be the one character in CharSet B.
|
||||||
|
4. Let i be the character value of character a.
|
||||||
|
5. Let j be the character value of character b.
|
||||||
|
6. If i > j, throw a SyntaxError exception.
|
||||||
es5id: 15.10.2.15_A1_T15
|
es5id: 15.10.2.15_A1_T15
|
||||||
description: >
|
description: >
|
||||||
Checking if execution of "/[\vd-G]/.exec("a")" leads to throwing
|
Checking if execution of "/[\vd-G]/.exec("a")" leads to throwing
|
||||||
|
@ -5,8 +5,11 @@
|
|||||||
info: >
|
info: >
|
||||||
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
||||||
following:
|
following:
|
||||||
If A does not contain exactly one character or B does not contain exactly one character then throw
|
2. Let a be the one character in CharSet A.
|
||||||
a SyntaxError exception
|
3. Let b be the one character in CharSet B.
|
||||||
|
4. Let i be the character value of character a.
|
||||||
|
5. Let j be the character value of character b.
|
||||||
|
6. If i > j, throw a SyntaxError exception.
|
||||||
es5id: 15.10.2.15_A1_T16
|
es5id: 15.10.2.15_A1_T16
|
||||||
description: >
|
description: >
|
||||||
Checking if execution of "/[\fd-G]/.exec("a")" leads to throwing
|
Checking if execution of "/[\fd-G]/.exec("a")" leads to throwing
|
||||||
|
@ -5,8 +5,11 @@
|
|||||||
info: >
|
info: >
|
||||||
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
||||||
following:
|
following:
|
||||||
If A does not contain exactly one character or B does not contain exactly one character then throw
|
2. Let a be the one character in CharSet A.
|
||||||
a SyntaxError exception
|
3. Let b be the one character in CharSet B.
|
||||||
|
4. Let i be the character value of character a.
|
||||||
|
5. Let j be the character value of character b.
|
||||||
|
6. If i > j, throw a SyntaxError exception.
|
||||||
es5id: 15.10.2.15_A1_T17
|
es5id: 15.10.2.15_A1_T17
|
||||||
description: >
|
description: >
|
||||||
Checking if execution of "/[\rd-G]/.exec("a")" leads to throwing
|
Checking if execution of "/[\rd-G]/.exec("a")" leads to throwing
|
||||||
|
@ -5,8 +5,11 @@
|
|||||||
info: >
|
info: >
|
||||||
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
||||||
following:
|
following:
|
||||||
If A does not contain exactly one character or B does not contain exactly one character then throw
|
2. Let a be the one character in CharSet A.
|
||||||
a SyntaxError exception
|
3. Let b be the one character in CharSet B.
|
||||||
|
4. Let i be the character value of character a.
|
||||||
|
5. Let j be the character value of character b.
|
||||||
|
6. If i > j, throw a SyntaxError exception.
|
||||||
es5id: 15.10.2.15_A1_T18
|
es5id: 15.10.2.15_A1_T18
|
||||||
description: >
|
description: >
|
||||||
Checking if execution of "/[\c0001d-G]/.exec("1")" leads to
|
Checking if execution of "/[\c0001d-G]/.exec("1")" leads to
|
||||||
|
@ -5,8 +5,11 @@
|
|||||||
info: >
|
info: >
|
||||||
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
||||||
following:
|
following:
|
||||||
If A does not contain exactly one character or B does not contain exactly one character then throw
|
2. Let a be the one character in CharSet A.
|
||||||
a SyntaxError exception
|
3. Let b be the one character in CharSet B.
|
||||||
|
4. Let i be the character value of character a.
|
||||||
|
5. Let j be the character value of character b.
|
||||||
|
6. If i > j, throw a SyntaxError exception.
|
||||||
es5id: 15.10.2.15_A1_T19
|
es5id: 15.10.2.15_A1_T19
|
||||||
description: >
|
description: >
|
||||||
Checking if execution of "/[\x0061d-G]/.exec("1")" leads to
|
Checking if execution of "/[\x0061d-G]/.exec("1")" leads to
|
||||||
|
@ -5,8 +5,11 @@
|
|||||||
info: >
|
info: >
|
||||||
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
||||||
following:
|
following:
|
||||||
If A does not contain exactly one character or B does not contain exactly one character then throw
|
2. Let a be the one character in CharSet A.
|
||||||
a SyntaxError exception
|
3. Let b be the one character in CharSet B.
|
||||||
|
4. Let i be the character value of character a.
|
||||||
|
5. Let j be the character value of character b.
|
||||||
|
6. If i > j, throw a SyntaxError exception.
|
||||||
es5id: 15.10.2.15_A1_T2
|
es5id: 15.10.2.15_A1_T2
|
||||||
description: >
|
description: >
|
||||||
Checking if execution of "/[a-dc-b]/.exec("a")" leads to throwing
|
Checking if execution of "/[a-dc-b]/.exec("a")" leads to throwing
|
||||||
|
@ -5,8 +5,11 @@
|
|||||||
info: >
|
info: >
|
||||||
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
||||||
following:
|
following:
|
||||||
If A does not contain exactly one character or B does not contain exactly one character then throw
|
2. Let a be the one character in CharSet A.
|
||||||
a SyntaxError exception
|
3. Let b be the one character in CharSet B.
|
||||||
|
4. Let i be the character value of character a.
|
||||||
|
5. Let j be the character value of character b.
|
||||||
|
6. If i > j, throw a SyntaxError exception.
|
||||||
es5id: 15.10.2.15_A1_T20
|
es5id: 15.10.2.15_A1_T20
|
||||||
description: >
|
description: >
|
||||||
Checking if execution of "/[\u0061d-G]/.exec("a")" leads to
|
Checking if execution of "/[\u0061d-G]/.exec("a")" leads to
|
||||||
|
@ -5,8 +5,11 @@
|
|||||||
info: >
|
info: >
|
||||||
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
||||||
following:
|
following:
|
||||||
If A does not contain exactly one character or B does not contain exactly one character then throw
|
2. Let a be the one character in CharSet A.
|
||||||
a SyntaxError exception
|
3. Let b be the one character in CharSet B.
|
||||||
|
4. Let i be the character value of character a.
|
||||||
|
5. Let j be the character value of character b.
|
||||||
|
6. If i > j, throw a SyntaxError exception.
|
||||||
es5id: 15.10.2.15_A1_T21
|
es5id: 15.10.2.15_A1_T21
|
||||||
description: >
|
description: >
|
||||||
Checking if execution of "/[\ad-G]/.exec("a")" leads to throwing
|
Checking if execution of "/[\ad-G]/.exec("a")" leads to throwing
|
||||||
|
@ -5,8 +5,11 @@
|
|||||||
info: >
|
info: >
|
||||||
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
||||||
following:
|
following:
|
||||||
If A does not contain exactly one character or B does not contain exactly one character then throw
|
2. Let a be the one character in CharSet A.
|
||||||
a SyntaxError exception
|
3. Let b be the one character in CharSet B.
|
||||||
|
4. Let i be the character value of character a.
|
||||||
|
5. Let j be the character value of character b.
|
||||||
|
6. If i > j, throw a SyntaxError exception.
|
||||||
es5id: 15.10.2.15_A1_T22
|
es5id: 15.10.2.15_A1_T22
|
||||||
description: >
|
description: >
|
||||||
Checking if execution of "/[c-eb-a]/.exec("a")" leads to throwing
|
Checking if execution of "/[c-eb-a]/.exec("a")" leads to throwing
|
||||||
|
@ -5,8 +5,11 @@
|
|||||||
info: >
|
info: >
|
||||||
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
||||||
following:
|
following:
|
||||||
If A does not contain exactly one character or B does not contain exactly one character then throw
|
2. Let a be the one character in CharSet A.
|
||||||
a SyntaxError exception
|
3. Let b be the one character in CharSet B.
|
||||||
|
4. Let i be the character value of character a.
|
||||||
|
5. Let j be the character value of character b.
|
||||||
|
6. If i > j, throw a SyntaxError exception.
|
||||||
es5id: 15.10.2.15_A1_T23
|
es5id: 15.10.2.15_A1_T23
|
||||||
description: >
|
description: >
|
||||||
Checking if execution of "/[b-G\d]/.exec("a")" leads to throwing
|
Checking if execution of "/[b-G\d]/.exec("a")" leads to throwing
|
||||||
|
@ -5,8 +5,11 @@
|
|||||||
info: >
|
info: >
|
||||||
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
||||||
following:
|
following:
|
||||||
If A does not contain exactly one character or B does not contain exactly one character then throw
|
2. Let a be the one character in CharSet A.
|
||||||
a SyntaxError exception
|
3. Let b be the one character in CharSet B.
|
||||||
|
4. Let i be the character value of character a.
|
||||||
|
5. Let j be the character value of character b.
|
||||||
|
6. If i > j, throw a SyntaxError exception.
|
||||||
es5id: 15.10.2.15_A1_T24
|
es5id: 15.10.2.15_A1_T24
|
||||||
description: >
|
description: >
|
||||||
Checking if execution of "/[b-G\D]/.exec("a")" leads to throwing
|
Checking if execution of "/[b-G\D]/.exec("a")" leads to throwing
|
||||||
|
@ -5,8 +5,11 @@
|
|||||||
info: >
|
info: >
|
||||||
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
||||||
following:
|
following:
|
||||||
If A does not contain exactly one character or B does not contain exactly one character then throw
|
2. Let a be the one character in CharSet A.
|
||||||
a SyntaxError exception
|
3. Let b be the one character in CharSet B.
|
||||||
|
4. Let i be the character value of character a.
|
||||||
|
5. Let j be the character value of character b.
|
||||||
|
6. If i > j, throw a SyntaxError exception.
|
||||||
es5id: 15.10.2.15_A1_T25
|
es5id: 15.10.2.15_A1_T25
|
||||||
description: >
|
description: >
|
||||||
Checking if execution of "/[b-G\s]/.exec("a")" leads to throwing
|
Checking if execution of "/[b-G\s]/.exec("a")" leads to throwing
|
||||||
|
@ -5,8 +5,11 @@
|
|||||||
info: >
|
info: >
|
||||||
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
||||||
following:
|
following:
|
||||||
If A does not contain exactly one character or B does not contain exactly one character then throw
|
2. Let a be the one character in CharSet A.
|
||||||
a SyntaxError exception
|
3. Let b be the one character in CharSet B.
|
||||||
|
4. Let i be the character value of character a.
|
||||||
|
5. Let j be the character value of character b.
|
||||||
|
6. If i > j, throw a SyntaxError exception.
|
||||||
es5id: 15.10.2.15_A1_T26
|
es5id: 15.10.2.15_A1_T26
|
||||||
description: >
|
description: >
|
||||||
Checking if execution of "/[b-G\S]/.exec("a")" leads to throwing
|
Checking if execution of "/[b-G\S]/.exec("a")" leads to throwing
|
||||||
|
@ -5,8 +5,11 @@
|
|||||||
info: >
|
info: >
|
||||||
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
||||||
following:
|
following:
|
||||||
If A does not contain exactly one character or B does not contain exactly one character then throw
|
2. Let a be the one character in CharSet A.
|
||||||
a SyntaxError exception
|
3. Let b be the one character in CharSet B.
|
||||||
|
4. Let i be the character value of character a.
|
||||||
|
5. Let j be the character value of character b.
|
||||||
|
6. If i > j, throw a SyntaxError exception.
|
||||||
es5id: 15.10.2.15_A1_T27
|
es5id: 15.10.2.15_A1_T27
|
||||||
description: >
|
description: >
|
||||||
Checking if execution of "/[b-G\w]/.exec("a")" leads to throwing
|
Checking if execution of "/[b-G\w]/.exec("a")" leads to throwing
|
||||||
|
@ -5,8 +5,11 @@
|
|||||||
info: >
|
info: >
|
||||||
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
||||||
following:
|
following:
|
||||||
If A does not contain exactly one character or B does not contain exactly one character then throw
|
2. Let a be the one character in CharSet A.
|
||||||
a SyntaxError exception
|
3. Let b be the one character in CharSet B.
|
||||||
|
4. Let i be the character value of character a.
|
||||||
|
5. Let j be the character value of character b.
|
||||||
|
6. If i > j, throw a SyntaxError exception.
|
||||||
es5id: 15.10.2.15_A1_T28
|
es5id: 15.10.2.15_A1_T28
|
||||||
description: >
|
description: >
|
||||||
Checking if execution of "/[b-G\W]/.exec("a")" leads to throwing
|
Checking if execution of "/[b-G\W]/.exec("a")" leads to throwing
|
||||||
|
@ -5,8 +5,11 @@
|
|||||||
info: >
|
info: >
|
||||||
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
||||||
following:
|
following:
|
||||||
If A does not contain exactly one character or B does not contain exactly one character then throw
|
2. Let a be the one character in CharSet A.
|
||||||
a SyntaxError exception
|
3. Let b be the one character in CharSet B.
|
||||||
|
4. Let i be the character value of character a.
|
||||||
|
5. Let j be the character value of character b.
|
||||||
|
6. If i > j, throw a SyntaxError exception.
|
||||||
es5id: 15.10.2.15_A1_T29
|
es5id: 15.10.2.15_A1_T29
|
||||||
description: >
|
description: >
|
||||||
Checking if execution of "/[b-G\0]/.exec("a")" leads to throwing
|
Checking if execution of "/[b-G\0]/.exec("a")" leads to throwing
|
||||||
|
@ -5,8 +5,11 @@
|
|||||||
info: >
|
info: >
|
||||||
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
||||||
following:
|
following:
|
||||||
If A does not contain exactly one character or B does not contain exactly one character then throw
|
2. Let a be the one character in CharSet A.
|
||||||
a SyntaxError exception
|
3. Let b be the one character in CharSet B.
|
||||||
|
4. Let i be the character value of character a.
|
||||||
|
5. Let j be the character value of character b.
|
||||||
|
6. If i > j, throw a SyntaxError exception.
|
||||||
es5id: 15.10.2.15_A1_T3
|
es5id: 15.10.2.15_A1_T3
|
||||||
description: >
|
description: >
|
||||||
Checking if execution of "/[\db-G]/.exec("a")" leads to throwing
|
Checking if execution of "/[\db-G]/.exec("a")" leads to throwing
|
||||||
|
@ -5,8 +5,11 @@
|
|||||||
info: >
|
info: >
|
||||||
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
||||||
following:
|
following:
|
||||||
If A does not contain exactly one character or B does not contain exactly one character then throw
|
2. Let a be the one character in CharSet A.
|
||||||
a SyntaxError exception
|
3. Let b be the one character in CharSet B.
|
||||||
|
4. Let i be the character value of character a.
|
||||||
|
5. Let j be the character value of character b.
|
||||||
|
6. If i > j, throw a SyntaxError exception.
|
||||||
es5id: 15.10.2.15_A1_T30
|
es5id: 15.10.2.15_A1_T30
|
||||||
description: >
|
description: >
|
||||||
Checking if execution of "/[b-G\10]/.exec("a")" leads to throwing
|
Checking if execution of "/[b-G\10]/.exec("a")" leads to throwing
|
||||||
|
@ -5,8 +5,11 @@
|
|||||||
info: >
|
info: >
|
||||||
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
||||||
following:
|
following:
|
||||||
If A does not contain exactly one character or B does not contain exactly one character then throw
|
2. Let a be the one character in CharSet A.
|
||||||
a SyntaxError exception
|
3. Let b be the one character in CharSet B.
|
||||||
|
4. Let i be the character value of character a.
|
||||||
|
5. Let j be the character value of character b.
|
||||||
|
6. If i > j, throw a SyntaxError exception.
|
||||||
es5id: 15.10.2.15_A1_T31
|
es5id: 15.10.2.15_A1_T31
|
||||||
description: >
|
description: >
|
||||||
Checking if execution of "/[d-G\b]/.exec("a")" leads to throwing
|
Checking if execution of "/[d-G\b]/.exec("a")" leads to throwing
|
||||||
|
@ -5,8 +5,11 @@
|
|||||||
info: >
|
info: >
|
||||||
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
||||||
following:
|
following:
|
||||||
If A does not contain exactly one character or B does not contain exactly one character then throw
|
2. Let a be the one character in CharSet A.
|
||||||
a SyntaxError exception
|
3. Let b be the one character in CharSet B.
|
||||||
|
4. Let i be the character value of character a.
|
||||||
|
5. Let j be the character value of character b.
|
||||||
|
6. If i > j, throw a SyntaxError exception.
|
||||||
es5id: 15.10.2.15_A1_T32
|
es5id: 15.10.2.15_A1_T32
|
||||||
description: >
|
description: >
|
||||||
Checking if execution of "/[d-G\B]/.exec("a")" leads to throwing
|
Checking if execution of "/[d-G\B]/.exec("a")" leads to throwing
|
||||||
|
@ -5,8 +5,11 @@
|
|||||||
info: >
|
info: >
|
||||||
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
||||||
following:
|
following:
|
||||||
If A does not contain exactly one character or B does not contain exactly one character then throw
|
2. Let a be the one character in CharSet A.
|
||||||
a SyntaxError exception
|
3. Let b be the one character in CharSet B.
|
||||||
|
4. Let i be the character value of character a.
|
||||||
|
5. Let j be the character value of character b.
|
||||||
|
6. If i > j, throw a SyntaxError exception.
|
||||||
es5id: 15.10.2.15_A1_T33
|
es5id: 15.10.2.15_A1_T33
|
||||||
description: >
|
description: >
|
||||||
Checking if execution of "/[d-G\t]/.exec("a")" leads to throwing
|
Checking if execution of "/[d-G\t]/.exec("a")" leads to throwing
|
||||||
|
@ -5,8 +5,11 @@
|
|||||||
info: >
|
info: >
|
||||||
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
||||||
following:
|
following:
|
||||||
If A does not contain exactly one character or B does not contain exactly one character then throw
|
2. Let a be the one character in CharSet A.
|
||||||
a SyntaxError exception
|
3. Let b be the one character in CharSet B.
|
||||||
|
4. Let i be the character value of character a.
|
||||||
|
5. Let j be the character value of character b.
|
||||||
|
6. If i > j, throw a SyntaxError exception.
|
||||||
es5id: 15.10.2.15_A1_T34
|
es5id: 15.10.2.15_A1_T34
|
||||||
description: >
|
description: >
|
||||||
Checking if execution of "/[d-G\n]/.exec("a")" leads to throwing
|
Checking if execution of "/[d-G\n]/.exec("a")" leads to throwing
|
||||||
|
@ -5,8 +5,11 @@
|
|||||||
info: >
|
info: >
|
||||||
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
||||||
following:
|
following:
|
||||||
If A does not contain exactly one character or B does not contain exactly one character then throw
|
2. Let a be the one character in CharSet A.
|
||||||
a SyntaxError exception
|
3. Let b be the one character in CharSet B.
|
||||||
|
4. Let i be the character value of character a.
|
||||||
|
5. Let j be the character value of character b.
|
||||||
|
6. If i > j, throw a SyntaxError exception.
|
||||||
es5id: 15.10.2.15_A1_T35
|
es5id: 15.10.2.15_A1_T35
|
||||||
description: >
|
description: >
|
||||||
Checking if execution of "/[d-G\v]/.exec("a")" leads to throwing
|
Checking if execution of "/[d-G\v]/.exec("a")" leads to throwing
|
||||||
|
@ -5,8 +5,11 @@
|
|||||||
info: >
|
info: >
|
||||||
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
||||||
following:
|
following:
|
||||||
If A does not contain exactly one character or B does not contain exactly one character then throw
|
2. Let a be the one character in CharSet A.
|
||||||
a SyntaxError exception
|
3. Let b be the one character in CharSet B.
|
||||||
|
4. Let i be the character value of character a.
|
||||||
|
5. Let j be the character value of character b.
|
||||||
|
6. If i > j, throw a SyntaxError exception.
|
||||||
es5id: 15.10.2.15_A1_T36
|
es5id: 15.10.2.15_A1_T36
|
||||||
description: >
|
description: >
|
||||||
Checking if execution of "/[d-G\f]/.exec("a")" leads to throwing
|
Checking if execution of "/[d-G\f]/.exec("a")" leads to throwing
|
||||||
|
@ -5,8 +5,11 @@
|
|||||||
info: >
|
info: >
|
||||||
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
||||||
following:
|
following:
|
||||||
If A does not contain exactly one character or B does not contain exactly one character then throw
|
2. Let a be the one character in CharSet A.
|
||||||
a SyntaxError exception
|
3. Let b be the one character in CharSet B.
|
||||||
|
4. Let i be the character value of character a.
|
||||||
|
5. Let j be the character value of character b.
|
||||||
|
6. If i > j, throw a SyntaxError exception.
|
||||||
es5id: 15.10.2.15_A1_T37
|
es5id: 15.10.2.15_A1_T37
|
||||||
description: >
|
description: >
|
||||||
Checking if execution of "/[d-G\r]/.exec("a")" leads to throwing
|
Checking if execution of "/[d-G\r]/.exec("a")" leads to throwing
|
||||||
|
@ -5,8 +5,11 @@
|
|||||||
info: >
|
info: >
|
||||||
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
||||||
following:
|
following:
|
||||||
If A does not contain exactly one character or B does not contain exactly one character then throw
|
2. Let a be the one character in CharSet A.
|
||||||
a SyntaxError exception
|
3. Let b be the one character in CharSet B.
|
||||||
|
4. Let i be the character value of character a.
|
||||||
|
5. Let j be the character value of character b.
|
||||||
|
6. If i > j, throw a SyntaxError exception.
|
||||||
es5id: 15.10.2.15_A1_T38
|
es5id: 15.10.2.15_A1_T38
|
||||||
description: >
|
description: >
|
||||||
Checking if execution of "/[d-G\c0001]/.exec("1")" leads to
|
Checking if execution of "/[d-G\c0001]/.exec("1")" leads to
|
||||||
|
@ -5,8 +5,11 @@
|
|||||||
info: >
|
info: >
|
||||||
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
||||||
following:
|
following:
|
||||||
If A does not contain exactly one character or B does not contain exactly one character then throw
|
2. Let a be the one character in CharSet A.
|
||||||
a SyntaxError exception
|
3. Let b be the one character in CharSet B.
|
||||||
|
4. Let i be the character value of character a.
|
||||||
|
5. Let j be the character value of character b.
|
||||||
|
6. If i > j, throw a SyntaxError exception.
|
||||||
es5id: 15.10.2.15_A1_T39
|
es5id: 15.10.2.15_A1_T39
|
||||||
description: >
|
description: >
|
||||||
Checking if execution of "/[d-G\x0061]/.exec("1")" leads to
|
Checking if execution of "/[d-G\x0061]/.exec("1")" leads to
|
||||||
|
@ -5,8 +5,11 @@
|
|||||||
info: >
|
info: >
|
||||||
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
||||||
following:
|
following:
|
||||||
If A does not contain exactly one character or B does not contain exactly one character then throw
|
2. Let a be the one character in CharSet A.
|
||||||
a SyntaxError exception
|
3. Let b be the one character in CharSet B.
|
||||||
|
4. Let i be the character value of character a.
|
||||||
|
5. Let j be the character value of character b.
|
||||||
|
6. If i > j, throw a SyntaxError exception.
|
||||||
es5id: 15.10.2.15_A1_T4
|
es5id: 15.10.2.15_A1_T4
|
||||||
description: >
|
description: >
|
||||||
Checking if execution of "/[\Db-G]/.exec("a")" leads to throwing
|
Checking if execution of "/[\Db-G]/.exec("a")" leads to throwing
|
||||||
|
@ -5,8 +5,11 @@
|
|||||||
info: >
|
info: >
|
||||||
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
||||||
following:
|
following:
|
||||||
If A does not contain exactly one character or B does not contain exactly one character then throw
|
2. Let a be the one character in CharSet A.
|
||||||
a SyntaxError exception
|
3. Let b be the one character in CharSet B.
|
||||||
|
4. Let i be the character value of character a.
|
||||||
|
5. Let j be the character value of character b.
|
||||||
|
6. If i > j, throw a SyntaxError exception.
|
||||||
es5id: 15.10.2.15_A1_T40
|
es5id: 15.10.2.15_A1_T40
|
||||||
description: >
|
description: >
|
||||||
Checking if execution of "/[d-G\u0061]/.exec("a")" leads to
|
Checking if execution of "/[d-G\u0061]/.exec("a")" leads to
|
||||||
|
@ -5,8 +5,11 @@
|
|||||||
info: >
|
info: >
|
||||||
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
||||||
following:
|
following:
|
||||||
If A does not contain exactly one character or B does not contain exactly one character then throw
|
2. Let a be the one character in CharSet A.
|
||||||
a SyntaxError exception
|
3. Let b be the one character in CharSet B.
|
||||||
|
4. Let i be the character value of character a.
|
||||||
|
5. Let j be the character value of character b.
|
||||||
|
6. If i > j, throw a SyntaxError exception.
|
||||||
es5id: 15.10.2.15_A1_T41
|
es5id: 15.10.2.15_A1_T41
|
||||||
description: >
|
description: >
|
||||||
Checking if execution of "/[d-G\a]/.exec("a")" leads to throwing
|
Checking if execution of "/[d-G\a]/.exec("a")" leads to throwing
|
||||||
|
@ -5,8 +5,11 @@
|
|||||||
info: >
|
info: >
|
||||||
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
||||||
following:
|
following:
|
||||||
If A does not contain exactly one character or B does not contain exactly one character then throw
|
2. Let a be the one character in CharSet A.
|
||||||
a SyntaxError exception
|
3. Let b be the one character in CharSet B.
|
||||||
|
4. Let i be the character value of character a.
|
||||||
|
5. Let j be the character value of character b.
|
||||||
|
6. If i > j, throw a SyntaxError exception.
|
||||||
es5id: 15.10.2.15_A1_T5
|
es5id: 15.10.2.15_A1_T5
|
||||||
description: >
|
description: >
|
||||||
Checking if execution of "/[\sb-G]/.exec("a")" leads to throwing
|
Checking if execution of "/[\sb-G]/.exec("a")" leads to throwing
|
||||||
|
@ -5,8 +5,11 @@
|
|||||||
info: >
|
info: >
|
||||||
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
||||||
following:
|
following:
|
||||||
If A does not contain exactly one character or B does not contain exactly one character then throw
|
2. Let a be the one character in CharSet A.
|
||||||
a SyntaxError exception
|
3. Let b be the one character in CharSet B.
|
||||||
|
4. Let i be the character value of character a.
|
||||||
|
5. Let j be the character value of character b.
|
||||||
|
6. If i > j, throw a SyntaxError exception.
|
||||||
es5id: 15.10.2.15_A1_T6
|
es5id: 15.10.2.15_A1_T6
|
||||||
description: >
|
description: >
|
||||||
Checking if execution of "/[\Sb-G]/.exec("a")" leads to throwing
|
Checking if execution of "/[\Sb-G]/.exec("a")" leads to throwing
|
||||||
|
@ -5,8 +5,11 @@
|
|||||||
info: >
|
info: >
|
||||||
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
||||||
following:
|
following:
|
||||||
If A does not contain exactly one character or B does not contain exactly one character then throw
|
2. Let a be the one character in CharSet A.
|
||||||
a SyntaxError exception
|
3. Let b be the one character in CharSet B.
|
||||||
|
4. Let i be the character value of character a.
|
||||||
|
5. Let j be the character value of character b.
|
||||||
|
6. If i > j, throw a SyntaxError exception.
|
||||||
es5id: 15.10.2.15_A1_T7
|
es5id: 15.10.2.15_A1_T7
|
||||||
description: >
|
description: >
|
||||||
Checking if execution of "/[\wb-G]/.exec("a")" leads to throwing
|
Checking if execution of "/[\wb-G]/.exec("a")" leads to throwing
|
||||||
|
@ -5,8 +5,11 @@
|
|||||||
info: >
|
info: >
|
||||||
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
||||||
following:
|
following:
|
||||||
If A does not contain exactly one character or B does not contain exactly one character then throw
|
2. Let a be the one character in CharSet A.
|
||||||
a SyntaxError exception
|
3. Let b be the one character in CharSet B.
|
||||||
|
4. Let i be the character value of character a.
|
||||||
|
5. Let j be the character value of character b.
|
||||||
|
6. If i > j, throw a SyntaxError exception.
|
||||||
es5id: 15.10.2.15_A1_T8
|
es5id: 15.10.2.15_A1_T8
|
||||||
description: >
|
description: >
|
||||||
Checking if execution of "/[\Wb-G]/.exec("a")" leads to throwing
|
Checking if execution of "/[\Wb-G]/.exec("a")" leads to throwing
|
||||||
|
@ -5,8 +5,11 @@
|
|||||||
info: >
|
info: >
|
||||||
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
|
||||||
following:
|
following:
|
||||||
If A does not contain exactly one character or B does not contain exactly one character then throw
|
2. Let a be the one character in CharSet A.
|
||||||
a SyntaxError exception
|
3. Let b be the one character in CharSet B.
|
||||||
|
4. Let i be the character value of character a.
|
||||||
|
5. Let j be the character value of character b.
|
||||||
|
6. If i > j, throw a SyntaxError exception.
|
||||||
es5id: 15.10.2.15_A1_T9
|
es5id: 15.10.2.15_A1_T9
|
||||||
description: >
|
description: >
|
||||||
Checking if execution of "/[\0b-G]/.exec("a")" leads to throwing
|
Checking if execution of "/[\0b-G]/.exec("a")" leads to throwing
|
||||||
|
@ -6,7 +6,7 @@ info: >
|
|||||||
If F contains any character other than 'g', 'i', or 'm', or if it
|
If F contains any character other than 'g', 'i', or 'm', or if it
|
||||||
contains the same one more than once, then throw a SyntaxError exception
|
contains the same one more than once, then throw a SyntaxError exception
|
||||||
es5id: 15.10.4.1_A5_T3
|
es5id: 15.10.4.1_A5_T3
|
||||||
description: Checking by using eval, try to use eval("\"migg\"") as F
|
description: Checking by using eval, try to use eval("\"migr\"") as F
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
//CHECK#1
|
//CHECK#1
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
info: RegExp instance has not [[call]] property
|
info: RegExp instance has no [[Call]] internal method
|
||||||
es5id: 15.10.7_A1_T1
|
es5id: 15.10.7_A1_T1
|
||||||
description: Checking if call of RegExp instance fails
|
description: Checking if call of RegExp instance fails
|
||||||
---*/
|
---*/
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
info: RegExp instance has not [[call]] property
|
info: RegExp instance has no [[Call]] internal method
|
||||||
es5id: 15.10.7_A1_T2
|
es5id: 15.10.7_A1_T2
|
||||||
description: Checking if call of RegExp("a|b","g")() fails
|
description: Checking if call of RegExp("a|b","g")() fails
|
||||||
---*/
|
---*/
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
info: RegExp instance has not [[construct]] property
|
info: RegExp instance has no [[Construct]] internal method
|
||||||
es5id: 15.10.7_A2_T1
|
es5id: 15.10.7_A2_T1
|
||||||
description: Checking if creating new RegExp instance fails
|
description: Checking if creating new RegExp instance fails
|
||||||
---*/
|
---*/
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
info: RegExp instance has not [[construct]] property
|
info: RegExp instance has no [[Construct]] internal method
|
||||||
es5id: 15.10.7_A2_T2
|
es5id: 15.10.7_A2_T2
|
||||||
description: Checking if creating "new RegExp" instance fails
|
description: Checking if creating "new RegExp" instance fails
|
||||||
---*/
|
---*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user