This commit is contained in:
Lyza Danger Gardner 2017-06-29 13:45:45 -04:00
parent 461e84459b
commit f32871c708
29 changed files with 57 additions and 0 deletions

View File

@ -4,6 +4,8 @@
/*---
info: If string.charAt(k) in [0xDC00 - 0xDFFF], throw URIError
es5id: 15.1.3.4_A1.1_T1
es6id: 18.2.6.5
esid: sec-encodeuricomponent-uricomponent
description: Complex tests
includes: [decimalToHexString.js]
---*/

View File

@ -4,6 +4,8 @@
/*---
info: If string.charAt(k) in [0xDC00 - 0xDFFF], throw URIError
es5id: 15.1.3.4_A1.1_T2
es6id: 18.2.6.5
esid: sec-encodeuricomponent-uricomponent
description: Complex tests
includes: [decimalToHexString.js]
---*/

View File

@ -6,6 +6,8 @@ info: >
If string.charAt(k) in [0xD800 - 0xDBFF] and string.length = k + 1, throw
URIError
es5id: 15.1.3.4_A1.2_T1
es6id: 18.2.6.5
esid: sec-encodeuricomponent-uricomponent
description: Complex tests
includes: [decimalToHexString.js]
---*/

View File

@ -6,6 +6,8 @@ info: >
If string.charAt(k) in [0xD800 - 0xDBFF] and string.length = k + 1, throw
URIError
es5id: 15.1.3.4_A1.2_T2
es6id: 18.2.6.5
esid: sec-encodeuricomponent-uricomponent
description: Complex tests
includes: [decimalToHexString.js]
---*/

View File

@ -6,6 +6,8 @@ info: >
If string.charAt(k) in [0xD800 - 0xDBFF] and string.charAt(k+1) not in
[0xDC00 - 0xDFFF], throw URIError
es5id: 15.1.3.4_A1.3_T1
es6id: 18.2.6.5
esid: sec-encodeuricomponent-uricomponent
description: >
Complex tests, string.charAt(k+1) in [0x0000, 0xD7FF, 0xD800,
0xDBFE, 0xDBFF, 0xE000, 0xFFFF]

View File

@ -6,6 +6,8 @@ info: >
If string.charAt(k) in [0x0000 - 0x007F]\[uriUnescaped], return 1 octet
(00000000 0zzzzzzz -> 0zzzzzzz)
es5id: 15.1.3.4_A2.1_T1
es6id: 18.2.6.5
esid: sec-encodeuricomponent-uricomponent
description: Complex tests, use RFC 3629
includes: [decimalToHexString.js]
---*/

View File

@ -6,6 +6,8 @@ info: >
If string.charAt(k) in [0x0080 - 0x07FF], return 2 octets (00000yyy
yyzzzzzz -> 110yyyyy 10zzzzzz)
es5id: 15.1.3.4_A2.2_T1
es6id: 18.2.6.5
esid: sec-encodeuricomponent-uricomponent
description: Complex tests, use RFC 3629
includes: [decimalToHexString.js]
---*/

View File

@ -6,6 +6,8 @@ info: >
If string.charAt(k) in [0x0800 - 0xD7FF], return 3 octets (xxxxyyyy
yyzzzzzz -> 1110xxxx 10yyyyyy 10zzzzzz)
es5id: 15.1.3.4_A2.3_T1
es6id: 18.2.6.5
esid: sec-encodeuricomponent-uricomponent
description: Complex tests, use RFC 3629
includes: [decimalToHexString.js]
---*/

View File

@ -7,6 +7,8 @@ info: >
[0xDC00 <EFBFBD> 0xDFFF], return 4 octets (000wwwxx xxxxyyyy yyzzzzzz ->
11110www 10xxxxxx 10yyyyyy 10zzzzzz)
es5id: 15.1.3.4_A2.4_T1
es6id: 18.2.6.5
esid: sec-encodeuricomponent-uricomponent
description: >
Complex tests, use RFC 3629, string.charAt(k+1) in [0xDC00,
0xDDFF, 0xDFFF]

View File

@ -7,6 +7,8 @@ info: >
[0xDC00 <EFBFBD> 0xDFFF], return 4 octets (000wwwxx xxxxyyyy yyzzzzzz ->
11110www 10xxxxxx 10yyyyyy 10zzzzzz)
es5id: 15.1.3.4_A2.4_T2
es6id: 18.2.6.5
esid: sec-encodeuricomponent-uricomponent
description: >
Complex tests, use RFC 3629, string.charAt(k) in [0xD800, 0xDBFF,
0xD9FF]

View File

@ -6,6 +6,8 @@ info: >
If string.charAt(k) in [0xE000 - 0xFFFF], return 3 octets (xxxxyyyy
yyzzzzzz -> 1110xxxx 10yyyyyy 10zzzzzz)
es5id: 15.1.3.4_A2.5_T1
es6id: 18.2.6.5
esid: sec-encodeuricomponent-uricomponent
description: Complex tests, use RFC 3629
includes: [decimalToHexString.js]
---*/

View File

