Frank Tang
5de1831c48
Remove "ar-ma-u-ca-islamicc" test
2018-10-02 14:50:45 -04:00
Ujjwal Sharma
e9946587b9
Update test to include object and symbol
2018-10-02 14:49:00 -04:00
Ujjwal Sharma
bb7585bdaf
intl: increase coverage for NumberFormat constructor
...
Increase coverage for the Intl.NumberFormat class contructor by adding
tests for checking that it calls ToObject on the options argument.
2018-10-02 14:49:00 -04:00
Ujjwal Sharma
24386286f1
Update filenames and fix failures
2018-10-02 14:48:37 -04:00
Ujjwal Sharma
2ecd230b63
Update test to include object and symbol
2018-10-02 14:48:37 -04:00
Ujjwal Sharma
5fe9773f44
intl: increase coverage for NumberFormat constructor
...
Increase coverage for the Intl.NumberFormat class contructor by adding
tests for checking that it calls ToObject on the locales argument.
2018-10-02 14:48:37 -04:00
Ujjwal Sharma
5fae9deb1f
intl: rework Intl.NumberFormat.prototype.formatToParts tests
...
Rework the available tests for Intl.NumberFormat.prototype.formatToParts
to improve consistency and readability.
2018-09-27 11:03:16 -04:00
Ujjwal Sharma
41bf0ee344
intl: add assertion to test that the result for default parameter
...
Add an assertion to the test for default parameters in Intl.NumberFormat's
method formatToParts checking that both the values are equal to the correct
result.
2018-09-27 11:00:55 -04:00
Leo Balter
d544eacedf
assert calls order for Symbol.match on matchAll usage ( #1795 )
...
Fix #1794
2018-09-26 11:37:19 -04:00
Rick Waldron
37190a1deb
Intl.Locale.prototype.numeric: the feature is not optional, therefore the tests are not optional
2018-09-26 11:06:03 -04:00
Ms2ger
584b651edf
Intl.Locale: Expect boolean values from the numeric getter.
...
The spec changed in <https://github.com/tc39/proposal-intl-locale/pull/59 >.
2018-09-26 11:03:22 -04:00
Ms2ger
5b0f7e19db
Intl.Locale: Refactor the tests for the numeric option.
2018-09-26 11:02:40 -04:00
André Bargull
3a1bcae4d1
Expect leading sign when the input is negative zero
2018-09-26 10:38:35 -04:00
André Bargull
d9f67d53d1
Move the extra precision tests into separate files
...
This will allow implementations to test the rest of the number formatting tests,
even if the extra precision support isn't implemented.
2018-09-26 10:38:35 -04:00
André Bargull
4bc96880a1
Add missing explicit ToString conversion for symbol values and ensure the expected NaN result is a (locale-dependent) string
2018-09-26 10:38:35 -04:00
André Bargull
3febd4c536
Update matchAll tests to reflect latest spec proposal
2018-09-26 10:38:35 -04:00
Leo Balter
46fcbf81d1
Generate tests
2018-09-26 09:18:46 -04:00
jugglinmike
42ed4291f5
Refactor increment/decrement tests for parsers ( #1786 )
...
The tests for the parsing of postfix increment, postfix decrement,
prefix increment, and prefix decrement were expressed using `eval`.
This made the tests more complex than necessary and also prevented the
tests from providing value to ECMAScript parsers.
Remove the use of `eval` and instead express the expectations with
literal source text.
2018-09-24 12:29:30 -04:00
Kevin Gibbons
89ec038cf2
remove some trailing commas in calls
2018-09-21 10:04:33 -04:00
Ujjwal Sharma
cdd91e2895
Improve ToNumber test for NumberFormat.format
2018-09-20 17:25:14 -04:00
Ujjwal Sharma
7a87bde265
intl: increase coverage for NumberFormat.format
...
Increase test coverage for Intl.NumberFormat.prototype.format by adding
a check for testing if it calls ToNumber (7.1.3) on its argument.
2018-09-20 17:25:14 -04:00
Ujjwal Sharma
a6412918d2
Simplify default value check of NumberFormat.format
2018-09-19 15:23:30 -04:00
Ujjwal Sharma
cbfa2c5f00
intl: increase coverage for NumberFormat
...
Increase coverage for Intl.NumberFormat by adding a test for format
checking it's default value.
2018-09-19 15:23:30 -04:00
Kevin Gibbons
92a96f068e
Remove bigint feature flag for built-ins/Atomics/wait/was-woken-before-timeout.js
2018-09-19 10:58:34 -04:00
Kevin Gibbons
05cbb5f8ae
Fix feature flag in TypedArrayConstructors/Float32Array/length.js
2018-09-19 10:58:34 -04:00
Ujjwal Sharma
94cb047ab8
Update assert failure messages
2018-09-18 14:55:11 -04:00
Ujjwal Sharma
0c89259da5
intl: refactor tests for NumberFormat
2018-09-18 14:55:11 -04:00
Kubilay Kahveci
395adc3a7c
Generate tests
2018-09-18 14:16:20 -04:00
Ujjwal Sharma
fec7982e09
Update test case description
2018-09-18 11:42:59 -04:00
Ujjwal Sharma
490f911ab6
Refactor value check for prop-desc
2018-09-18 11:42:59 -04:00
Ujjwal Sharma
24c29db550
Rename initial-value to configurable and add initial check to prop-desc
2018-09-18 11:42:59 -04:00
Ujjwal Sharma
e566c813b5
Add additional initial value tests
2018-09-18 11:42:59 -04:00
Ujjwal Sharma
c129ac8546
intl: improve coverage for Intl.NumberFormat
...
Add tests for Intl.NumberFormat.prototype[@@toStringTag].
2018-09-18 11:42:59 -04:00
Ms2ger
9271068a83
Intl: Add tests for throwing getters in options objects.
2018-09-18 11:39:47 -04:00
Ujjwal Sharma
12055caa1c
Add symbol to list of invalid targets
2018-09-17 15:59:58 -04:00
Ujjwal Sharma
db238a1abe
intl: improve coverage for Intl.NumberFormat
...
Add Intl.NumberFormat.prototype.formatToParts to the test
this-value-not-numberformat.js to check if a TypeError is thrown if the
"this" value for the function call isn't a valid NumberFormat object.
2018-09-17 15:59:58 -04:00
Leo Balter
3166523832
Add basic coverage for Symbol.asyncIterator
2018-09-17 10:50:33 -04:00
Andrew McCreight
c278f59416
Fix typo in test message
2018-09-14 12:05:16 -07:00
Leo Balter
317cacdcc9
Fix test generation
2018-09-13 14:55:32 -04:00
Rick Waldron
5c02a094cb
Generate tests
2018-09-13 10:23:49 -04:00
Rick Waldron
6bedd8f1c6
Merge pull request #1717 from leobalter/1711-fixes
...
Apply fixes on recent class element tests
2018-09-11 11:22:43 -04:00
Rick Waldron
2c714ede1d
Merge pull request #1719 from leobalter/private-fields-methods-whitespace-syntax-error
...
Private fields and methods whitespace syntax error
2018-09-11 11:20:44 -04:00
Leo Balter
a17484e230
Generate Tests
2018-09-10 17:13:06 -04:00
Leo Balter
b056d138fa
generate tests
2018-09-10 14:15:40 -04:00
Leo Balter
5cdbf084a7
Generate tests
2018-09-10 14:13:39 -04:00
Rick Waldron
6aa46d0ddb
Merge pull request #1707 from leobalter/private-methods-args
...
Add class private methods (include static) to arguments templates
2018-09-10 11:57:40 -04:00
Leo Balter
a9837df144
Generate tests
2018-09-10 11:20:40 -04:00
Leo Balter
e28a6f37d0
remove old duplicates
2018-09-10 11:20:40 -04:00
Leo Balter
7766d0fb66
Generate tests
2018-09-10 11:20:40 -04:00
Leo Balter
94a40cb474
Generate tests
2018-09-10 11:20:40 -04:00
Leo Balter
8524805f25
Final cases to move to tests generation
2018-09-10 11:20:40 -04:00
Leo Balter
bcfc576af4
Generate tests
2018-09-10 11:20:40 -04:00
Leo Balter
daea4efc57
Generate tests
2018-09-10 11:20:40 -04:00
Leo Balter
20217a7eeb
add cases for static method names named prototype
2018-09-10 11:20:40 -04:00
Leo Balter
ef591384d8
Remove old duplicate tests
2018-09-10 11:20:40 -04:00
Leo Balter
ee9739c699
Generate tests
2018-09-10 11:20:40 -04:00
Leo Balter
af9bcfef5f
Generate tests
2018-09-10 11:20:40 -04:00
Leo Balter
92c83dfbd4
Add cases for non-ctor methods containing direct super
2018-09-10 11:20:40 -04:00
Leo Balter
bf5661bf60
Generate tests
2018-09-10 11:20:40 -04:00
Leo Balter
46e03c3875
add generation cases for special methods with propname constructor
2018-09-10 11:20:40 -04:00
Leo Balter
93635ca3b2
Assert extensibility of dataview objects
2018-09-10 11:13:11 -04:00
Ms2ger
c52f9cb769
Intl: Add tests for subclassing Locale, ListFormat and RelativeTimeFormat.
...
Fixes #1705 .
2018-09-07 15:53:10 +02:00
Leo Balter
eae139d8ef
Generate tests
2018-09-04 17:10:51 -04:00
Leo Balter
2c9583a309
Generate tests
2018-09-04 12:40:30 -04:00
Leo Balter
8b91e600d6
Merge pull request #1701 from leobalter/1697-features
...
Add missing features tags for class fields templates and cases
2018-09-04 12:27:24 -04:00
Ms2ger
f98218f831
Intl.ListFormat: Initial tests. ( #1679 )
2018-08-31 15:53:11 -04:00
Leo Balter
a4faf41ed6
Generate tests
2018-08-31 15:22:43 -04:00
Ashley Hauck
835c85c26e
TypedArray.prototype.sort: check result of compareFn is immediately converted ToNumber ( #1694 )
2018-08-27 14:27:27 -04:00
Leo Balter
fa36c45083
Fix generated tests
2018-08-21 16:32:10 -04:00
Leo Balter
dbcd388154
Remove duplicate of test/language/statements/class/fields-privatename-constructor-err.js
2018-08-21 16:24:37 -04:00
Leo Balter
e25e53c0a7
Fix tests for #constructor
2018-08-21 16:11:27 -04:00
Leo Balter
45a31876e7
Fix tests for computed names in class fields - ctor and prototype
2018-08-21 15:50:39 -04:00
Leo Balter
3690d98e27
Generate tests
2018-08-21 12:47:19 -04:00
Leo Balter
dacc69a066
Generate tests
2018-08-21 12:17:05 -04:00
Leo Balter
9a7fa8cb91
Generate tests
2018-08-20 17:12:40 -04:00
Leo Balter
de1bbd65c8
Generate tests
2018-08-20 16:38:54 -04:00
Leo Balter
96809308fd
Generate tests
2018-08-20 16:38:54 -04:00
Leo Balter
c5a1a4a24b
Generate tests
2018-08-20 16:38:54 -04:00
Rick Waldron
331a3964d5
Generate tests
2018-08-20 16:38:53 -04:00
Rick Waldron
aee9dc163e
Generate tests
2018-08-20 16:38:53 -04:00
Rick Waldron
f222b94f2a
Generate tests
2018-08-20 16:38:53 -04:00
Rick Waldron
ad9fd16bd1
Class Fields: convert .js file to .case
2018-08-20 16:38:52 -04:00
Rick Waldron
1466650ca3
Class Fields: add private name propname errors
2018-08-20 16:38:52 -04:00
Rick Waldron
734544272b
Class Fields: convert propname-error into non-generated to avoid creating erroneous tests where restrictions do not align.
2018-08-20 16:38:52 -04:00
Rick Waldron
3996741ca0
Class Fields: Remove templates that cause erroneous tests to be created.
2018-08-20 16:38:52 -04:00
Rick Waldron
90e8859cdd
Class Fields: Updating frontmatter
2018-08-20 16:38:52 -04:00
Valerie R Young
5d014bdfba
classfields: field definition abrupt completion tests
...
# Conflicts:
# test/language/statements/class/classelementname-abrupt-completion.js
# test/language/statements/class/fielddefinition-initializer-abrupt-completion.js
# test/language/statements/class/super-fielddefinition-initializer-abrupt-completion.js
2018-08-20 16:38:52 -04:00
Leo Balter
1307fa8f44
some quick fixes for Array.prototype.{flat,flatMap} tests
2018-08-20 11:16:54 -04:00
Leo Balter
d263e2ccc9
Merge pull request #1686 from rhuanjl/proxyFlat
...
Array.prototype.{flat,flatMap} property access count
2018-08-20 10:44:16 -04:00
rhuanjl
1bffb14efb
Array.prototype.flat and Array.prototype.flatMap property access count
2018-08-20 06:31:04 +01:00
André Bargull
d7d154b3bc
Remove requirement that ToNumber(value) completes in less than $262.agent.MAX_TIME_EPSILON
...
$262.agent.MAX_TIME_EPSILON was intended to be used for callers like `Atomics.wait(typedArray, indexNumber, valueNumber, timeoutNumber)` where all parameters with the `Number` suffix denote values which are already Number values. It should not be used for `Atomics.wait(typedArray, indexObject, valueObject, timeoutObject)` where all parameters with the `Object` suffix denote values which are Object values, because in that case we'd require that `ToNumber(objectValue)` (potentially invoked multiple times) completes in less than 100 milliseconds (the default value for MAX_TIME_EPSILON).
Also removes $262.agent.MAX_TIME_EPSILON because it is now no longer used.
2018-08-19 10:29:29 -04:00
Leo Balter
ab436c4651
Merge pull request #1677 from tc39/ofe-use-verifyproperty
...
Object.fromEntries: use verifyProperty; add specification details
2018-08-17 18:06:19 -04:00
Leo Balter
d901922690
Merge pull request #1682 from Ms2ger/rtf-supportedLocalesOf
...
Intl.RelativeTimeFormat: Add some more tests for supportedLocalesOf.
2018-08-17 18:04:34 -04:00
Leo Balter
f9d549329a
Merge pull request #1681 from Ms2ger/rtf-pl-fix
...
Intl.RelativeTimeFormat: Fix copy/paste errors in Polish tests.
2018-08-17 18:03:01 -04:00
Leo Balter
fcefbc7945
Merge pull request #1678 from Ms2ger/rtf-options-non-object
...
Intl.RelativeTimeFormat: Add some tests for non-object options arguments to the constructor.
2018-08-17 18:01:59 -04:00
André Bargull
cd101873ba
Fix expected values for 'quarter' in RelativeTimeFormat
2018-08-17 09:15:38 -07:00
André Bargull
0aa1f70c14
Fix typo: nofity -> notify
2018-08-17 07:48:44 -07:00
André Bargull
8879820a8f
Make RegExp/CharacterClassEscapes tests faster across all engines
2018-08-17 07:48:42 -07:00
Ms2ger
867b1ab87d
Intl.RelativeTimeFormat: Add some more tests for supportedLocalesOf.
2018-08-16 15:18:05 +02:00
Ms2ger
c82ea326a8
Intl.RelativeTimeFormat: Fix copy/paste errors in Polish tests.
2018-08-16 10:04:31 +02:00
Ms2ger
3161b18f71
Intl.RelativeTimeFormat: Add some tests for non-object options arguments to the constructor.
2018-08-14 17:43:32 +02:00
Rick Waldron
ff475fce11
Object.fromEntries: use verifyProperty; add specification details
2018-08-13 15:15:02 -04:00
Rick Waldron
55ffeaf5cf
Object.fromEntries: fix file names
2018-08-13 12:24:57 -04:00
Kevin Gibbons
60b9467630
Two more simple tests
2018-08-13 10:25:09 -04:00
Kevin Gibbons
7f694d4718
Object.fromEntries: add basic tests
2018-08-13 10:25:09 -04:00
Rick Waldron
2c39868519
Merge remote-tracking branch 'ms2ger/rtf-supportedLocalesOf-basic'
...
* ms2ger/rtf-supportedLocalesOf-basic:
Intl.RelativeTimeFormat: Add a basic test for the functionality of supportedLocalesOf().
2018-08-10 15:36:01 -04:00
Rick Waldron
b893503aa8
Intl.DateTimeFormat: formatToParts nitpicking
2018-08-10 15:35:04 -04:00
Rick Waldron
c0e494eb6a
Merge branch 'patch-1' of git://github.com/phistuck/test262 into phistuck-patch-1
...
* 'patch-1' of git://github.com/phistuck/test262:
Added a legal part types test
2018-08-10 15:29:36 -04:00
Rick Waldron
9ddd49d49b
Merge branch 'remove-assert.throws.early' of git://github.com/mathiasbynens/test262 into mathiasbynens-remove-assert.throws.early
...
* 'remove-assert.throws.early' of git://github.com/mathiasbynens/test262:
Remove assert.throws.early
2018-08-10 15:26:31 -04:00
Rick Waldron
3a517cb7a7
Merge remote-tracking branch 'ms2ger/rtf-unit-invalid-plausible'
...
* ms2ger/rtf-unit-invalid-plausible:
Intl.RelativeTimeFormat: Test some plausible but unsupported unit arguments.
2018-08-10 15:23:25 -04:00
Rick Waldron
e900c559b6
Merge remote-tracking branch 'ms2ger/rtf-tonumber'
...
* ms2ger/rtf-tonumber:
Intl.RelativeTimeFormat: Add tests for ToNumber() in format/ToParts().
2018-08-10 15:23:06 -04:00
Rick Waldron
ec31d06622
Merge remote-tracking branch 'ms2ger/rtf-formatToParts-type'
...
* ms2ger/rtf-formatToParts-type:
Intl.RelativeTimeFormat: Add tests for the type of formatToParts results.
2018-08-10 15:22:31 -04:00
Rick Waldron
883da82d29
Merge remote-tracking branch 'ms2ger/rtf-pl'
...
* ms2ger/rtf-pl:
Intl.RelativeTimeFormat: Add some tests for different styles in Polish.
2018-08-10 15:21:57 -04:00
Ms2ger
d15e0f58fc
Intl.RelativeTimeFormat: Test some plausible but unsupported unit arguments.
2018-08-10 17:46:39 +02:00
Ms2ger
fcc9fb974b
Intl.RelativeTimeFormat: Add tests for ToNumber() in format/ToParts().
2018-08-10 17:45:44 +02:00
Ms2ger
59bc1d6a2f
Intl.RelativeTimeFormat: Add a basic test for the functionality of supportedLocalesOf().
...
This is based on test/intl402/NumberFormat/supportedLocalesOf/basic.js.
2018-08-10 17:21:08 +02:00
Ms2ger
f38722c021
Intl.RelativeTimeFormat: Add tests for the type of formatToParts results.
2018-08-10 16:14:10 +02:00
Ms2ger
1d8e1c8c4f
Intl.RelativeTimeFormat: Add some tests for different styles in Polish.
...
This is interesting because Polish has different output for the "short" and
"narrow" styles.
2018-08-10 14:29:00 +02:00
Mathias Bynens
75e8a317a2
Remove assert.throws.early
...
Negative tests are the better approach for early error tests.
Closes #1622 .
2018-08-07 14:35:13 +02:00
Ms2ger
48d95ac3c4
Intl.RelativeTimeFormat: Add some tests for the 'narrow' style.
2018-08-04 11:10:19 -04:00
Ms2ger
1e8d69f0fa
Intl.RelativeTimeFormat: Test for grouping in long numbers.
...
The specification was changed to remove the useGrouping option in
<https://github.com/tc39/proposal-intl-relative-time/pull/81 >.
The change to remove the minimumIntegerDigits option in that PR was already
taken into account; this commit also removes the reference to the issue.
This also removes some commented-out code that was left in by accident.
2018-08-04 11:09:20 -04:00
Ms2ger
fd666c5048
Intl.RelativeTimeFormat: Add some en-US-specific tests for format/formatToParts.
2018-07-27 13:09:44 -04:00
Ms2ger
604df708b3
Intl.RelativeTimeFormat: Add some tests for format, formatToParts, and resolvedOptions.
2018-07-27 13:02:00 -04:00
Ms2ger
8e15f532e1
Intl.NumberFormat: Update another test for negative zero.
...
The specification was updated in https://github.com/tc39/ecma402/pull/232 .
2018-07-27 13:00:04 -04:00
Jordan Harband
765de9136d
`global`: update property name
2018-07-25 17:11:53 -07:00
Rick Waldron
588459fc34
Generate tests
2018-07-25 12:19:29 -04:00
Rick Waldron
64f219b666
Features: run feature detector to verify newly added feature flags
2018-07-25 12:16:49 -04:00
Rick Waldron
c6d7d66dfa
Merge branch 'feature-new.target' of https://github.com/IgnoredAmbience/test262 into IgnoredAmbience-feature-new.target
...
* 'feature-new.target' of https://github.com/IgnoredAmbience/test262 :
Add feature flags for `new.target`
2018-07-25 11:54:58 -04:00
Thomas Wood
2d4ac25fa0
Add feature flags for `new.target`
...
Additionally removed the `arrow-function` feature for
test/language/eval-code/direct/new.target-fn.js as it is not testing
arrow-functions, but they are mentioned in the preamble.
2018-07-24 20:31:35 +01:00
Leo Balter
6335c39ade
fixes after rebase
2018-07-24 15:03:54 -04:00
Leo Balter
1452a22a02
more s/wake/notify
2018-07-24 15:03:54 -04:00
Leo Balter
d8bbc281dd
First renaming for wake to notify in the wait folder
2018-07-24 15:03:54 -04:00
Leo Balter
4911c6e77a
Last renamings in the Atomics/wake folder
2018-07-24 15:03:54 -04:00
Leo Balter
6533378823
Atomics.wake to Atomics.notify
2018-07-24 15:03:54 -04:00
Leo Balter
003388e36e
Replace esid
2018-07-24 15:03:54 -04:00
Leo Balter
cdfc67cd9d
Move Atomics/wake to Atomics/notify
2018-07-24 15:03:54 -04:00
Leo Balter
d1ad8e8fbc
fix features tag ( #1647 )
2018-07-24 01:15:26 -04:00
Rick Waldron
2d27462e70
Features: Proxy, Reflect (See pull/1643) ( #1646 )
...
Follow up to https://github.com/tc39/test262/pull/1643
2018-07-20 18:42:39 -04:00
Thomas Wood
d817076ddb
Make Proxy/ownKeys tests ES5-parsable. ( #1644 )
...
All other Proxy tests use the syntax `attr: function() {...}` for
defining traps, ownKeys was unique in using the shorthand syntax. Change
to longhand syntax for back-compat for partial implementations.
2018-07-20 18:40:10 -04:00
Thomas Wood
4f3cbc756d
Add a missing Reflect feature flag.
...
Proxy/deleteProperty/boolean-trap-result-boolean-true.js was missing a
feature flag for the Reflect library.
2018-07-20 15:04:21 -04:00
Ms2ger
764eb4f8b9
Intl.RelativeTimeFormat: Add tests for invalid units in format/formatToParts.
2018-07-20 15:00:30 -04:00
Ivan Vyshnevskyi
56e0ef70a5
Fix the ranges of non-HexDigits in decodeURI and decodeURIComponent tests
2018-07-20 14:59:31 -04:00
PhistucK
2afcf1d3d9
Added a legal part types test
2018-07-20 11:12:10 +03:00
Ms2ger
94b1e80ab3
Intl.RelativeTimeFormat: Add a test for the return value of supportedLocalesOf()
2018-07-13 20:18:12 -04:00
Mike Pennisi
ccaa9571ea
Refactor string literal test for parsers
...
Thsi test for the parsing of string literals was expressed using `eval`.
This made the test more complex than necessary and also prevented the
test from providing value to ECMAScript parsers.
Remove the use of `eval` and instead express the expectation with
literal source text.
2018-07-13 16:17:19 -04:00
Mike Pennisi
4f1e628107
Remove erroneous test
...
This test is technically valid because it does trigger a SyntaxError in
conforming runtimes. However, it was authored and documented to test
LegacyOctalEscapeSequence, but due to an apparent typo, it actually
demonstrates an unrelated parsing error.
Because 'legacy-octal-escape-sequence-stricts.js' sufficiently tests the
restriction on LegacyOctalEscapeSequence, remove this test rather than
correct it.
2018-07-13 16:17:19 -04:00
Mike Pennisi
4e1a860abd
Remove redundant test
...
This test for string literals asserts the restriction on
LegacyOctalEscapeSequence in strict mode. It is not sufficiently
distinct from the test 'legacy-octal-escape-sequence-stricts.js' to
warrant inclusion in the test suite. Because that test includes much
more thorough documentation, it should be preferred.
2018-07-13 16:17:19 -04:00
Mike Pennisi
2facd45c76
Remove redundant and indirect tests
...
A number of tests for string literals assert the restriction on
LegacyOctalEscapeSequence in strict mode code and differ only in the
escape sequence under test. Although each is valid, none of the escape
sequences are sufficiently distinct from the test
'legacy-octal-escape-sequence-stricts.js' to warrant their inclusion in
the test suite. Because that test's use of literal code makes it
consumable by parsers and because that test includes much more thorough
documentation, it should be preferred.
Summary of LegacyOctalEscapeSequences under test in the removed files:
test/language/literals/string/7.8.4-10-s.js: eval('var x = " \\10 ";');
test/language/literals/string/7.8.4-11-s.js: eval('var x = "\\16";');
test/language/literals/string/7.8.4-12-s.js: eval('var x = "\\17";');
test/language/literals/string/7.8.4-13-s.js: eval('var x = "\\30";');
test/language/literals/string/7.8.4-14-s.js: eval('var x = "\\31";');
test/language/literals/string/7.8.4-15-s.js: eval('var x = "\\37";');
test/language/literals/string/7.8.4-16-s.js: eval('var x = "\\400";');
test/language/literals/string/7.8.4-17-s.js: eval('var x = "\\411";');
test/language/literals/string/7.8.4-18-s.js: eval('var x = "\\43a";');
test/language/literals/string/7.8.4-19-s.js: eval('var x = "\\463";');
test/language/literals/string/7.8.4-2-s.js: eval('var x = "\\1";');
test/language/literals/string/7.8.4-20-s.js: eval('var x = "\\474";');
test/language/literals/string/7.8.4-21-s.js: eval('var x = "\\77";');
test/language/literals/string/7.8.4-22-s.js: eval('var x = "\\777";');
test/language/literals/string/7.8.4-23-s.js: eval('var x = "\\000";');
test/language/literals/string/7.8.4-24-s.js: eval('var x = "\\001";');
test/language/literals/string/7.8.4-25-s.js: eval('var x = "\\106";');
test/language/literals/string/7.8.4-26-s.js: eval('var x = "\\207";');
test/language/literals/string/7.8.4-27-s.js: eval('var x = "\\377";');
test/language/literals/string/7.8.4-28-s.js: eval('var x = "\\376";');
test/language/literals/string/7.8.4-29-s.js: eval('var x = "\\3760";');
test/language/literals/string/7.8.4-3-s.js: eval('var x = "a\\4";');
test/language/literals/string/7.8.4-32-s.js: eval('var x = "\\1\\1";');
test/language/literals/string/7.8.4-33-s.js: eval('var x = "\\1\\2\\7";');
test/language/literals/string/7.8.4-4-s.js: eval('var x = "z\\7";');
test/language/literals/string/7.8.4-5-s.js: eval('var x = "\\00a";');
test/language/literals/string/7.8.4-6-s.js: eval('var x = "\\01z";');
test/language/literals/string/7.8.4-7-s.js: eval('var x = "a\\03z";');
test/language/literals/string/7.8.4-8-s.js: eval('var x = " \\06";');
2018-07-13 16:17:19 -04:00
Mike Pennisi
3383ba9c1b
Extend metadata with `esid`
2018-07-13 16:09:19 -04:00
Mike Pennisi
6e9cf3765b
Add tests for parsing behavior
...
Test262 already includes tests to ensure the correct runtime semantics
for these forms. Add equivalent tests designed to verify that the
equivalent parsing behavior is also observed.
2018-07-13 16:09:19 -04:00