This commit is contained in:
Lyza Danger Gardner 2017-06-29 14:03:03 -04:00
parent 461e84459b
commit 94f0c2401a
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.3_A1.1_T1
es6id: 18.2.6.4
esid: sec-encodeuri-uri
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.3_A1.1_T2
es6id: 18.2.6.4
esid: sec-encodeuri-uri
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.3_A1.2_T1
es6id: 18.2.6.4
esid: sec-encodeuri-uri
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.3_A1.2_T2
es6id: 18.2.6.4
esid: sec-encodeuri-uri
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.3_A1.3_T1
es6id: 18.2.6.4
esid: sec-encodeuri-uri
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]\[uriReserved, uriUnescaped, #],
return 1 octet (00000000 0zzzzzzz -> 0zzzzzzz)
es5id: 15.1.3.3_A2.1_T1
es6id: 18.2.6.4
esid: sec-encodeuri-uri
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.3_A2.2_T1
es6id: 18.2.6.4
esid: sec-encodeuri-uri
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.3_A2.3_T1
es6id: 18.2.6.4
esid: sec-encodeuri-uri
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.3_A2.4_T1
es6id: 18.2.6.4
esid: sec-encodeuri-uri
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.3_A2.4_T2
es6id: 18.2.6.4
esid: sec-encodeuri-uri
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.3_A2.5_T1
es6id: 18.2.6.4
esid: sec-encodeuri-uri
description: Complex tests, use RFC 3629
includes: [decimalToHexString.js]
---*/

View File

@ -6,6 +6,8 @@ info: >
unescapedURISet containing one instance of each character valid in
uriReserved
es5id: 15.1.3.3_A3.1_T1
es6id: 18.2.6.4
esid: sec-encodeuri-uri
description: Complex tests
---*/

View File

@ -6,6 +6,8 @@ info: >
unescapedURISet containing one instance of each character valid in
uriUnescaped
es5id: 15.1.3.3_A3.2_T1
es6id: 18.2.6.4
esid: sec-encodeuri-uri
description: "Complex tests, uriUnescaped :: uriAlpha"
---*/

View File

@ -6,6 +6,8 @@ info: >
unescapedURISet containing one instance of each character valid in
uriUnescaped
es5id: 15.1.3.3_A3.2_T2
es6id: 18.2.6.4
esid: sec-encodeuri-uri
description: "Complex tests, uriUnescaped :: DecimalDigit"
---*/

View File

@ -6,6 +6,8 @@ info: >
unescapedURISet containing one instance of each character valid in
uriUnescaped
es5id: 15.1.3.3_A3.2_T3
es6id: 18.2.6.4
esid: sec-encodeuri-uri
description: "Complex tests, uriUnescaped :: uriMark"
---*/

View File

@ -4,6 +4,8 @@
/*---
info: unescapedURISet containing "#"
es5id: 15.1.3.3_A3.3_T1
es6id: 18.2.6.4
esid: sec-encodeuri-uri
description: encodeURI("#") === "#"
---*/

View File

@ -4,6 +4,8 @@
/*---
info: URI tests
es5id: 15.1.3.3_A4_T1
es6id: 18.2.6.4
esid: sec-encodeuri-uri
description: Checking ENGLISH ALPHABET
---*/

View File

@ -4,6 +4,8 @@
/*---
info: URI tests
es5id: 15.1.3.3_A4_T2
es6id: 18.2.6.4
esid: sec-encodeuri-uri
description: Checking RUSSIAN ALPHABET
---*/

View File

@ -4,6 +4,8 @@
/*---
info: URI tests
es5id: 15.1.3.3_A4_T3
es6id: 18.2.6.4
esid: sec-encodeuri-uri
description: Checking URL with Line Terminator
---*/

View File

@ -4,6 +4,8 @@
/*---
info: URI tests
es5id: 15.1.3.3_A4_T4
es6id: 18.2.6.4
esid: sec-encodeuri-uri
description: Test some url
---*/

View File

@ -4,6 +4,8 @@
/*---
info: The length property of encodeURI has the attribute DontEnum
es5id: 15.1.3.3_A5.1
es6id: 18.2.6.4
esid: sec-encodeuri-uri
description: Checking use propertyIsEnumerable, for-in
---*/

View File

@ -4,6 +4,8 @@
/*---
info: The length property of encodeURI does not have the attribute DontDelete
es5id: 15.1.3.3_A5.2
es6id: 18.2.6.4
esid: sec-encodeuri-uri
description: Checking use hasOwnProperty, delete
---*/

View File

@ -4,6 +4,8 @@
/*---
info: The length property of encodeURI has the attribute ReadOnly
es5id: 15.1.3.3_A5.3
es6id: 18.2.6.4
esid: sec-encodeuri-uri
description: Checking if varying the length property fails
includes: [propertyHelper.js]
---*/

View File

@ -4,6 +4,8 @@
/*---
info: The length property of encodeURI is 1
es5id: 15.1.3.3_A5.4
es6id: 18.2.6.4
esid: sec-encodeuri-uri
description: encodeURI.length === 1
---*/

View File

@ -4,6 +4,8 @@
/*---
info: The encodeURI property has the attribute DontEnum
es5id: 15.1.3.3_A5.5
es6id: 18.2.6.4
esid: sec-encodeuri-uri
description: Checking use propertyIsEnumerable, for-in
---*/

View File

@ -4,6 +4,8 @@
/*---
info: The encodeURI property has not prototype property
es5id: 15.1.3.3_A5.6
es6id: 18.2.6.4
esid: sec-encodeuri-uri
description: Checking encodeURI.prototype
---*/

View File

@ -4,6 +4,8 @@
/*---
info: The encodeURI property can't be used as constructor
es5id: 15.1.3.3_A5.7
es6id: 18.2.6.4
esid: sec-encodeuri-uri
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.3_A6_T1
es6id: 18.2.6.4
esid: sec-encodeuri-uri
description: If Type(value) is Object, evaluate ToPrimitive(value, String)
---*/

View File

@ -3,6 +3,7 @@
/*---
es6id: 18.2.6.4
esid: sec-encodeuri-uri
description: >
encodeURI.name is "encodeURI".
info: >