@ -4,6 +4,8 @@
/*---
info: unescapedURIComponentSet not containing uriReserved
es5id: 15.1.3.4_A3.1_T1
es6id: 18.2.6.5
esid: sec-encodeuricomponent-uricomponent
description: Complex tests
---*/

View File

@ -6,6 +6,8 @@ info: >
unescapedURIComponentSet containing one instance of each character valid
in uriUnescaped
es5id: 15.1.3.4_A3.2_T1
es6id: 18.2.6.5
esid: sec-encodeuricomponent-uricomponent
description: "Complex tests, uriUnescaped :: uriAlpha"
---*/

View File

@ -6,6 +6,8 @@ info: >
unescapedURIComponentSet containing one instance of each character valid
in uriUnescaped
es5id: 15.1.3.4_A3.2_T2
es6id: 18.2.6.5
esid: sec-encodeuricomponent-uricomponent
description: "Complex tests, uriUnescaped :: DecimalDigit"
---*/

View File

@ -6,6 +6,8 @@ info: >
unescapedURIComponentSet containing one instance of each character valid
in uriUnescaped
es5id: 15.1.3.4_A3.2_T3
es6id: 18.2.6.5
esid: sec-encodeuricomponent-uricomponent
description: "Complex tests, uriUnescaped :: uriMark"
---*/

View File

@ -4,6 +4,8 @@
/*---
info: unescapedURIComponentSet not containing "#"
es5id: 15.1.3.4_A3.3_T1
es6id: 18.2.6.5
esid: sec-encodeuricomponent-uricomponent
description: encodeURIComponent("#") === "%23"
---*/

View File

@ -4,6 +4,8 @@
/*---
info: URI tests
es5id: 15.1.3.4_A4_T1
es6id: 18.2.6.5
esid: sec-encodeuricomponent-uricomponent
description: Checking ENGLISH ALPHABET
---*/

View File

@ -4,6 +4,8 @@
/*---
info: URI tests
es5id: 15.1.3.4_A4_T2
es6id: 18.2.6.5
esid: sec-encodeuricomponent-uricomponent
description: Checking RUSSIAN ALPHABET
---*/

View File

@ -4,6 +4,8 @@
/*---
info: URI tests
es5id: 15.1.3.4_A4_T3
es6id: 18.2.6.5
esid: sec-encodeuricomponent-uricomponent
description: Checking URL with Line Terminator
---*/

View File

@ -4,6 +4,8 @@
/*---
info: URI tests
es5id: 15.1.3.4_A4_T4
es6id: 18.2.6.5
esid: sec-encodeuricomponent-uricomponent
description: Test some url
---*/

View File

@ -4,6 +4,8 @@
/*---
info: The length property of encodeURIComponent has the attribute DontEnum
es5id: 15.1.3.4_A5.1
es6id: 18.2.6.5
esid: sec-encodeuricomponent-uricomponent
description: Checking use propertyIsEnumerable, for-in
---*/

View File

@ -6,6 +6,8 @@ info: >
The length property of encodeURIComponent does not have the attribute
DontDelete
es5id: 15.1.3.4_A5.2
es6id: 18.2.6.5
esid: sec-encodeuricomponent-uricomponent
description: Checking use hasOwnProperty, delete
---*/

View File

@ -4,6 +4,8 @@
/*---
info: The length property of encodeURIComponent has the attribute ReadOnly
es5id: 15.1.3.4_A5.3
es6id: 18.2.6.5
esid: sec-encodeuricomponent-uricomponent
description: Checking if varying the length property fails
includes: [propertyHelper.js]
---*/

View File

@ -4,6 +4,8 @@
/*---
info: The length property of encodeURIComponent is 1
es5id: 15.1.3.4_A5.4
es6id: 18.2.6.5
esid: sec-encodeuricomponent-uricomponent
description: encodeURIComponent.length === 1
---*/

View File

@ -4,6 +4,8 @@
/*---
info: The encodeURIComponent property has the attribute DontEnum
es5id: 15.1.3.4_A5.5
es6id: 18.2.6.5
esid: sec-encodeuricomponent-uricomponent
description: Checking use propertyIsEnumerable, for-in
---*/

View File

@ -4,6 +4,8 @@
/*---
info: The encodeURIComponent property has not prototype property
es5id: 15.1.3.4_A5.6
es6id: 18.2.6.5
esid: sec-encodeuricomponent-uricomponent
description: Checking encodeURIComponent.prototype
---*/

View File

@ -4,6 +4,8 @@
/*---
info: The encodeURIComponent property can't be used as constructor
es5id: 15.1.3.4_A5.7
es6id: 18.2.6.5
esid: sec-encodeuricomponent-uricomponent
description: >
If property does not implement the internal [[Construct]] method,
throw a TypeError exception

View File

@ -4,6 +4,8 @@
/*---
info: Operator use ToString
es5id: 15.1.3.4_A6_T1
es6id: 18.2.6.5
esid: sec-encodeuricomponent-uricomponent
description: If Type(value) is Object, evaluate ToPrimitive(value, String)
---*/

View File

@ -3,6 +3,7 @@
/*---
es6id: 18.2.6.5
esid: sec-encodeuricomponent-uricomponent
description: >
encodeURIComponent.name is "encodeURIComponent".
info: >