зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1508680 - Import latest test262 tests rs=jorendorff
--HG-- rename : js/src/tests/test262/language/module-code/dynamic-import/assign-expr-get-value-abrupt-throws.js => js/src/tests/test262/language/expressions/dynamic-import/assign-expr-get-value-abrupt-throws.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/module-code_FIXTURE.js => js/src/tests/test262/language/expressions/dynamic-import/assignment-expression/module-code_FIXTURE.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/eval-rqstd-abrupt-err-type_FIXTURE.js => js/src/tests/test262/language/expressions/dynamic-import/catch/eval-rqstd-abrupt-err-type_FIXTURE.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/eval-rqstd-abrupt-err-uri_FIXTURE.js => js/src/tests/test262/language/expressions/dynamic-import/catch/eval-rqstd-abrupt-err-uri_FIXTURE.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/instn-iee-err-ambiguous-1_FIXTURE.js => js/src/tests/test262/language/expressions/dynamic-import/catch/instn-iee-err-ambiguous-1_FIXTURE.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/instn-iee-err-ambiguous-1_FIXTURE.js => js/src/tests/test262/language/expressions/dynamic-import/catch/instn-iee-err-ambiguous-2_FIXTURE.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/instn-iee-err-ambiguous-export_FIXTURE.js => js/src/tests/test262/language/expressions/dynamic-import/catch/instn-iee-err-ambiguous-export_FIXTURE.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/instn-iee-err-ambiguous_FIXTURE.js => js/src/tests/test262/language/expressions/dynamic-import/catch/instn-iee-err-ambiguous_FIXTURE.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/instn-iee-err-circular-1_FIXTURE.js => js/src/tests/test262/language/expressions/dynamic-import/catch/instn-iee-err-circular-1_FIXTURE.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/instn-iee-err-circular-2_FIXTURE.js => js/src/tests/test262/language/expressions/dynamic-import/catch/instn-iee-err-circular-2_FIXTURE.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-arrow-import-catch-eval-rqstd-abrupt-typeerror.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-arrow-import-catch-eval-rqstd-abrupt-typeerror.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-arrow-import-catch-eval-rqstd-abrupt-urierror.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-arrow-import-catch-eval-rqstd-abrupt-urierror.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-arrow-import-catch-eval-script-code-target.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-arrow-import-catch-eval-script-code-target.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-arrow-import-catch-file-does-not-exist.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-arrow-import-catch-file-does-not-exist.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-arrow-import-catch-instn-iee-err-ambiguous-import.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-arrow-import-catch-instn-iee-err-ambiguous-import.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-arrow-import-catch-instn-iee-err-circular.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-arrow-import-catch-instn-iee-err-circular.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-arrow-import-catch-specifier-tostring-abrupt-rejects.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-arrow-import-catch-specifier-tostring-abrupt-rejects.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-async-function-await-eval-rqstd-abrupt-typeerror.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-async-function-await-eval-rqstd-abrupt-typeerror.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-async-function-await-eval-rqstd-abrupt-urierror.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-async-function-await-eval-rqstd-abrupt-urierror.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-async-function-await-eval-script-code-target.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-async-function-await-eval-script-code-target.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-async-function-await-file-does-not-exist.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-async-function-await-file-does-not-exist.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-async-function-await-instn-iee-err-ambiguous-import.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-async-function-await-instn-iee-err-ambiguous-import.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-async-function-await-instn-iee-err-circular.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-async-function-await-instn-iee-err-circular.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-async-function-await-specifier-tostring-abrupt-rejects.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-async-function-await-specifier-tostring-abrupt-rejects.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-async-function-eval-rqstd-abrupt-typeerror.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-async-function-eval-rqstd-abrupt-typeerror.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-async-function-eval-rqstd-abrupt-urierror.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-async-function-eval-rqstd-abrupt-urierror.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-async-function-eval-script-code-target.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-async-function-eval-script-code-target.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-async-function-file-does-not-exist.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-async-function-file-does-not-exist.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-async-function-instn-iee-err-ambiguous-import.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-async-function-instn-iee-err-ambiguous-import.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-async-function-instn-iee-err-circular.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-async-function-instn-iee-err-circular.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-async-function-return-await-eval-rqstd-abrupt-typeerror.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-async-function-return-await-eval-rqstd-abrupt-typeerror.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-async-function-return-await-eval-rqstd-abrupt-urierror.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-async-function-return-await-eval-rqstd-abrupt-urierror.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-async-function-return-await-eval-script-code-target.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-async-function-return-await-eval-script-code-target.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-async-function-return-await-file-does-not-exist.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-async-function-return-await-file-does-not-exist.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-async-function-return-await-instn-iee-err-ambiguous-import.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-async-function-return-await-instn-iee-err-ambiguous-import.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-async-function-return-await-instn-iee-err-circular.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-async-function-return-await-instn-iee-err-circular.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-async-function-return-await-specifier-tostring-abrupt-rejects.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-async-function-return-await-specifier-tostring-abrupt-rejects.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-async-function-specifier-tostring-abrupt-rejects.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-async-function-specifier-tostring-abrupt-rejects.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-block-import-catch-eval-rqstd-abrupt-typeerror.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-block-import-catch-eval-rqstd-abrupt-typeerror.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-block-import-catch-eval-rqstd-abrupt-urierror.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-block-import-catch-eval-rqstd-abrupt-urierror.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-block-import-catch-eval-script-code-target.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-block-import-catch-eval-script-code-target.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-block-import-catch-file-does-not-exist.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-block-import-catch-file-does-not-exist.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-block-import-catch-instn-iee-err-ambiguous-import.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-block-import-catch-instn-iee-err-ambiguous-import.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-block-import-catch-instn-iee-err-circular.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-block-import-catch-instn-iee-err-circular.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-block-import-catch-specifier-tostring-abrupt-rejects.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-block-import-catch-specifier-tostring-abrupt-rejects.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-block-labeled-eval-rqstd-abrupt-typeerror.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-block-labeled-eval-rqstd-abrupt-typeerror.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-block-labeled-eval-rqstd-abrupt-urierror.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-block-labeled-eval-rqstd-abrupt-urierror.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-block-labeled-eval-script-code-target.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-block-labeled-eval-script-code-target.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-block-labeled-file-does-not-exist.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-block-labeled-file-does-not-exist.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-block-labeled-instn-iee-err-ambiguous-import.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-block-labeled-instn-iee-err-ambiguous-import.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-block-labeled-instn-iee-err-circular.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-block-labeled-instn-iee-err-circular.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-block-labeled-specifier-tostring-abrupt-rejects.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-block-labeled-specifier-tostring-abrupt-rejects.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-do-while-eval-rqstd-abrupt-typeerror.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-do-while-eval-rqstd-abrupt-typeerror.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-do-while-eval-rqstd-abrupt-urierror.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-do-while-eval-rqstd-abrupt-urierror.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-do-while-eval-script-code-target.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-do-while-eval-script-code-target.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-do-while-file-does-not-exist.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-do-while-file-does-not-exist.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-do-while-instn-iee-err-ambiguous-import.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-do-while-instn-iee-err-ambiguous-import.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-do-while-instn-iee-err-circular.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-do-while-instn-iee-err-circular.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-do-while-specifier-tostring-abrupt-rejects.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-do-while-specifier-tostring-abrupt-rejects.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-else-import-catch-eval-rqstd-abrupt-typeerror.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-else-import-catch-eval-rqstd-abrupt-typeerror.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-else-import-catch-eval-rqstd-abrupt-urierror.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-else-import-catch-eval-rqstd-abrupt-urierror.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-else-import-catch-eval-script-code-target.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-else-import-catch-eval-script-code-target.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-else-import-catch-file-does-not-exist.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-else-import-catch-file-does-not-exist.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-else-import-catch-instn-iee-err-ambiguous-import.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-else-import-catch-instn-iee-err-ambiguous-import.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-else-import-catch-instn-iee-err-circular.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-else-import-catch-instn-iee-err-circular.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-else-import-catch-specifier-tostring-abrupt-rejects.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-else-import-catch-specifier-tostring-abrupt-rejects.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-function-import-catch-eval-rqstd-abrupt-typeerror.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-function-import-catch-eval-rqstd-abrupt-typeerror.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-function-import-catch-eval-rqstd-abrupt-urierror.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-function-import-catch-eval-rqstd-abrupt-urierror.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-function-import-catch-eval-script-code-target.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-function-import-catch-eval-script-code-target.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-function-import-catch-file-does-not-exist.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-function-import-catch-file-does-not-exist.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-function-import-catch-instn-iee-err-ambiguous-import.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-function-import-catch-instn-iee-err-ambiguous-import.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-function-import-catch-instn-iee-err-circular.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-function-import-catch-instn-iee-err-circular.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-function-import-catch-specifier-tostring-abrupt-rejects.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-function-import-catch-specifier-tostring-abrupt-rejects.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-if-import-catch-eval-rqstd-abrupt-typeerror.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-if-import-catch-eval-rqstd-abrupt-typeerror.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-if-import-catch-eval-rqstd-abrupt-urierror.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-if-import-catch-eval-rqstd-abrupt-urierror.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-if-import-catch-eval-script-code-target.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-if-import-catch-eval-script-code-target.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-if-import-catch-file-does-not-exist.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-if-import-catch-file-does-not-exist.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-if-import-catch-instn-iee-err-ambiguous-import.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-if-import-catch-instn-iee-err-ambiguous-import.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-if-import-catch-instn-iee-err-circular.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-if-import-catch-instn-iee-err-circular.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-if-import-catch-specifier-tostring-abrupt-rejects.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-if-import-catch-specifier-tostring-abrupt-rejects.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-while-import-catch-eval-rqstd-abrupt-typeerror.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-while-import-catch-eval-rqstd-abrupt-typeerror.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-while-import-catch-eval-rqstd-abrupt-urierror.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-while-import-catch-eval-rqstd-abrupt-urierror.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-while-import-catch-eval-script-code-target.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-while-import-catch-eval-script-code-target.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-while-import-catch-file-does-not-exist.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-while-import-catch-file-does-not-exist.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-while-import-catch-instn-iee-err-ambiguous-import.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-while-import-catch-instn-iee-err-ambiguous-import.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-while-import-catch-instn-iee-err-circular.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-while-import-catch-instn-iee-err-circular.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/nested-while-import-catch-specifier-tostring-abrupt-rejects.js => js/src/tests/test262/language/expressions/dynamic-import/catch/nested-while-import-catch-specifier-tostring-abrupt-rejects.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/top-level-import-catch-eval-rqstd-abrupt-typeerror.js => js/src/tests/test262/language/expressions/dynamic-import/catch/top-level-import-catch-eval-rqstd-abrupt-typeerror.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/top-level-import-catch-eval-rqstd-abrupt-urierror.js => js/src/tests/test262/language/expressions/dynamic-import/catch/top-level-import-catch-eval-rqstd-abrupt-urierror.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/top-level-import-catch-eval-script-code-target.js => js/src/tests/test262/language/expressions/dynamic-import/catch/top-level-import-catch-eval-script-code-target.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/top-level-import-catch-file-does-not-exist.js => js/src/tests/test262/language/expressions/dynamic-import/catch/top-level-import-catch-file-does-not-exist.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/top-level-import-catch-instn-iee-err-ambiguous-import.js => js/src/tests/test262/language/expressions/dynamic-import/catch/top-level-import-catch-instn-iee-err-ambiguous-import.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/top-level-import-catch-instn-iee-err-circular.js => js/src/tests/test262/language/expressions/dynamic-import/catch/top-level-import-catch-instn-iee-err-circular.js rename : js/src/tests/test262/language/module-code/dynamic-import/catch/top-level-import-catch-specifier-tostring-abrupt-rejects.js => js/src/tests/test262/language/expressions/dynamic-import/catch/top-level-import-catch-specifier-tostring-abrupt-rejects.js rename : js/src/tests/test262/language/module-code/dynamic-import/dynamic-import-module_FIXTURE.js => js/src/tests/test262/language/expressions/dynamic-import/dynamic-import-module_FIXTURE.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/empty_FIXTURE.js => js/src/tests/test262/language/expressions/dynamic-import/empty_FIXTURE.js rename : js/src/tests/test262/language/module-code/dynamic-import/eval-export-dflt-cls-anon.js => js/src/tests/test262/language/expressions/dynamic-import/eval-export-dflt-cls-anon.js rename : js/src/tests/test262/language/module-code/dynamic-import/eval-export-dflt-cls-name-meth.js => js/src/tests/test262/language/expressions/dynamic-import/eval-export-dflt-cls-name-meth.js rename : js/src/tests/test262/language/module-code/dynamic-import/eval-export-dflt-cls-named.js => js/src/tests/test262/language/expressions/dynamic-import/eval-export-dflt-cls-named.js rename : js/src/tests/test262/language/module-code/dynamic-import/eval-export-dflt-expr-cls-anon.js => js/src/tests/test262/language/expressions/dynamic-import/eval-export-dflt-expr-cls-anon.js rename : js/src/tests/test262/language/module-code/dynamic-import/eval-export-dflt-expr-cls-name-meth.js => js/src/tests/test262/language/expressions/dynamic-import/eval-export-dflt-expr-cls-name-meth.js rename : js/src/tests/test262/language/module-code/dynamic-import/eval-export-dflt-expr-cls-named.js => js/src/tests/test262/language/expressions/dynamic-import/eval-export-dflt-expr-cls-named.js rename : js/src/tests/test262/language/module-code/dynamic-import/eval-export-dflt-expr-fn-anon.js => js/src/tests/test262/language/expressions/dynamic-import/eval-export-dflt-expr-fn-anon.js rename : js/src/tests/test262/language/module-code/dynamic-import/eval-export-dflt-expr-fn-named.js => js/src/tests/test262/language/expressions/dynamic-import/eval-export-dflt-expr-fn-named.js rename : js/src/tests/test262/language/module-code/dynamic-import/eval-export-dflt-expr-gen-anon.js => js/src/tests/test262/language/expressions/dynamic-import/eval-export-dflt-expr-gen-anon.js rename : js/src/tests/test262/language/module-code/dynamic-import/eval-export-dflt-expr-gen-named.js => js/src/tests/test262/language/expressions/dynamic-import/eval-export-dflt-expr-gen-named.js rename : js/src/tests/test262/language/module-code/dynamic-import/eval-export-dflt-expr-in.js => js/src/tests/test262/language/expressions/dynamic-import/eval-export-dflt-expr-in.js rename : js/src/tests/test262/language/module-code/dynamic-import/eval-rqstd-once.js => js/src/tests/test262/language/expressions/dynamic-import/eval-rqstd-once.js rename : js/src/tests/test262/language/module-code/dynamic-import/eval-rqstd-once_FIXTURE.js => js/src/tests/test262/language/expressions/dynamic-import/eval-rqstd-once_FIXTURE.js rename : js/src/tests/test262/language/module-code/dynamic-import/eval-self-once-module.js => js/src/tests/test262/language/expressions/dynamic-import/eval-self-once-module.js rename : js/src/tests/test262/language/module-code/dynamic-import/eval-self-once-script.js => js/src/tests/test262/language/expressions/dynamic-import/eval-self-once-script.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/module-code_FIXTURE.js => js/src/tests/test262/language/expressions/dynamic-import/module-code_FIXTURE.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/await-ns-Symbol-toStringTag.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/await-ns-Symbol-toStringTag.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/await-ns-define-own-property.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/await-ns-define-own-property.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/await-ns-delete-exported-init-no-strict.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/await-ns-delete-exported-init-no-strict.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/await-ns-delete-exported-init-strict-strict.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/await-ns-delete-exported-init-strict-strict.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/await-ns-delete-non-exported-no-strict.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/await-ns-delete-non-exported-no-strict.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/await-ns-delete-non-exported-strict-strict.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/await-ns-delete-non-exported-strict-strict.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/await-ns-extensible.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/await-ns-extensible.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/await-ns-get-nested-namespace-dflt-direct.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/await-ns-get-nested-namespace-dflt-direct.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/await-ns-get-nested-namespace-dflt-indirect.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/await-ns-get-nested-namespace-dflt-indirect.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/await-ns-get-nested-namespace-props-nrml.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/await-ns-get-nested-namespace-props-nrml.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/await-ns-get-own-property-str-found-init.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/await-ns-get-own-property-str-found-init.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/await-ns-get-own-property-str-not-found.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/await-ns-get-own-property-str-not-found.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/await-ns-get-own-property-sym.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/await-ns-get-own-property-sym.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/await-ns-get-str-found.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/await-ns-get-str-found.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/await-ns-get-str-not-found.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/await-ns-get-str-not-found.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/await-ns-get-sym-found.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/await-ns-get-sym-found.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/await-ns-get-sym-not-found.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/await-ns-get-sym-not-found.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/await-ns-has-property-str-found-init.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/await-ns-has-property-str-found-init.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/await-ns-has-property-str-not-found.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/await-ns-has-property-str-not-found.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/await-ns-has-property-sym-found.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/await-ns-has-property-sym-found.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/await-ns-has-property-sym-not-found.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/await-ns-has-property-sym-not-found.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/await-ns-no-iterator.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/await-ns-no-iterator.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/await-ns-own-property-keys-sort.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/await-ns-own-property-keys-sort.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/await-ns-prevent-extensions-object.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/await-ns-prevent-extensions-object.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/await-ns-prevent-extensions-reflect.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/await-ns-prevent-extensions-reflect.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/await-ns-prop-descs.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/await-ns-prop-descs.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/await-ns-prototype.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/await-ns-prototype.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/await-ns-set-no-strict.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/await-ns-set-no-strict.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/await-ns-set-prototype-of-null.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/await-ns-set-prototype-of-null.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/await-ns-set-prototype-of.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/await-ns-set-prototype-of.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/await-ns-set-same-values-no-strict.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/await-ns-set-same-values-no-strict.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/await-ns-set-same-values-strict-strict.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/await-ns-set-same-values-strict-strict.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/await-ns-set-strict-strict.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/await-ns-set-strict-strict.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/define-own-property_FIXTURE.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/define-own-property_FIXTURE.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/empty_FIXTURE.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/empty_FIXTURE.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/get-nested-namespace-dflt-skip-named-end_FIXTURE.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/get-nested-namespace-dflt-skip-named-end_FIXTURE.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/get-nested-namespace-dflt-skip-named_FIXTURE.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/get-nested-namespace-dflt-skip-named_FIXTURE.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/get-nested-namespace-dflt-skip-prod-end_FIXTURE.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/get-nested-namespace-dflt-skip-prod-end_FIXTURE.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/get-nested-namespace-dflt-skip-prod_FIXTURE.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/get-nested-namespace-dflt-skip-prod_FIXTURE.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/get-nested-namespace-props-nrml-1_FIXTURE.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/get-nested-namespace-props-nrml-1_FIXTURE.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/get-nested-namespace-props-nrml-2_FIXTURE.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/get-nested-namespace-props-nrml-2_FIXTURE.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/get-nested-namespace-props-nrml-3_FIXTURE.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/get-nested-namespace-props-nrml-3_FIXTURE.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/module-code_FIXTURE.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/module-code_FIXTURE.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/own-keys-sort_FIXTURE.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/own-keys-sort_FIXTURE.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/promise-then-ns-Symbol-toStringTag.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/promise-then-ns-Symbol-toStringTag.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/promise-then-ns-define-own-property.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/promise-then-ns-define-own-property.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/promise-then-ns-delete-exported-init-no-strict.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/promise-then-ns-delete-exported-init-no-strict.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/promise-then-ns-delete-exported-init-strict-strict.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/promise-then-ns-delete-exported-init-strict-strict.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/promise-then-ns-delete-non-exported-no-strict.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/promise-then-ns-delete-non-exported-no-strict.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/promise-then-ns-delete-non-exported-strict-strict.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/promise-then-ns-delete-non-exported-strict-strict.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/promise-then-ns-extensible.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/promise-then-ns-extensible.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/promise-then-ns-get-nested-namespace-dflt-direct.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/promise-then-ns-get-nested-namespace-dflt-direct.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/promise-then-ns-get-nested-namespace-dflt-indirect.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/promise-then-ns-get-nested-namespace-dflt-indirect.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/promise-then-ns-get-nested-namespace-props-nrml.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/promise-then-ns-get-nested-namespace-props-nrml.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/promise-then-ns-get-own-property-str-found-init.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/promise-then-ns-get-own-property-str-found-init.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/promise-then-ns-get-own-property-str-not-found.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/promise-then-ns-get-own-property-str-not-found.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/promise-then-ns-get-own-property-sym.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/promise-then-ns-get-own-property-sym.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/promise-then-ns-get-str-found.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/promise-then-ns-get-str-found.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/promise-then-ns-get-str-not-found.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/promise-then-ns-get-str-not-found.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/promise-then-ns-get-sym-found.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/promise-then-ns-get-sym-found.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/promise-then-ns-get-sym-not-found.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/promise-then-ns-get-sym-not-found.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/promise-then-ns-has-property-str-found-init.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/promise-then-ns-has-property-str-found-init.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/promise-then-ns-has-property-str-not-found.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/promise-then-ns-has-property-str-not-found.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/promise-then-ns-has-property-sym-found.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/promise-then-ns-has-property-sym-found.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/promise-then-ns-has-property-sym-not-found.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/promise-then-ns-has-property-sym-not-found.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/promise-then-ns-no-iterator.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/promise-then-ns-no-iterator.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/promise-then-ns-own-property-keys-sort.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/promise-then-ns-own-property-keys-sort.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/promise-then-ns-prevent-extensions-object.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/promise-then-ns-prevent-extensions-object.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/promise-then-ns-prevent-extensions-reflect.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/promise-then-ns-prevent-extensions-reflect.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/promise-then-ns-prop-descs.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/promise-then-ns-prop-descs.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/promise-then-ns-prototype.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/promise-then-ns-prototype.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/promise-then-ns-set-no-strict.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/promise-then-ns-set-no-strict.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/promise-then-ns-set-prototype-of-null.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/promise-then-ns-set-prototype-of-null.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/promise-then-ns-set-prototype-of.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/promise-then-ns-set-prototype-of.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/promise-then-ns-set-same-values-no-strict.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/promise-then-ns-set-same-values-no-strict.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/promise-then-ns-set-same-values-strict-strict.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/promise-then-ns-set-same-values-strict-strict.js rename : js/src/tests/test262/language/module-code/dynamic-import/ns/promise-then-ns-set-strict-strict.js => js/src/tests/test262/language/expressions/dynamic-import/namespace/promise-then-ns-set-strict-strict.js rename : js/src/tests/test262/language/module-code/dynamic-import/returns-promise.js => js/src/tests/test262/language/expressions/dynamic-import/returns-promise.js rename : js/src/tests/test262/language/module-code/dynamic-import/syntax/valid/empty_FIXTURE.js => js/src/tests/test262/language/expressions/dynamic-import/syntax/valid/empty_FIXTURE.js rename : js/src/tests/test262/language/module-code/dynamic-import/syntax/valid/nested-arrow-assignment-expression-empty-str-is-valid-assign-expr.js => js/src/tests/test262/language/expressions/dynamic-import/syntax/valid/nested-arrow-assignment-expression-empty-str-is-valid-assign-expr.js rename : js/src/tests/test262/language/module-code/dynamic-import/syntax/valid/nested-arrow-assignment-expression-nested-imports.js => js/src/tests/test262/language/expressions/dynamic-import/syntax/valid/nested-arrow-assignment-expression-nested-imports.js rename : js/src/tests/test262/language/module-code/dynamic-import/syntax/valid/nested-arrow-assignment-expression-script-code-valid.js => js/src/tests/test262/language/expressions/dynamic-import/syntax/valid/nested-arrow-assignment-expression-script-code-valid.js rename : js/src/tests/test262/language/module-code/dynamic-import/syntax/valid/nested-arrow-empty-str-is-valid-assign-expr.js => js/src/tests/test262/language/expressions/dynamic-import/syntax/valid/nested-arrow-empty-str-is-valid-assign-expr.js rename : js/src/tests/test262/language/module-code/dynamic-import/syntax/valid/nested-arrow-nested-imports.js => js/src/tests/test262/language/expressions/dynamic-import/syntax/valid/nested-arrow-nested-imports.js rename : js/src/tests/test262/language/module-code/dynamic-import/syntax/valid/nested-arrow-script-code-valid.js => js/src/tests/test262/language/expressions/dynamic-import/syntax/valid/nested-arrow-script-code-valid.js rename : js/src/tests/test262/language/module-code/dynamic-import/syntax/valid/nested-async-function-await-empty-str-is-valid-assign-expr.js => js/src/tests/test262/language/expressions/dynamic-import/syntax/valid/nested-async-function-await-empty-str-is-valid-assign-expr.js rename : js/src/tests/test262/language/module-code/dynamic-import/syntax/valid/nested-async-function-await-nested-imports.js => js/src/tests/test262/language/expressions/dynamic-import/syntax/valid/nested-async-function-await-nested-imports.js rename : js/src/tests/test262/language/module-code/dynamic-import/syntax/valid/nested-async-function-await-script-code-valid.js => js/src/tests/test262/language/expressions/dynamic-import/syntax/valid/nested-async-function-await-script-code-valid.js rename : js/src/tests/test262/language/module-code/dynamic-import/syntax/valid/nested-async-function-empty-str-is-valid-assign-expr.js => js/src/tests/test262/language/expressions/dynamic-import/syntax/valid/nested-async-function-empty-str-is-valid-assign-expr.js rename : js/src/tests/test262/language/module-code/dynamic-import/syntax/valid/nested-async-function-nested-imports.js => js/src/tests/test262/language/expressions/dynamic-import/syntax/valid/nested-async-function-nested-imports.js rename : js/src/tests/test262/language/module-code/dynamic-import/syntax/valid/nested-async-function-return-await-empty-str-is-valid-assign-expr.js => js/src/tests/test262/language/expressions/dynamic-import/syntax/valid/nested-async-function-return-await-empty-str-is-valid-assign-expr.js rename : js/src/tests/test262/language/module-code/dynamic-import/syntax/valid/nested-async-function-return-await-nested-imports.js => js/src/tests/test262/language/expressions/dynamic-import/syntax/valid/nested-async-function-return-await-nested-imports.js rename : js/src/tests/test262/language/module-code/dynamic-import/syntax/valid/nested-async-function-return-await-script-code-valid.js => js/src/tests/test262/language/expressions/dynamic-import/syntax/valid/nested-async-function-return-await-script-code-valid.js rename : js/src/tests/test262/language/module-code/dynamic-import/syntax/valid/nested-async-function-script-code-valid.js => js/src/tests/test262/language/expressions/dynamic-import/syntax/valid/nested-async-function-script-code-valid.js rename : js/src/tests/test262/language/module-code/dynamic-import/syntax/valid/nested-block-empty-str-is-valid-assign-expr.js => js/src/tests/test262/language/expressions/dynamic-import/syntax/valid/nested-block-empty-str-is-valid-assign-expr.js rename : js/src/tests/test262/language/module-code/dynamic-import/syntax/valid/nested-block-labeled-empty-str-is-valid-assign-expr.js => js/src/tests/test262/language/expressions/dynamic-import/syntax/valid/nested-block-labeled-empty-str-is-valid-assign-expr.js rename : js/src/tests/test262/language/module-code/dynamic-import/syntax/valid/nested-block-labeled-nested-imports.js => js/src/tests/test262/language/expressions/dynamic-import/syntax/valid/nested-block-labeled-nested-imports.js rename : js/src/tests/test262/language/module-code/dynamic-import/syntax/valid/nested-block-labeled-script-code-valid.js => js/src/tests/test262/language/expressions/dynamic-import/syntax/valid/nested-block-labeled-script-code-valid.js rename : js/src/tests/test262/language/module-code/dynamic-import/syntax/valid/nested-block-nested-imports.js => js/src/tests/test262/language/expressions/dynamic-import/syntax/valid/nested-block-nested-imports.js rename : js/src/tests/test262/language/module-code/dynamic-import/syntax/valid/nested-block-script-code-valid.js => js/src/tests/test262/language/expressions/dynamic-import/syntax/valid/nested-block-script-code-valid.js rename : js/src/tests/test262/language/module-code/dynamic-import/syntax/valid/nested-do-while-empty-str-is-valid-assign-expr.js => js/src/tests/test262/language/expressions/dynamic-import/syntax/valid/nested-do-while-empty-str-is-valid-assign-expr.js rename : js/src/tests/test262/language/module-code/dynamic-import/syntax/valid/nested-do-while-nested-imports.js => js/src/tests/test262/language/expressions/dynamic-import/syntax/valid/nested-do-while-nested-imports.js rename : js/src/tests/test262/language/module-code/dynamic-import/syntax/valid/nested-do-while-script-code-valid.js => js/src/tests/test262/language/expressions/dynamic-import/syntax/valid/nested-do-while-script-code-valid.js rename : js/src/tests/test262/language/module-code/dynamic-import/syntax/valid/nested-else-braceless-empty-str-is-valid-assign-expr.js => js/src/tests/test262/language/expressions/dynamic-import/syntax/valid/nested-else-braceless-empty-str-is-valid-assign-expr.js rename : js/src/tests/test262/language/module-code/dynamic-import/syntax/valid/nested-else-braceless-nested-imports.js => js/src/tests/test262/language/expressions/dynamic-import/syntax/valid/nested-else-braceless-nested-imports.js rename : js/src/tests/test262/language/module-code/dynamic-import/syntax/valid/nested-else-braceless-script-code-valid.js => js/src/tests/test262/language/expressions/dynamic-import/syntax/valid/nested-else-braceless-script-code-valid.js rename : js/src/tests/test262/language/module-code/dynamic-import/syntax/valid/nested-else-empty-str-is-valid-assign-expr.js => js/src/tests/test262/language/expressions/dynamic-import/syntax/valid/nested-else-empty-str-is-valid-assign-expr.js rename : js/src/tests/test262/language/module-code/dynamic-import/syntax/valid/nested-else-nested-imports.js => js/src/tests/test262/language/expressions/dynamic-import/syntax/valid/nested-else-nested-imports.js rename : js/src/tests/test262/language/module-code/dynamic-import/syntax/valid/nested-else-script-code-valid.js => js/src/tests/test262/language/expressions/dynamic-import/syntax/valid/nested-else-script-code-valid.js rename : js/src/tests/test262/language/module-code/dynamic-import/syntax/valid/nested-function-empty-str-is-valid-assign-expr.js => js/src/tests/test262/language/expressions/dynamic-import/syntax/valid/nested-function-empty-str-is-valid-assign-expr.js rename : js/src/tests/test262/language/module-code/dynamic-import/syntax/valid/nested-function-nested-imports.js => js/src/tests/test262/language/expressions/dynamic-import/syntax/valid/nested-function-nested-imports.js rename : js/src/tests/test262/language/module-code/dynamic-import/syntax/valid/nested-function-return-empty-str-is-valid-assign-expr.js => js/src/tests/test262/language/expressions/dynamic-import/syntax/valid/nested-function-return-empty-str-is-valid-assign-expr.js rename : js/src/tests/test262/language/module-code/dynamic-import/syntax/valid/nested-function-return-nested-imports.js => js/src/tests/test262/language/expressions/dynamic-import/syntax/valid/nested-function-return-nested-imports.js rename : js/src/tests/test262/language/module-code/dynamic-import/syntax/valid/nested-function-return-script-code-valid.js => js/src/tests/test262/language/expressions/dynamic-import/syntax/valid/nested-function-return-script-code-valid.js rename : js/src/tests/test262/language/module-code/dynamic-import/syntax/valid/nested-function-script-code-valid.js => js/src/tests/test262/language/expressions/dynamic-import/syntax/valid/nested-function-script-code-valid.js rename : js/src/tests/test262/language/module-code/dynamic-import/syntax/valid/nested-if-braceless-empty-str-is-valid-assign-expr.js => js/src/tests/test262/language/expressions/dynamic-import/syntax/valid/nested-if-braceless-empty-str-is-valid-assign-expr.js rename : js/src/tests/test262/language/module-code/dynamic-import/syntax/valid/nested-if-braceless-nested-imports.js => js/src/tests/test262/language/expressions/dynamic-import/syntax/valid/nested-if-braceless-nested-imports.js rename : js/src/tests/test262/language/module-code/dynamic-import/syntax/valid/nested-if-braceless-script-code-valid.js => js/src/tests/test262/language/expressions/dynamic-import/syntax/valid/nested-if-braceless-script-code-valid.js rename : js/src/tests/test262/language/module-code/dynamic-import/syntax/valid/nested-if-empty-str-is-valid-assign-expr.js => js/src/tests/test262/language/expressions/dynamic-import/syntax/valid/nested-if-empty-str-is-valid-assign-expr.js rename : js/src/tests/test262/language/module-code/dynamic-import/syntax/valid/nested-if-nested-imports.js => js/src/tests/test262/language/expressions/dynamic-import/syntax/valid/nested-if-nested-imports.js rename : js/src/tests/test262/language/module-code/dynamic-import/syntax/valid/nested-if-script-code-valid.js => js/src/tests/test262/language/expressions/dynamic-import/syntax/valid/nested-if-script-code-valid.js rename : js/src/tests/test262/language/module-code/dynamic-import/syntax/valid/nested-while-empty-str-is-valid-assign-expr.js => js/src/tests/test262/language/expressions/dynamic-import/syntax/valid/nested-while-empty-str-is-valid-assign-expr.js rename : js/src/tests/test262/language/module-code/dynamic-import/syntax/valid/nested-while-nested-imports.js => js/src/tests/test262/language/expressions/dynamic-import/syntax/valid/nested-while-nested-imports.js rename : js/src/tests/test262/language/module-code/dynamic-import/syntax/valid/nested-while-script-code-valid.js => js/src/tests/test262/language/expressions/dynamic-import/syntax/valid/nested-while-script-code-valid.js rename : js/src/tests/test262/language/module-code/dynamic-import/syntax/valid/nested-with-empty-str-is-valid-assign-expr.js => js/src/tests/test262/language/expressions/dynamic-import/syntax/valid/nested-with-empty-str-is-valid-assign-expr.js rename : js/src/tests/test262/language/module-code/dynamic-import/syntax/valid/nested-with-nested-imports.js => js/src/tests/test262/language/expressions/dynamic-import/syntax/valid/nested-with-nested-imports.js rename : js/src/tests/test262/language/module-code/dynamic-import/syntax/valid/nested-with-script-code-valid.js => js/src/tests/test262/language/expressions/dynamic-import/syntax/valid/nested-with-script-code-valid.js rename : js/src/tests/test262/language/module-code/dynamic-import/syntax/valid/top-level-empty-str-is-valid-assign-expr.js => js/src/tests/test262/language/expressions/dynamic-import/syntax/valid/top-level-empty-str-is-valid-assign-expr.js rename : js/src/tests/test262/language/module-code/dynamic-import/syntax/valid/top-level-nested-imports.js => js/src/tests/test262/language/expressions/dynamic-import/syntax/valid/top-level-nested-imports.js rename : js/src/tests/test262/language/module-code/dynamic-import/syntax/valid/top-level-script-code-valid.js => js/src/tests/test262/language/expressions/dynamic-import/syntax/valid/top-level-script-code-valid.js rename : js/src/tests/test262/language/module-code/dynamic-import/dynamic-import-module_FIXTURE.js => js/src/tests/test262/language/expressions/dynamic-import/usage/dynamic-import-module_FIXTURE.js rename : js/src/tests/test262/language/module-code/dynamic-import/usage/eval-gtbndng-indirect-update-dflt_FIXTURE.js => js/src/tests/test262/language/expressions/dynamic-import/usage/eval-gtbndng-indirect-update-dflt_FIXTURE.js rename : js/src/tests/test262/language/module-code/dynamic-import/usage/eval-gtbndng-indirect-update_FIXTURE.js => js/src/tests/test262/language/expressions/dynamic-import/usage/eval-gtbndng-indirect-update_FIXTURE.js rename : js/src/tests/test262/language/module-code/dynamic-import/usage/module-code_FIXTURE.js => js/src/tests/test262/language/expressions/dynamic-import/usage/module-code_FIXTURE.js rename : js/src/tests/test262/language/module-code/dynamic-import/usage/nested-arrow-assignment-expression-eval-gtbndng-indirect-update-dflt.js => js/src/tests/test262/language/expressions/dynamic-import/usage/nested-arrow-assignment-expression-eval-gtbndng-indirect-update-dflt.js rename : js/src/tests/test262/language/module-code/dynamic-import/usage/nested-arrow-assignment-expression-eval-gtbndng-indirect-update.js => js/src/tests/test262/language/expressions/dynamic-import/usage/nested-arrow-assignment-expression-eval-gtbndng-indirect-update.js rename : js/src/tests/test262/language/module-code/dynamic-import/usage/nested-arrow-assignment-expression-eval-script-code-host-resolves-module-code.js => js/src/tests/test262/language/expressions/dynamic-import/usage/nested-arrow-assignment-expression-eval-script-code-host-resolves-module-code.js rename : js/src/tests/test262/language/module-code/dynamic-import/usage/nested-arrow-assignment-expression-returns-thenable.js => js/src/tests/test262/language/expressions/dynamic-import/usage/nested-arrow-assignment-expression-returns-thenable.js rename : js/src/tests/test262/language/module-code/dynamic-import/usage/nested-arrow-import-then-eval-gtbndng-indirect-update-dflt.js => js/src/tests/test262/language/expressions/dynamic-import/usage/nested-arrow-import-then-eval-gtbndng-indirect-update-dflt.js rename : js/src/tests/test262/language/module-code/dynamic-import/usage/nested-arrow-import-then-eval-gtbndng-indirect-update.js => js/src/tests/test262/language/expressions/dynamic-import/usage/nested-arrow-import-then-eval-gtbndng-indirect-update.js rename : js/src/tests/test262/language/module-code/dynamic-import/usage/nested-arrow-import-then-eval-script-code-host-resolves-module-code.js => js/src/tests/test262/language/expressions/dynamic-import/usage/nested-arrow-import-then-eval-script-code-host-resolves-module-code.js rename : js/src/tests/test262/language/module-code/dynamic-import/usage/nested-arrow-import-then-returns-thenable.js => js/src/tests/test262/language/expressions/dynamic-import/usage/nested-arrow-import-then-returns-thenable.js rename : js/src/tests/test262/language/module-code/dynamic-import/usage/nested-async-function-await-eval-gtbndng-indirect-update-dflt.js => js/src/tests/test262/language/expressions/dynamic-import/usage/nested-async-function-await-eval-gtbndng-indirect-update-dflt.js rename : js/src/tests/test262/language/module-code/dynamic-import/usage/nested-async-function-await-eval-gtbndng-indirect-update.js => js/src/tests/test262/language/expressions/dynamic-import/usage/nested-async-function-await-eval-gtbndng-indirect-update.js rename : js/src/tests/test262/language/module-code/dynamic-import/usage/nested-async-function-await-eval-script-code-host-resolves-module-code.js => js/src/tests/test262/language/expressions/dynamic-import/usage/nested-async-function-await-eval-script-code-host-resolves-module-code.js rename : js/src/tests/test262/language/module-code/dynamic-import/usage/nested-async-function-await-returns-thenable.js => js/src/tests/test262/language/expressions/dynamic-import/usage/nested-async-function-await-returns-thenable.js rename : js/src/tests/test262/language/module-code/dynamic-import/usage/nested-async-function-eval-gtbndng-indirect-update-dflt.js => js/src/tests/test262/language/expressions/dynamic-import/usage/nested-async-function-eval-gtbndng-indirect-update-dflt.js rename : js/src/tests/test262/language/module-code/dynamic-import/usage/nested-async-function-eval-gtbndng-indirect-update.js => js/src/tests/test262/language/expressions/dynamic-import/usage/nested-async-function-eval-gtbndng-indirect-update.js rename : js/src/tests/test262/language/module-code/dynamic-import/usage/nested-async-function-eval-script-code-host-resolves-module-code.js => js/src/tests/test262/language/expressions/dynamic-import/usage/nested-async-function-eval-script-code-host-resolves-module-code.js rename : js/src/tests/test262/language/module-code/dynamic-import/usage/nested-async-function-return-await-eval-gtbndng-indirect-update-dflt.js => js/src/tests/test262/language/expressions/dynamic-import/usage/nested-async-function-return-await-eval-gtbndng-indirect-update-dflt.js rename : js/src/tests/test262/language/module-code/dynamic-import/usage/nested-async-function-return-await-eval-gtbndng-indirect-update.js => js/src/tests/test262/language/expressions/dynamic-import/usage/nested-async-function-return-await-eval-gtbndng-indirect-update.js rename : js/src/tests/test262/language/module-code/dynamic-import/usage/nested-async-function-return-await-eval-script-code-host-resolves-module-code.js => js/src/tests/test262/language/expressions/dynamic-import/usage/nested-async-function-return-await-eval-script-code-host-resolves-module-code.js rename : js/src/tests/test262/language/module-code/dynamic-import/usage/nested-async-function-return-await-returns-thenable.js => js/src/tests/test262/language/expressions/dynamic-import/usage/nested-async-function-return-await-returns-thenable.js rename : js/src/tests/test262/language/module-code/dynamic-import/usage/nested-async-function-returns-thenable.js => js/src/tests/test262/language/expressions/dynamic-import/usage/nested-async-function-returns-thenable.js rename : js/src/tests/test262/language/module-code/dynamic-import/usage/nested-block-import-then-eval-gtbndng-indirect-update-dflt.js => js/src/tests/test262/language/expressions/dynamic-import/usage/nested-block-import-then-eval-gtbndng-indirect-update-dflt.js rename : js/src/tests/test262/language/module-code/dynamic-import/usage/nested-block-import-then-eval-gtbndng-indirect-update.js => js/src/tests/test262/language/expressions/dynamic-import/usage/nested-block-import-then-eval-gtbndng-indirect-update.js rename : js/src/tests/test262/language/module-code/dynamic-import/usage/nested-block-import-then-eval-script-code-host-resolves-module-code.js => js/src/tests/test262/language/expressions/dynamic-import/usage/nested-block-import-then-eval-script-code-host-resolves-module-code.js rename : js/src/tests/test262/language/module-code/dynamic-import/usage/nested-block-import-then-returns-thenable.js => js/src/tests/test262/language/expressions/dynamic-import/usage/nested-block-import-then-returns-thenable.js rename : js/src/tests/test262/language/module-code/dynamic-import/usage/nested-do-while-eval-gtbndng-indirect-update-dflt.js => js/src/tests/test262/language/expressions/dynamic-import/usage/nested-do-while-eval-gtbndng-indirect-update-dflt.js rename : js/src/tests/test262/language/module-code/dynamic-import/usage/nested-do-while-eval-gtbndng-indirect-update.js => js/src/tests/test262/language/expressions/dynamic-import/usage/nested-do-while-eval-gtbndng-indirect-update.js rename : js/src/tests/test262/language/module-code/dynamic-import/usage/nested-do-while-eval-script-code-host-resolves-module-code.js => js/src/tests/test262/language/expressions/dynamic-import/usage/nested-do-while-eval-script-code-host-resolves-module-code.js rename : js/src/tests/test262/language/module-code/dynamic-import/usage/nested-do-while-returns-thenable.js => js/src/tests/test262/language/expressions/dynamic-import/usage/nested-do-while-returns-thenable.js rename : js/src/tests/test262/language/module-code/dynamic-import/usage/nested-else-import-then-eval-gtbndng-indirect-update-dflt.js => js/src/tests/test262/language/expressions/dynamic-import/usage/nested-else-import-then-eval-gtbndng-indirect-update-dflt.js rename : js/src/tests/test262/language/module-code/dynamic-import/usage/nested-else-import-then-eval-gtbndng-indirect-update.js => js/src/tests/test262/language/expressions/dynamic-import/usage/nested-else-import-then-eval-gtbndng-indirect-update.js rename : js/src/tests/test262/language/module-code/dynamic-import/usage/nested-else-import-then-eval-script-code-host-resolves-module-code.js => js/src/tests/test262/language/expressions/dynamic-import/usage/nested-else-import-then-eval-script-code-host-resolves-module-code.js rename : js/src/tests/test262/language/module-code/dynamic-import/usage/nested-else-import-then-returns-thenable.js => js/src/tests/test262/language/expressions/dynamic-import/usage/nested-else-import-then-returns-thenable.js rename : js/src/tests/test262/language/module-code/dynamic-import/usage/nested-function-import-then-eval-gtbndng-indirect-update-dflt.js => js/src/tests/test262/language/expressions/dynamic-import/usage/nested-function-import-then-eval-gtbndng-indirect-update-dflt.js rename : js/src/tests/test262/language/module-code/dynamic-import/usage/nested-function-import-then-eval-gtbndng-indirect-update.js => js/src/tests/test262/language/expressions/dynamic-import/usage/nested-function-import-then-eval-gtbndng-indirect-update.js rename : js/src/tests/test262/language/module-code/dynamic-import/usage/nested-function-import-then-eval-script-code-host-resolves-module-code.js => js/src/tests/test262/language/expressions/dynamic-import/usage/nested-function-import-then-eval-script-code-host-resolves-module-code.js rename : js/src/tests/test262/language/module-code/dynamic-import/usage/nested-function-import-then-returns-thenable.js => js/src/tests/test262/language/expressions/dynamic-import/usage/nested-function-import-then-returns-thenable.js rename : js/src/tests/test262/language/module-code/dynamic-import/usage/nested-if-braceless-eval-gtbndng-indirect-update-dflt.js => js/src/tests/test262/language/expressions/dynamic-import/usage/nested-if-braceless-eval-gtbndng-indirect-update-dflt.js rename : js/src/tests/test262/language/module-code/dynamic-import/usage/nested-if-braceless-eval-gtbndng-indirect-update.js => js/src/tests/test262/language/expressions/dynamic-import/usage/nested-if-braceless-eval-gtbndng-indirect-update.js rename : js/src/tests/test262/language/module-code/dynamic-import/usage/nested-if-braceless-eval-script-code-host-resolves-module-code.js => js/src/tests/test262/language/expressions/dynamic-import/usage/nested-if-braceless-eval-script-code-host-resolves-module-code.js rename : js/src/tests/test262/language/module-code/dynamic-import/usage/nested-if-braceless-returns-thenable.js => js/src/tests/test262/language/expressions/dynamic-import/usage/nested-if-braceless-returns-thenable.js rename : js/src/tests/test262/language/module-code/dynamic-import/usage/nested-if-import-then-eval-gtbndng-indirect-update-dflt.js => js/src/tests/test262/language/expressions/dynamic-import/usage/nested-if-import-then-eval-gtbndng-indirect-update-dflt.js rename : js/src/tests/test262/language/module-code/dynamic-import/usage/nested-if-import-then-eval-gtbndng-indirect-update.js => js/src/tests/test262/language/expressions/dynamic-import/usage/nested-if-import-then-eval-gtbndng-indirect-update.js rename : js/src/tests/test262/language/module-code/dynamic-import/usage/nested-if-import-then-eval-script-code-host-resolves-module-code.js => js/src/tests/test262/language/expressions/dynamic-import/usage/nested-if-import-then-eval-script-code-host-resolves-module-code.js rename : js/src/tests/test262/language/module-code/dynamic-import/usage/nested-if-import-then-returns-thenable.js => js/src/tests/test262/language/expressions/dynamic-import/usage/nested-if-import-then-returns-thenable.js rename : js/src/tests/test262/language/module-code/dynamic-import/usage/nested-while-import-then-eval-gtbndng-indirect-update-dflt.js => js/src/tests/test262/language/expressions/dynamic-import/usage/nested-while-import-then-eval-gtbndng-indirect-update-dflt.js rename : js/src/tests/test262/language/module-code/dynamic-import/usage/nested-while-import-then-eval-gtbndng-indirect-update.js => js/src/tests/test262/language/expressions/dynamic-import/usage/nested-while-import-then-eval-gtbndng-indirect-update.js rename : js/src/tests/test262/language/module-code/dynamic-import/usage/nested-while-import-then-eval-script-code-host-resolves-module-code.js => js/src/tests/test262/language/expressions/dynamic-import/usage/nested-while-import-then-eval-script-code-host-resolves-module-code.js rename : js/src/tests/test262/language/module-code/dynamic-import/usage/nested-while-import-then-returns-thenable.js => js/src/tests/test262/language/expressions/dynamic-import/usage/nested-while-import-then-returns-thenable.js rename : js/src/tests/test262/language/module-code/dynamic-import/usage/syntax-nested-block-labeled-eval-gtbndng-indirect-update-dflt.js => js/src/tests/test262/language/expressions/dynamic-import/usage/syntax-nested-block-labeled-eval-gtbndng-indirect-update-dflt.js rename : js/src/tests/test262/language/module-code/dynamic-import/usage/syntax-nested-block-labeled-eval-gtbndng-indirect-update.js => js/src/tests/test262/language/expressions/dynamic-import/usage/syntax-nested-block-labeled-eval-gtbndng-indirect-update.js rename : js/src/tests/test262/language/module-code/dynamic-import/usage/syntax-nested-block-labeled-eval-script-code-host-resolves-module-code.js => js/src/tests/test262/language/expressions/dynamic-import/usage/syntax-nested-block-labeled-eval-script-code-host-resolves-module-code.js rename : js/src/tests/test262/language/module-code/dynamic-import/usage/syntax-nested-block-labeled-returns-thenable.js => js/src/tests/test262/language/expressions/dynamic-import/usage/syntax-nested-block-labeled-returns-thenable.js rename : js/src/tests/test262/language/module-code/dynamic-import/usage/top-level-import-then-eval-gtbndng-indirect-update-dflt.js => js/src/tests/test262/language/expressions/dynamic-import/usage/top-level-import-then-eval-gtbndng-indirect-update-dflt.js rename : js/src/tests/test262/language/module-code/dynamic-import/usage/top-level-import-then-eval-gtbndng-indirect-update.js => js/src/tests/test262/language/expressions/dynamic-import/usage/top-level-import-then-eval-gtbndng-indirect-update.js rename : js/src/tests/test262/language/module-code/dynamic-import/usage/top-level-import-then-eval-script-code-host-resolves-module-code.js => js/src/tests/test262/language/expressions/dynamic-import/usage/top-level-import-then-eval-script-code-host-resolves-module-code.js rename : js/src/tests/test262/language/module-code/dynamic-import/usage/top-level-import-then-returns-thenable.js => js/src/tests/test262/language/expressions/dynamic-import/usage/top-level-import-then-returns-thenable.js
This commit is contained in:
Родитель
89f6169d5f
Коммит
75b0f36be3
|
@ -485,6 +485,16 @@ skip script test262/intl402/RelativeTimeFormat/prototype/format/pl-pl-style-long
|
|||
skip script test262/intl402/RelativeTimeFormat/prototype/format/pl-pl-style-narrow.js
|
||||
skip script test262/intl402/RelativeTimeFormat/prototype/format/pl-pl-style-short.js
|
||||
|
||||
# https://bugzilla.mozilla.org/show_bug.cgi?id=1508684
|
||||
skip script test262/built-ins/RegExp/prototype/multiline/cross-realm.js
|
||||
skip script test262/built-ins/RegExp/prototype/global/cross-realm.js
|
||||
skip script test262/built-ins/RegExp/prototype/sticky/cross-realm.js
|
||||
skip script test262/built-ins/RegExp/prototype/ignoreCase/cross-realm.js
|
||||
skip script test262/built-ins/RegExp/prototype/unicode/cross-realm.js
|
||||
skip script test262/built-ins/RegExp/prototype/source/cross-realm.js
|
||||
|
||||
# https://bugzilla.mozilla.org/show_bug.cgi?id=1508684
|
||||
skip script test262/language/expressions/import.meta/syntax/invalid-assignment-target-update-expr.js
|
||||
|
||||
###########################################################
|
||||
# Tests disabled due to issues in test262 importer script #
|
||||
|
|
|
@ -1,36 +1,6 @@
|
|||
commit b98c45ca5a46966bce1ac691d5f608beb36d5db7
|
||||
Author: Maya Lekova <apokalyptra@gmail.com>
|
||||
Date: Wed Oct 17 22:10:09 2018 +0200
|
||||
commit 2726142bb97e4538703eda748c3b7300183bc66d
|
||||
Author: test262-automation <test262-automation@bocoup.com>
|
||||
Date: Wed Nov 14 19:00:37 2018 +0000
|
||||
|
||||
AsyncFunction: Add tests ensuring the new 1-tick await behaviour (#1843)
|
||||
|
||||
* AsyncFunction: Add tests ensuring the new 1-tick await behaviour
|
||||
|
||||
This commit adds 3 tests ensuring the optimized behaviour of await
|
||||
(see https://github.com/tc39/ecma262/pull/1250) in the following cases:
|
||||
- async functions
|
||||
- yielding from async generator functions
|
||||
- for-await-of loops
|
||||
|
||||
* AsyncFunction: Add tests ensuring the monkey-patched promises behaviour
|
||||
|
||||
This commit adds 2 more tests ensuring the optimized behaviour of await
|
||||
(see tc39/ecma262#1250) in the following cases:
|
||||
- awaiting on a native promise with monkey-patched "then"
|
||||
- awaiting on a non-native promise (a "thenable" object)
|
||||
|
||||
* AsyncFunction: Add tests ensuring the non-native promises behaviour
|
||||
|
||||
This commit adds 1 more tests ensuring the optimized behaviour of await
|
||||
(see tc39/ecma262#1250) in the following cases:
|
||||
- awaiting on a non-promise, non-thenable object
|
||||
|
||||
It also renames the previous test for non-promise (a "thenable" object)
|
||||
to distinguish from the new case.
|
||||
|
||||
The commit adds checks for proper await/promises interleaving in the
|
||||
aforementioned cases and includes a small code clean-up.
|
||||
|
||||
* AsyncFunction: Refactor tests ensuring the new 1-tick await behaviour
|
||||
|
||||
Gather all the tests to their appropriate folder and update copyright header.
|
||||
[v8-test262-automation] Updated curation log with latest revision sha's from export and changed files.
|
||||
sourceRevisionAtLastExport: ac250b9b targetRevisionAtLastExport: 6218e682b2
|
||||
|
|
|
@ -26,7 +26,7 @@ assert.sameValue(
|
|||
assert.sameValue(
|
||||
escape('!"#$%&\'()'),
|
||||
'%21%22%23%24%25%26%27%28%29',
|
||||
'characters preceeding "*": !"#$%&\'()'
|
||||
'characters preceding "*": !"#$%&\'()'
|
||||
);
|
||||
|
||||
assert.sameValue(escape(','), '%2C', 'character between "+" and "-": ,');
|
||||
|
|
|
@ -15,7 +15,7 @@ negative:
|
|||
type: SyntaxError
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
({
|
||||
__proto__: null,
|
||||
|
|
|
@ -15,6 +15,6 @@ negative:
|
|||
flags: [onlyStrict]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
`${'\07'}`;
|
||||
|
|
|
@ -10,7 +10,7 @@ negative:
|
|||
type: SyntaxError
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
var a;
|
||||
throw NotEarlyError;
|
||||
for (a = 0 in {});
|
||||
|
|
|
@ -10,7 +10,7 @@ negative:
|
|||
type: SyntaxError
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
throw NotEarlyError;
|
||||
for (const a = 0 in {});
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ negative:
|
|||
type: SyntaxError
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
throw NotEarlyError;
|
||||
for (let a = 0 in {});
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ negative:
|
|||
flags: [onlyStrict]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
throw NotEarlyError;
|
||||
for (var a = 0 in {});
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ negative:
|
|||
type: SyntaxError
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
throw NotEarlyError;
|
||||
for (var [a] = 0 in {});
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ negative:
|
|||
type: SyntaxError
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
throw NotEarlyError;
|
||||
for (var {a} = 0 in {});
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ description: >
|
|||
When invoked via the function invocation pattern with multiple arguments,
|
||||
the AsyncGeneratorFunction intrinsic creates a valid generator whose body is the
|
||||
last argument evaluated as source code and whose formal parameters are
|
||||
defined by the preceeding arguments.
|
||||
defined by the preceding arguments.
|
||||
features: [async-iteration]
|
||||
flags: [async]
|
||||
---*/
|
||||
|
|
|
@ -41,6 +41,6 @@ assert.throws(TypeError, function() {
|
|||
setDate.call(args, arg);
|
||||
}, 'arguments exotic object');
|
||||
|
||||
assert.sameValue(callCount, 0, 'validation preceeds input coercion');
|
||||
assert.sameValue(callCount, 0, 'validation precedes input coercion');
|
||||
|
||||
reportCompare(0, 0);
|
||||
|
|
|
@ -51,6 +51,6 @@ assert.throws(TypeError, function() {
|
|||
setDate.call(symbol, arg);
|
||||
}, 'symbol');
|
||||
|
||||
assert.sameValue(callCount, 0, 'validation preceeds input coercion');
|
||||
assert.sameValue(callCount, 0, 'validation precedes input coercion');
|
||||
|
||||
reportCompare(0, 0);
|
||||
|
|
|
@ -41,6 +41,6 @@ assert.throws(TypeError, function() {
|
|||
setFullYear.call(args, arg);
|
||||
}, 'arguments exotic object');
|
||||
|
||||
assert.sameValue(callCount, 0, 'validation preceeds input coercion');
|
||||
assert.sameValue(callCount, 0, 'validation precedes input coercion');
|
||||
|
||||
reportCompare(0, 0);
|
||||
|
|
|
@ -51,6 +51,6 @@ assert.throws(TypeError, function() {
|
|||
setFullYear.call(symbol, arg);
|
||||
}, 'symbol');
|
||||
|
||||
assert.sameValue(callCount, 0, 'validation preceeds input coercion');
|
||||
assert.sameValue(callCount, 0, 'validation precedes input coercion');
|
||||
|
||||
reportCompare(0, 0);
|
||||
|
|
|
@ -41,6 +41,6 @@ assert.throws(TypeError, function() {
|
|||
setHours.call(args, arg);
|
||||
}, 'arguments exotic object');
|
||||
|
||||
assert.sameValue(callCount, 0, 'validation preceeds input coercion');
|
||||
assert.sameValue(callCount, 0, 'validation precedes input coercion');
|
||||
|
||||
reportCompare(0, 0);
|
||||
|
|
|
@ -51,6 +51,6 @@ assert.throws(TypeError, function() {
|
|||
setHours.call(symbol, arg);
|
||||
}, 'symbol');
|
||||
|
||||
assert.sameValue(callCount, 0, 'validation preceeds input coercion');
|
||||
assert.sameValue(callCount, 0, 'validation precedes input coercion');
|
||||
|
||||
reportCompare(0, 0);
|
||||
|
|
|
@ -41,6 +41,6 @@ assert.throws(TypeError, function() {
|
|||
setMilliseconds.call(args, arg);
|
||||
}, 'arguments exotic object');
|
||||
|
||||
assert.sameValue(callCount, 0, 'validation preceeds input coercion');
|
||||
assert.sameValue(callCount, 0, 'validation precedes input coercion');
|
||||
|
||||
reportCompare(0, 0);
|
||||
|
|
|
@ -51,6 +51,6 @@ assert.throws(TypeError, function() {
|
|||
setMilliseconds.call(symbol, arg);
|
||||
}, 'symbol');
|
||||
|
||||
assert.sameValue(callCount, 0, 'validation preceeds input coercion');
|
||||
assert.sameValue(callCount, 0, 'validation precedes input coercion');
|
||||
|
||||
reportCompare(0, 0);
|
||||
|
|
|
@ -41,6 +41,6 @@ assert.throws(TypeError, function() {
|
|||
setMinutes.call(args, arg);
|
||||
}, 'arguments exotic object');
|
||||
|
||||
assert.sameValue(callCount, 0, 'validation preceeds input coercion');
|
||||
assert.sameValue(callCount, 0, 'validation precedes input coercion');
|
||||
|
||||
reportCompare(0, 0);
|
||||
|
|
|
@ -51,6 +51,6 @@ assert.throws(TypeError, function() {
|
|||
setMinutes.call(symbol, arg);
|
||||
}, 'symbol');
|
||||
|
||||
assert.sameValue(callCount, 0, 'validation preceeds input coercion');
|
||||
assert.sameValue(callCount, 0, 'validation precedes input coercion');
|
||||
|
||||
reportCompare(0, 0);
|
||||
|
|
|
@ -41,6 +41,6 @@ assert.throws(TypeError, function() {
|
|||
setMonth.call(args, arg);
|
||||
}, 'arguments exotic object');
|
||||
|
||||
assert.sameValue(callCount, 0, 'validation preceeds input coercion');
|
||||
assert.sameValue(callCount, 0, 'validation precedes input coercion');
|
||||
|
||||
reportCompare(0, 0);
|
||||
|
|
|
@ -51,6 +51,6 @@ assert.throws(TypeError, function() {
|
|||
setMonth.call(symbol, arg);
|
||||
}, 'symbol');
|
||||
|
||||
assert.sameValue(callCount, 0, 'validation preceeds input coercion');
|
||||
assert.sameValue(callCount, 0, 'validation precedes input coercion');
|
||||
|
||||
reportCompare(0, 0);
|
||||
|
|
|
@ -41,6 +41,6 @@ assert.throws(TypeError, function() {
|
|||
setSeconds.call(args, arg);
|
||||
}, 'arguments exotic object');
|
||||
|
||||
assert.sameValue(callCount, 0, 'validation preceeds input coercion');
|
||||
assert.sameValue(callCount, 0, 'validation precedes input coercion');
|
||||
|
||||
reportCompare(0, 0);
|
||||
|
|
|
@ -51,6 +51,6 @@ assert.throws(TypeError, function() {
|
|||
setSeconds.call(symbol, arg);
|
||||
}, 'symbol');
|
||||
|
||||
assert.sameValue(callCount, 0, 'validation preceeds input coercion');
|
||||
assert.sameValue(callCount, 0, 'validation precedes input coercion');
|
||||
|
||||
reportCompare(0, 0);
|
||||
|
|
|
@ -41,6 +41,6 @@ assert.throws(TypeError, function() {
|
|||
setTime.call(args, arg);
|
||||
}, 'arguments exotic object');
|
||||
|
||||
assert.sameValue(callCount, 0, 'validation preceeds input coercion');
|
||||
assert.sameValue(callCount, 0, 'validation precedes input coercion');
|
||||
|
||||
reportCompare(0, 0);
|
||||
|
|
|
@ -51,6 +51,6 @@ assert.throws(TypeError, function() {
|
|||
setTime.call(symbol, arg);
|
||||
}, 'symbol');
|
||||
|
||||
assert.sameValue(callCount, 0, 'validation preceeds input coercion');
|
||||
assert.sameValue(callCount, 0, 'validation precedes input coercion');
|
||||
|
||||
reportCompare(0, 0);
|
||||
|
|
|
@ -14,7 +14,7 @@ info: |
|
|||
NativeFunction:
|
||||
function IdentifierName_opt ( FormalParameters ) { [ native code ] }
|
||||
|
||||
features: [async-functions, generators, Proxy]
|
||||
features: [async-iteration, Proxy]
|
||||
includes: [nativeFunctionMatcher.js]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ info: |
|
|||
NativeFunction:
|
||||
function IdentifierName_opt ( FormalParameters ) { [ native code ] }
|
||||
|
||||
features: [async-functions, generators, Proxy]
|
||||
features: [async-iteration, Proxy]
|
||||
includes: [nativeFunctionMatcher.js]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ info: |
|
|||
NativeFunction:
|
||||
function IdentifierName_opt ( FormalParameters ) { [ native code ] }
|
||||
|
||||
features: [async-functions, generators, Proxy]
|
||||
features: [async-functions, Proxy]
|
||||
includes: [nativeFunctionMatcher.js]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ description: >
|
|||
When invoked via the function invocation pattern with multiple arguments,
|
||||
the GeneratorFunction intrinsic creates a valid generator whose body is the
|
||||
last argument evaluated as source code and whose formal parameters are
|
||||
defined by the preceeding arguments.
|
||||
defined by the preceding arguments.
|
||||
features: [generators]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ info: |
|
|||
a. Set the [[Call]] internal method of P as specified in 9.5.12.
|
||||
[...]
|
||||
|
||||
features: [Proxy, Symbol.toStringTag]
|
||||
features: [generators, Proxy, Symbol.toStringTag]
|
||||
---*/
|
||||
|
||||
var functionProxy = new Proxy(function() {}, {});
|
||||
|
|
|
@ -28,7 +28,7 @@ class SubPromise extends Promise {
|
|||
}
|
||||
}
|
||||
|
||||
var instance = Promise.all.call(SubPromise);
|
||||
var instance = Promise.all.call(SubPromise, []);
|
||||
|
||||
assert.sameValue(instance.constructor, SubPromise);
|
||||
assert.sameValue(instance instanceof SubPromise, true);
|
||||
|
|
|
@ -28,7 +28,7 @@ class SubPromise extends Promise {
|
|||
}
|
||||
}
|
||||
|
||||
var instance = Promise.race.call(SubPromise);
|
||||
var instance = Promise.race.call(SubPromise, []);
|
||||
|
||||
assert.sameValue(instance.constructor, SubPromise);
|
||||
assert.sameValue(instance instanceof SubPromise, true);
|
||||
|
|
|
@ -4,9 +4,10 @@
|
|||
/*---
|
||||
esid: prod-CharacterClassEscape
|
||||
description: >
|
||||
Compare range for Digit class escape, \\d with flags ug
|
||||
Compare range for digit class escape \d with flags ug
|
||||
info: |
|
||||
This is a generated test, please checkout https://github.com/bocoup/test262-regexp-generator
|
||||
This is a generated test. Please check out
|
||||
https://github.com/bocoup/test262-regexp-generator
|
||||
for any changes.
|
||||
|
||||
CharacterClassEscape[U] ::
|
||||
|
@ -18,7 +19,7 @@ info: |
|
|||
W
|
||||
|
||||
21.2.2.12 CharacterClassEscape
|
||||
|
||||
|
||||
The production CharacterClassEscape :: d evaluates as follows:
|
||||
Return the ten-element set of characters containing the characters 0 through 9 inclusive.
|
||||
The production CharacterClassEscape :: D evaluates as follows:
|
||||
|
@ -36,21 +37,21 @@ features: [String.fromCodePoint]
|
|||
includes: [regExpUtils.js]
|
||||
---*/
|
||||
|
||||
const str = buildString({loneCodePoints: [], ranges: [[0, 0x10FFFF]]});
|
||||
const str = buildString({
|
||||
loneCodePoints: [],
|
||||
ranges: [
|
||||
[0x0030, 0x0039],
|
||||
],
|
||||
});
|
||||
|
||||
const re = /\d/ug;
|
||||
const matchingRange = /[0-9]/ug;
|
||||
|
||||
const errors = [];
|
||||
|
||||
function matching(str) {
|
||||
return str.replace(re, '') === str.replace(matchingRange, '');
|
||||
}
|
||||
|
||||
if (!matching(str)) {
|
||||
if (!re.test(str)) {
|
||||
// Error, let's find out where
|
||||
for (const char of str) {
|
||||
if (!matching(char)) {
|
||||
if (!re.test(char)) {
|
||||
errors.push('0x' + char.codePointAt(0).toString(16));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,9 +4,10 @@
|
|||
/*---
|
||||
esid: prod-CharacterClassEscape
|
||||
description: >
|
||||
Compare range for Digit class escape, \\d+ with flags ug
|
||||
Compare range for digit class escape \d+ with flags ug
|
||||
info: |
|
||||
This is a generated test, please checkout https://github.com/bocoup/test262-regexp-generator
|
||||
This is a generated test. Please check out
|
||||
https://github.com/bocoup/test262-regexp-generator
|
||||
for any changes.
|
||||
|
||||
CharacterClassEscape[U] ::
|
||||
|
@ -18,7 +19,7 @@ info: |
|
|||
W
|
||||
|
||||
21.2.2.12 CharacterClassEscape
|
||||
|
||||
|
||||
The production CharacterClassEscape :: d evaluates as follows:
|
||||
Return the ten-element set of characters containing the characters 0 through 9 inclusive.
|
||||
The production CharacterClassEscape :: D evaluates as follows:
|
||||
|
@ -36,21 +37,21 @@ features: [String.fromCodePoint]
|
|||
includes: [regExpUtils.js]
|
||||
---*/
|
||||
|
||||
const str = buildString({loneCodePoints: [], ranges: [[0, 0x10FFFF]]});
|
||||
const str = buildString({
|
||||
loneCodePoints: [],
|
||||
ranges: [
|
||||
[0x0030, 0x0039],
|
||||
],
|
||||
});
|
||||
|
||||
const re = /\d+/ug;
|
||||
const matchingRange = /[0-9]+/ug;
|
||||
|
||||
const errors = [];
|
||||
|
||||
function matching(str) {
|
||||
return str.replace(re, '') === str.replace(matchingRange, '');
|
||||
}
|
||||
|
||||
if (!matching(str)) {
|
||||
if (!re.test(str)) {
|
||||
// Error, let's find out where
|
||||
for (const char of str) {
|
||||
if (!matching(char)) {
|
||||
if (!re.test(char)) {
|
||||
errors.push('0x' + char.codePointAt(0).toString(16));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,9 +4,10 @@
|
|||
/*---
|
||||
esid: prod-CharacterClassEscape
|
||||
description: >
|
||||
Compare range for Digit class escape, \\d+ with flags g
|
||||
Compare range for digit class escape \d+ with flags g
|
||||
info: |
|
||||
This is a generated test, please checkout https://github.com/bocoup/test262-regexp-generator
|
||||
This is a generated test. Please check out
|
||||
https://github.com/bocoup/test262-regexp-generator
|
||||
for any changes.
|
||||
|
||||
CharacterClassEscape[U] ::
|
||||
|
@ -18,7 +19,7 @@ info: |
|
|||
W
|
||||
|
||||
21.2.2.12 CharacterClassEscape
|
||||
|
||||
|
||||
The production CharacterClassEscape :: d evaluates as follows:
|
||||
Return the ten-element set of characters containing the characters 0 through 9 inclusive.
|
||||
The production CharacterClassEscape :: D evaluates as follows:
|
||||
|
@ -36,21 +37,21 @@ features: [String.fromCodePoint]
|
|||
includes: [regExpUtils.js]
|
||||
---*/
|
||||
|
||||
const str = buildString({loneCodePoints: [], ranges: [[0, 0xFFFF]]});
|
||||
const str = buildString({
|
||||
loneCodePoints: [],
|
||||
ranges: [
|
||||
[0x0030, 0x0039],
|
||||
],
|
||||
});
|
||||
|
||||
const re = /\d+/g;
|
||||
const matchingRange = /[0-9]+/g;
|
||||
|
||||
const errors = [];
|
||||
|
||||
function matching(str) {
|
||||
return str.replace(re, '') === str.replace(matchingRange, '');
|
||||
}
|
||||
|
||||
if (!matching(str)) {
|
||||
if (!re.test(str)) {
|
||||
// Error, let's find out where
|
||||
for (const char of str) {
|
||||
if (!matching(char)) {
|
||||
if (!re.test(char)) {
|
||||
errors.push('0x' + char.codePointAt(0).toString(16));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,9 +4,10 @@
|
|||
/*---
|
||||
esid: prod-CharacterClassEscape
|
||||
description: >
|
||||
Compare range for Digit class escape, \\d with flags g
|
||||
Compare range for digit class escape \d with flags g
|
||||
info: |
|
||||
This is a generated test, please checkout https://github.com/bocoup/test262-regexp-generator
|
||||
This is a generated test. Please check out
|
||||
https://github.com/bocoup/test262-regexp-generator
|
||||
for any changes.
|
||||
|
||||
CharacterClassEscape[U] ::
|
||||
|
@ -18,7 +19,7 @@ info: |
|
|||
W
|
||||
|
||||
21.2.2.12 CharacterClassEscape
|
||||
|
||||
|
||||
The production CharacterClassEscape :: d evaluates as follows:
|
||||
Return the ten-element set of characters containing the characters 0 through 9 inclusive.
|
||||
The production CharacterClassEscape :: D evaluates as follows:
|
||||
|
@ -36,21 +37,21 @@ features: [String.fromCodePoint]
|
|||
includes: [regExpUtils.js]
|
||||
---*/
|
||||
|
||||
const str = buildString({loneCodePoints: [], ranges: [[0, 0xFFFF]]});
|
||||
const str = buildString({
|
||||
loneCodePoints: [],
|
||||
ranges: [
|
||||
[0x0030, 0x0039],
|
||||
],
|
||||
});
|
||||
|
||||
const re = /\d/g;
|
||||
const matchingRange = /[0-9]/g;
|
||||
|
||||
const errors = [];
|
||||
|
||||
function matching(str) {
|
||||
return str.replace(re, '') === str.replace(matchingRange, '');
|
||||
}
|
||||
|
||||
if (!matching(str)) {
|
||||
if (!re.test(str)) {
|
||||
// Error, let's find out where
|
||||
for (const char of str) {
|
||||
if (!matching(char)) {
|
||||
if (!re.test(char)) {
|
||||
errors.push('0x' + char.codePointAt(0).toString(16));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,9 +4,10 @@
|
|||
/*---
|
||||
esid: prod-CharacterClassEscape
|
||||
description: >
|
||||
Compare range for Non Digit class escape, \\D with flags ug
|
||||
Compare range for non-digit class escape \D with flags ug
|
||||
info: |
|
||||
This is a generated test, please checkout https://github.com/bocoup/test262-regexp-generator
|
||||
This is a generated test. Please check out
|
||||
https://github.com/bocoup/test262-regexp-generator
|
||||
for any changes.
|
||||
|
||||
CharacterClassEscape[U] ::
|
||||
|
@ -18,7 +19,7 @@ info: |
|
|||
W
|
||||
|
||||
21.2.2.12 CharacterClassEscape
|
||||
|
||||
|
||||
The production CharacterClassEscape :: d evaluates as follows:
|
||||
Return the ten-element set of characters containing the characters 0 through 9 inclusive.
|
||||
The production CharacterClassEscape :: D evaluates as follows:
|
||||
|
@ -36,21 +37,22 @@ features: [String.fromCodePoint]
|
|||
includes: [regExpUtils.js]
|
||||
---*/
|
||||
|
||||
const str = buildString({loneCodePoints: [], ranges: [[0, 0x10FFFF]]});
|
||||
const str = buildString({
|
||||
loneCodePoints: [],
|
||||
ranges: [
|
||||
[0x000000, 0x00002F],
|
||||
[0x00003A, 0x10FFFF],
|
||||
],
|
||||
});
|
||||
|
||||
const re = /\D/ug;
|
||||
const matchingRange = /[\0-\/:-\u{10FFFF}]/ug;
|
||||
|
||||
const errors = [];
|
||||
|
||||
function matching(str) {
|
||||
return str.replace(re, '') === str.replace(matchingRange, '');
|
||||
}
|
||||
|
||||
if (!matching(str)) {
|
||||
if (!re.test(str)) {
|
||||
// Error, let's find out where
|
||||
for (const char of str) {
|
||||
if (!matching(char)) {
|
||||
if (!re.test(char)) {
|
||||
errors.push('0x' + char.codePointAt(0).toString(16));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,9 +4,10 @@
|
|||
/*---
|
||||
esid: prod-CharacterClassEscape
|
||||
description: >
|
||||
Compare range for Non Digit class escape, \\D+ with flags ug
|
||||
Compare range for non-digit class escape \D+ with flags ug
|
||||
info: |
|
||||
This is a generated test, please checkout https://github.com/bocoup/test262-regexp-generator
|
||||
This is a generated test. Please check out
|
||||
https://github.com/bocoup/test262-regexp-generator
|
||||
for any changes.
|
||||
|
||||
CharacterClassEscape[U] ::
|
||||
|
@ -18,7 +19,7 @@ info: |
|
|||
W
|
||||
|
||||
21.2.2.12 CharacterClassEscape
|
||||
|
||||
|
||||
The production CharacterClassEscape :: d evaluates as follows:
|
||||
Return the ten-element set of characters containing the characters 0 through 9 inclusive.
|
||||
The production CharacterClassEscape :: D evaluates as follows:
|
||||
|
@ -36,21 +37,22 @@ features: [String.fromCodePoint]
|
|||
includes: [regExpUtils.js]
|
||||
---*/
|
||||
|
||||
const str = buildString({loneCodePoints: [], ranges: [[0, 0x10FFFF]]});
|
||||
const str = buildString({
|
||||
loneCodePoints: [],
|
||||
ranges: [
|
||||
[0x000000, 0x00002F],
|
||||
[0x00003A, 0x10FFFF],
|
||||
],
|
||||
});
|
||||
|
||||
const re = /\D+/ug;
|
||||
const matchingRange = /[\0-\/:-\u{10FFFF}]+/ug;
|
||||
|
||||
const errors = [];
|
||||
|
||||
function matching(str) {
|
||||
return str.replace(re, '') === str.replace(matchingRange, '');
|
||||
}
|
||||
|
||||
if (!matching(str)) {
|
||||
if (!re.test(str)) {
|
||||
// Error, let's find out where
|
||||
for (const char of str) {
|
||||
if (!matching(char)) {
|
||||
if (!re.test(char)) {
|
||||
errors.push('0x' + char.codePointAt(0).toString(16));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,9 +4,10 @@
|
|||
/*---
|
||||
esid: prod-CharacterClassEscape
|
||||
description: >
|
||||
Compare range for Non Digit class escape, \\D+ with flags g
|
||||
Compare range for non-digit class escape \D+ with flags g
|
||||
info: |
|
||||
This is a generated test, please checkout https://github.com/bocoup/test262-regexp-generator
|
||||
This is a generated test. Please check out
|
||||
https://github.com/bocoup/test262-regexp-generator
|
||||
for any changes.
|
||||
|
||||
CharacterClassEscape[U] ::
|
||||
|
@ -18,7 +19,7 @@ info: |
|
|||
W
|
||||
|
||||
21.2.2.12 CharacterClassEscape
|
||||
|
||||
|
||||
The production CharacterClassEscape :: d evaluates as follows:
|
||||
Return the ten-element set of characters containing the characters 0 through 9 inclusive.
|
||||
The production CharacterClassEscape :: D evaluates as follows:
|
||||
|
@ -36,21 +37,22 @@ features: [String.fromCodePoint]
|
|||
includes: [regExpUtils.js]
|
||||
---*/
|
||||
|
||||
const str = buildString({loneCodePoints: [], ranges: [[0, 0xFFFF]]});
|
||||
const str = buildString({
|
||||
loneCodePoints: [],
|
||||
ranges: [
|
||||
[0x000000, 0x00002F],
|
||||
[0x00003A, 0x00FFFF],
|
||||
],
|
||||
});
|
||||
|
||||
const re = /\D+/g;
|
||||
const matchingRange = /[\0-\/:-\uFFFF]+/g;
|
||||
|
||||
const errors = [];
|
||||
|
||||
function matching(str) {
|
||||
return str.replace(re, '') === str.replace(matchingRange, '');
|
||||
}
|
||||
|
||||
if (!matching(str)) {
|
||||
if (!re.test(str)) {
|
||||
// Error, let's find out where
|
||||
for (const char of str) {
|
||||
if (!matching(char)) {
|
||||
if (!re.test(char)) {
|
||||
errors.push('0x' + char.codePointAt(0).toString(16));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,9 +4,10 @@
|
|||
/*---
|
||||
esid: prod-CharacterClassEscape
|
||||
description: >
|
||||
Compare range for Non Digit class escape, \\D with flags g
|
||||
Compare range for non-digit class escape \D with flags g
|
||||
info: |
|
||||
This is a generated test, please checkout https://github.com/bocoup/test262-regexp-generator
|
||||
This is a generated test. Please check out
|
||||
https://github.com/bocoup/test262-regexp-generator
|
||||
for any changes.
|
||||
|
||||
CharacterClassEscape[U] ::
|
||||
|
@ -18,7 +19,7 @@ info: |
|
|||
W
|
||||
|
||||
21.2.2.12 CharacterClassEscape
|
||||
|
||||
|
||||
The production CharacterClassEscape :: d evaluates as follows:
|
||||
Return the ten-element set of characters containing the characters 0 through 9 inclusive.
|
||||
The production CharacterClassEscape :: D evaluates as follows:
|
||||
|
@ -36,21 +37,22 @@ features: [String.fromCodePoint]
|
|||
includes: [regExpUtils.js]
|
||||
---*/
|
||||
|
||||
const str = buildString({loneCodePoints: [], ranges: [[0, 0xFFFF]]});
|
||||
const str = buildString({
|
||||
loneCodePoints: [],
|
||||
ranges: [
|
||||
[0x000000, 0x00002F],
|
||||
[0x00003A, 0x00FFFF],
|
||||
],
|
||||
});
|
||||
|
||||
const re = /\D/g;
|
||||
const matchingRange = /[\0-\/:-\uFFFF]/g;
|
||||
|
||||
const errors = [];
|
||||
|
||||
function matching(str) {
|
||||
return str.replace(re, '') === str.replace(matchingRange, '');
|
||||
}
|
||||
|
||||
if (!matching(str)) {
|
||||
if (!re.test(str)) {
|
||||
// Error, let's find out where
|
||||
for (const char of str) {
|
||||
if (!matching(char)) {
|
||||
if (!re.test(char)) {
|
||||
errors.push('0x' + char.codePointAt(0).toString(16));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,9 +4,10 @@
|
|||
/*---
|
||||
esid: prod-CharacterClassEscape
|
||||
description: >
|
||||
Compare range for Non whitespace class escape, \\S with flags ug
|
||||
Compare range for non-whitespace class escape \S with flags ug
|
||||
info: |
|
||||
This is a generated test, please checkout https://github.com/bocoup/test262-regexp-generator
|
||||
This is a generated test. Please check out
|
||||
https://github.com/bocoup/test262-regexp-generator
|
||||
for any changes.
|
||||
|
||||
CharacterClassEscape[U] ::
|
||||
|
@ -18,7 +19,7 @@ info: |
|
|||
W
|
||||
|
||||
21.2.2.12 CharacterClassEscape
|
||||
|
||||
|
||||
The production CharacterClassEscape :: d evaluates as follows:
|
||||
Return the ten-element set of characters containing the characters 0 through 9 inclusive.
|
||||
The production CharacterClassEscape :: D evaluates as follows:
|
||||
|
@ -36,21 +37,33 @@ features: [String.fromCodePoint]
|
|||
includes: [regExpUtils.js]
|
||||
---*/
|
||||
|
||||
const str = buildString({loneCodePoints: [], ranges: [[0, 0x10FFFF]]});
|
||||
const str = buildString({
|
||||
loneCodePoints: [],
|
||||
ranges: [
|
||||
[0x00DC00, 0x00DFFF],
|
||||
[0x000000, 0x000008],
|
||||
[0x00000E, 0x00001F],
|
||||
[0x000021, 0x00009F],
|
||||
[0x0000A1, 0x00167F],
|
||||
[0x001681, 0x001FFF],
|
||||
[0x00200B, 0x002027],
|
||||
[0x00202A, 0x00202E],
|
||||
[0x002030, 0x00205E],
|
||||
[0x002060, 0x002FFF],
|
||||
[0x003001, 0x00DBFF],
|
||||
[0x00E000, 0x00FEFE],
|
||||
[0x00FF00, 0x10FFFF],
|
||||
],
|
||||
});
|
||||
|
||||
const re = /\S/ug;
|
||||
const matchingRange = /[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uFEFE\uFF00-\u{10FFFF}]/ug;
|
||||
|
||||
const errors = [];
|
||||
|
||||
function matching(str) {
|
||||
return str.replace(re, '') === str.replace(matchingRange, '');
|
||||
}
|
||||
|
||||
if (!matching(str)) {
|
||||
if (!re.test(str)) {
|
||||
// Error, let's find out where
|
||||
for (const char of str) {
|
||||
if (!matching(char)) {
|
||||
if (!re.test(char)) {
|
||||
errors.push('0x' + char.codePointAt(0).toString(16));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,9 +4,10 @@
|
|||
/*---
|
||||
esid: prod-CharacterClassEscape
|
||||
description: >
|
||||
Compare range for Non whitespace class escape, \\S+ with flags ug
|
||||
Compare range for non-whitespace class escape \S+ with flags ug
|
||||
info: |
|
||||
This is a generated test, please checkout https://github.com/bocoup/test262-regexp-generator
|
||||
This is a generated test. Please check out
|
||||
https://github.com/bocoup/test262-regexp-generator
|
||||
for any changes.
|
||||
|
||||
CharacterClassEscape[U] ::
|
||||
|
@ -18,7 +19,7 @@ info: |
|
|||
W
|
||||
|
||||
21.2.2.12 CharacterClassEscape
|
||||
|
||||
|
||||
The production CharacterClassEscape :: d evaluates as follows:
|
||||
Return the ten-element set of characters containing the characters 0 through 9 inclusive.
|
||||
The production CharacterClassEscape :: D evaluates as follows:
|
||||
|
@ -36,21 +37,33 @@ features: [String.fromCodePoint]
|
|||
includes: [regExpUtils.js]
|
||||
---*/
|
||||
|
||||
const str = buildString({loneCodePoints: [], ranges: [[0, 0x10FFFF]]});
|
||||
const str = buildString({
|
||||
loneCodePoints: [],
|
||||
ranges: [
|
||||
[0x00DC00, 0x00DFFF],
|
||||
[0x000000, 0x000008],
|
||||
[0x00000E, 0x00001F],
|
||||
[0x000021, 0x00009F],
|
||||
[0x0000A1, 0x00167F],
|
||||
[0x001681, 0x001FFF],
|
||||
[0x00200B, 0x002027],
|
||||
[0x00202A, 0x00202E],
|
||||
[0x002030, 0x00205E],
|
||||
[0x002060, 0x002FFF],
|
||||
[0x003001, 0x00DBFF],
|
||||
[0x00E000, 0x00FEFE],
|
||||
[0x00FF00, 0x10FFFF],
|
||||
],
|
||||
});
|
||||
|
||||
const re = /\S+/ug;
|
||||
const matchingRange = /[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uFEFE\uFF00-\u{10FFFF}]+/ug;
|
||||
|
||||
const errors = [];
|
||||
|
||||
function matching(str) {
|
||||
return str.replace(re, '') === str.replace(matchingRange, '');
|
||||
}
|
||||
|
||||
if (!matching(str)) {
|
||||
if (!re.test(str)) {
|
||||
// Error, let's find out where
|
||||
for (const char of str) {
|
||||
if (!matching(char)) {
|
||||
if (!re.test(char)) {
|
||||
errors.push('0x' + char.codePointAt(0).toString(16));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,9 +4,10 @@
|
|||
/*---
|
||||
esid: prod-CharacterClassEscape
|
||||
description: >
|
||||
Compare range for Non whitespace class escape, \\S+ with flags g
|
||||
Compare range for non-whitespace class escape \S+ with flags g
|
||||
info: |
|
||||
This is a generated test, please checkout https://github.com/bocoup/test262-regexp-generator
|
||||
This is a generated test. Please check out
|
||||
https://github.com/bocoup/test262-regexp-generator
|
||||
for any changes.
|
||||
|
||||
CharacterClassEscape[U] ::
|
||||
|
@ -18,7 +19,7 @@ info: |
|
|||
W
|
||||
|
||||
21.2.2.12 CharacterClassEscape
|
||||
|
||||
|
||||
The production CharacterClassEscape :: d evaluates as follows:
|
||||
Return the ten-element set of characters containing the characters 0 through 9 inclusive.
|
||||
The production CharacterClassEscape :: D evaluates as follows:
|
||||
|
@ -36,21 +37,33 @@ features: [String.fromCodePoint]
|
|||
includes: [regExpUtils.js]
|
||||
---*/
|
||||
|
||||
const str = buildString({loneCodePoints: [], ranges: [[0, 0xFFFF]]});
|
||||
const str = buildString({
|
||||
loneCodePoints: [],
|
||||
ranges: [
|
||||
[0x00DC00, 0x00DFFF],
|
||||
[0x000000, 0x000008],
|
||||
[0x00000E, 0x00001F],
|
||||
[0x000021, 0x00009F],
|
||||
[0x0000A1, 0x00167F],
|
||||
[0x001681, 0x001FFF],
|
||||
[0x00200B, 0x002027],
|
||||
[0x00202A, 0x00202E],
|
||||
[0x002030, 0x00205E],
|
||||
[0x002060, 0x002FFF],
|
||||
[0x003001, 0x00DBFF],
|
||||
[0x00E000, 0x00FEFE],
|
||||
[0x00FF00, 0x00FFFF],
|
||||
],
|
||||
});
|
||||
|
||||
const re = /\S+/g;
|
||||
const matchingRange = /[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uFEFE\uFF00-\uFFFF]+/g;
|
||||
|
||||
const errors = [];
|
||||
|
||||
function matching(str) {
|
||||
return str.replace(re, '') === str.replace(matchingRange, '');
|
||||
}
|
||||
|
||||
if (!matching(str)) {
|
||||
if (!re.test(str)) {
|
||||
// Error, let's find out where
|
||||
for (const char of str) {
|
||||
if (!matching(char)) {
|
||||
if (!re.test(char)) {
|
||||
errors.push('0x' + char.codePointAt(0).toString(16));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,9 +4,10 @@
|
|||
/*---
|
||||
esid: prod-CharacterClassEscape
|
||||
description: >
|
||||
Compare range for Non whitespace class escape, \\S with flags g
|
||||
Compare range for non-whitespace class escape \S with flags g
|
||||
info: |
|
||||
This is a generated test, please checkout https://github.com/bocoup/test262-regexp-generator
|
||||
This is a generated test. Please check out
|
||||
https://github.com/bocoup/test262-regexp-generator
|
||||
for any changes.
|
||||
|
||||
CharacterClassEscape[U] ::
|
||||
|
@ -18,7 +19,7 @@ info: |
|
|||
W
|
||||
|
||||
21.2.2.12 CharacterClassEscape
|
||||
|
||||
|
||||
The production CharacterClassEscape :: d evaluates as follows:
|
||||
Return the ten-element set of characters containing the characters 0 through 9 inclusive.
|
||||
The production CharacterClassEscape :: D evaluates as follows:
|
||||
|
@ -36,21 +37,33 @@ features: [String.fromCodePoint]
|
|||
includes: [regExpUtils.js]
|
||||
---*/
|
||||
|
||||
const str = buildString({loneCodePoints: [], ranges: [[0, 0xFFFF]]});
|
||||
const str = buildString({
|
||||
loneCodePoints: [],
|
||||
ranges: [
|
||||
[0x00DC00, 0x00DFFF],
|
||||
[0x000000, 0x000008],
|
||||
[0x00000E, 0x00001F],
|
||||
[0x000021, 0x00009F],
|
||||
[0x0000A1, 0x00167F],
|
||||
[0x001681, 0x001FFF],
|
||||
[0x00200B, 0x002027],
|
||||
[0x00202A, 0x00202E],
|
||||
[0x002030, 0x00205E],
|
||||
[0x002060, 0x002FFF],
|
||||
[0x003001, 0x00DBFF],
|
||||
[0x00E000, 0x00FEFE],
|
||||
[0x00FF00, 0x00FFFF],
|
||||
],
|
||||
});
|
||||
|
||||
const re = /\S/g;
|
||||
const matchingRange = /[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uFEFE\uFF00-\uFFFF]/g;
|
||||
|
||||
const errors = [];
|
||||
|
||||
function matching(str) {
|
||||
return str.replace(re, '') === str.replace(matchingRange, '');
|
||||
}
|
||||
|
||||
if (!matching(str)) {
|
||||
if (!re.test(str)) {
|
||||
// Error, let's find out where
|
||||
for (const char of str) {
|
||||
if (!matching(char)) {
|
||||
if (!re.test(char)) {
|
||||
errors.push('0x' + char.codePointAt(0).toString(16));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,9 +4,10 @@
|
|||
/*---
|
||||
esid: prod-CharacterClassEscape
|
||||
description: >
|
||||
Compare range for Non Word class escape, \\W with flags ug
|
||||
Compare range for non-word class escape \W with flags ug
|
||||
info: |
|
||||
This is a generated test, please checkout https://github.com/bocoup/test262-regexp-generator
|
||||
This is a generated test. Please check out
|
||||
https://github.com/bocoup/test262-regexp-generator
|
||||
for any changes.
|
||||
|
||||
CharacterClassEscape[U] ::
|
||||
|
@ -18,7 +19,7 @@ info: |
|
|||
W
|
||||
|
||||
21.2.2.12 CharacterClassEscape
|
||||
|
||||
|
||||
The production CharacterClassEscape :: d evaluates as follows:
|
||||
Return the ten-element set of characters containing the characters 0 through 9 inclusive.
|
||||
The production CharacterClassEscape :: D evaluates as follows:
|
||||
|
@ -36,21 +37,26 @@ features: [String.fromCodePoint]
|
|||
includes: [regExpUtils.js]
|
||||
---*/
|
||||
|
||||
const str = buildString({loneCodePoints: [], ranges: [[0, 0x10FFFF]]});
|
||||
const str = buildString({
|
||||
loneCodePoints: [0x000060],
|
||||
ranges: [
|
||||
[0x00DC00, 0x00DFFF],
|
||||
[0x000000, 0x00002F],
|
||||
[0x00003A, 0x000040],
|
||||
[0x00005B, 0x00005E],
|
||||
[0x00007B, 0x00DBFF],
|
||||
[0x00E000, 0x10FFFF],
|
||||
],
|
||||
});
|
||||
|
||||
const re = /\W/ug;
|
||||
const matchingRange = /[\0-\/:-@\[-\^`\{-\u{10FFFF}]/ug;
|
||||
|
||||
const errors = [];
|
||||
|
||||
function matching(str) {
|
||||
return str.replace(re, '') === str.replace(matchingRange, '');
|
||||
}
|
||||
|
||||
if (!matching(str)) {
|
||||
if (!re.test(str)) {
|
||||
// Error, let's find out where
|
||||
for (const char of str) {
|
||||
if (!matching(char)) {
|
||||
if (!re.test(char)) {
|
||||
errors.push('0x' + char.codePointAt(0).toString(16));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,9 +4,10 @@
|
|||
/*---
|
||||
esid: prod-CharacterClassEscape
|
||||
description: >
|
||||
Compare range for Non Word class escape, \\W+ with flags ug
|
||||
Compare range for non-word class escape \W+ with flags ug
|
||||
info: |
|
||||
This is a generated test, please checkout https://github.com/bocoup/test262-regexp-generator
|
||||
This is a generated test. Please check out
|
||||
https://github.com/bocoup/test262-regexp-generator
|
||||
for any changes.
|
||||
|
||||
CharacterClassEscape[U] ::
|
||||
|
@ -18,7 +19,7 @@ info: |
|
|||
W
|
||||
|
||||
21.2.2.12 CharacterClassEscape
|
||||
|
||||
|
||||
The production CharacterClassEscape :: d evaluates as follows:
|
||||
Return the ten-element set of characters containing the characters 0 through 9 inclusive.
|
||||
The production CharacterClassEscape :: D evaluates as follows:
|
||||
|
@ -36,21 +37,26 @@ features: [String.fromCodePoint]
|
|||
includes: [regExpUtils.js]
|
||||
---*/
|
||||
|
||||
const str = buildString({loneCodePoints: [], ranges: [[0, 0x10FFFF]]});
|
||||
const str = buildString({
|
||||
loneCodePoints: [0x000060],
|
||||
ranges: [
|
||||
[0x00DC00, 0x00DFFF],
|
||||
[0x000000, 0x00002F],
|
||||
[0x00003A, 0x000040],
|
||||
[0x00005B, 0x00005E],
|
||||
[0x00007B, 0x00DBFF],
|
||||
[0x00E000, 0x10FFFF],
|
||||
],
|
||||
});
|
||||
|
||||
const re = /\W+/ug;
|
||||
const matchingRange = /[\0-\/:-@\[-\^`\{-\u{10FFFF}]+/ug;
|
||||
|
||||
const errors = [];
|
||||
|
||||
function matching(str) {
|
||||
return str.replace(re, '') === str.replace(matchingRange, '');
|
||||
}
|
||||
|
||||
if (!matching(str)) {
|
||||
if (!re.test(str)) {
|
||||
// Error, let's find out where
|
||||
for (const char of str) {
|
||||
if (!matching(char)) {
|
||||
if (!re.test(char)) {
|
||||
errors.push('0x' + char.codePointAt(0).toString(16));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,9 +4,10 @@
|
|||
/*---
|
||||
esid: prod-CharacterClassEscape
|
||||
description: >
|
||||
Compare range for Non Word class escape, \\W+ with flags g
|
||||
Compare range for non-word class escape \W+ with flags g
|
||||
info: |
|
||||
This is a generated test, please checkout https://github.com/bocoup/test262-regexp-generator
|
||||
This is a generated test. Please check out
|
||||
https://github.com/bocoup/test262-regexp-generator
|
||||
for any changes.
|
||||
|
||||
CharacterClassEscape[U] ::
|
||||
|
@ -18,7 +19,7 @@ info: |
|
|||
W
|
||||
|
||||
21.2.2.12 CharacterClassEscape
|
||||
|
||||
|
||||
The production CharacterClassEscape :: d evaluates as follows:
|
||||
Return the ten-element set of characters containing the characters 0 through 9 inclusive.
|
||||
The production CharacterClassEscape :: D evaluates as follows:
|
||||
|
@ -36,21 +37,26 @@ features: [String.fromCodePoint]
|
|||
includes: [regExpUtils.js]
|
||||
---*/
|
||||
|
||||
const str = buildString({loneCodePoints: [], ranges: [[0, 0xFFFF]]});
|
||||
const str = buildString({
|
||||
loneCodePoints: [0x000060],
|
||||
ranges: [
|
||||
[0x00DC00, 0x00DFFF],
|
||||
[0x000000, 0x00002F],
|
||||
[0x00003A, 0x000040],
|
||||
[0x00005B, 0x00005E],
|
||||
[0x00007B, 0x00DBFF],
|
||||
[0x00E000, 0x00FFFF],
|
||||
],
|
||||
});
|
||||
|
||||
const re = /\W+/g;
|
||||
const matchingRange = /[\0-\/:-@\[-\^`\{-\uFFFF]+/g;
|
||||
|
||||
const errors = [];
|
||||
|
||||
function matching(str) {
|
||||
return str.replace(re, '') === str.replace(matchingRange, '');
|
||||
}
|
||||
|
||||
if (!matching(str)) {
|
||||
if (!re.test(str)) {
|
||||
// Error, let's find out where
|
||||
for (const char of str) {
|
||||
if (!matching(char)) {
|
||||
if (!re.test(char)) {
|
||||
errors.push('0x' + char.codePointAt(0).toString(16));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,9 +4,10 @@
|
|||
/*---
|
||||
esid: prod-CharacterClassEscape
|
||||
description: >
|
||||
Compare range for Non Word class escape, \\W with flags g
|
||||
Compare range for non-word class escape \W with flags g
|
||||
info: |
|
||||
This is a generated test, please checkout https://github.com/bocoup/test262-regexp-generator
|
||||
This is a generated test. Please check out
|
||||
https://github.com/bocoup/test262-regexp-generator
|
||||
for any changes.
|
||||
|
||||
CharacterClassEscape[U] ::
|
||||
|
@ -18,7 +19,7 @@ info: |
|
|||
W
|
||||
|
||||
21.2.2.12 CharacterClassEscape
|
||||
|
||||
|
||||
The production CharacterClassEscape :: d evaluates as follows:
|
||||
Return the ten-element set of characters containing the characters 0 through 9 inclusive.
|
||||
The production CharacterClassEscape :: D evaluates as follows:
|
||||
|
@ -36,21 +37,26 @@ features: [String.fromCodePoint]
|
|||
includes: [regExpUtils.js]
|
||||
---*/
|
||||
|
||||
const str = buildString({loneCodePoints: [], ranges: [[0, 0xFFFF]]});
|
||||
const str = buildString({
|
||||
loneCodePoints: [0x000060],
|
||||
ranges: [
|
||||
[0x00DC00, 0x00DFFF],
|
||||
[0x000000, 0x00002F],
|
||||
[0x00003A, 0x000040],
|
||||
[0x00005B, 0x00005E],
|
||||
[0x00007B, 0x00DBFF],
|
||||
[0x00E000, 0x00FFFF],
|
||||
],
|
||||
});
|
||||
|
||||
const re = /\W/g;
|
||||
const matchingRange = /[\0-\/:-@\[-\^`\{-\uFFFF]/g;
|
||||
|
||||
const errors = [];
|
||||
|
||||
function matching(str) {
|
||||
return str.replace(re, '') === str.replace(matchingRange, '');
|
||||
}
|
||||
|
||||
if (!matching(str)) {
|
||||
if (!re.test(str)) {
|
||||
// Error, let's find out where
|
||||
for (const char of str) {
|
||||
if (!matching(char)) {
|
||||
if (!re.test(char)) {
|
||||
errors.push('0x' + char.codePointAt(0).toString(16));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,9 +4,10 @@
|
|||
/*---
|
||||
esid: prod-CharacterClassEscape
|
||||
description: >
|
||||
Compare range for Whitespace class escape, \\s with flags ug
|
||||
Compare range for whitespace class escape \s with flags ug
|
||||
info: |
|
||||
This is a generated test, please checkout https://github.com/bocoup/test262-regexp-generator
|
||||
This is a generated test. Please check out
|
||||
https://github.com/bocoup/test262-regexp-generator
|
||||
for any changes.
|
||||
|
||||
CharacterClassEscape[U] ::
|
||||
|
@ -18,7 +19,7 @@ info: |
|
|||
W
|
||||
|
||||
21.2.2.12 CharacterClassEscape
|
||||
|
||||
|
||||
The production CharacterClassEscape :: d evaluates as follows:
|
||||
Return the ten-element set of characters containing the characters 0 through 9 inclusive.
|
||||
The production CharacterClassEscape :: D evaluates as follows:
|
||||
|
@ -36,21 +37,31 @@ features: [String.fromCodePoint]
|
|||
includes: [regExpUtils.js]
|
||||
---*/
|
||||
|
||||
const str = buildString({loneCodePoints: [], ranges: [[0, 0x10FFFF]]});
|
||||
const str = buildString({
|
||||
loneCodePoints: [
|
||||
0x000020,
|
||||
0x0000A0,
|
||||
0x001680,
|
||||
0x00202F,
|
||||
0x00205F,
|
||||
0x003000,
|
||||
0x00FEFF,
|
||||
],
|
||||
ranges: [
|
||||
[0x000009, 0x00000D],
|
||||
[0x002000, 0x00200A],
|
||||
[0x002028, 0x002029],
|
||||
],
|
||||
});
|
||||
|
||||
const re = /\s/ug;
|
||||
const matchingRange = /[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]/ug;
|
||||
|
||||
const errors = [];
|
||||
|
||||
function matching(str) {
|
||||
return str.replace(re, '') === str.replace(matchingRange, '');
|
||||
}
|
||||
|
||||
if (!matching(str)) {
|
||||
if (!re.test(str)) {
|
||||
// Error, let's find out where
|
||||
for (const char of str) {
|
||||
if (!matching(char)) {
|
||||
if (!re.test(char)) {
|
||||
errors.push('0x' + char.codePointAt(0).toString(16));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,9 +4,10 @@
|
|||
/*---
|
||||
esid: prod-CharacterClassEscape
|
||||
description: >
|
||||
Compare range for Whitespace class escape, \\s+ with flags ug
|
||||
Compare range for whitespace class escape \s+ with flags ug
|
||||
info: |
|
||||
This is a generated test, please checkout https://github.com/bocoup/test262-regexp-generator
|
||||
This is a generated test. Please check out
|
||||
https://github.com/bocoup/test262-regexp-generator
|
||||
for any changes.
|
||||
|
||||
CharacterClassEscape[U] ::
|
||||
|
@ -18,7 +19,7 @@ info: |
|
|||
W
|
||||
|
||||
21.2.2.12 CharacterClassEscape
|
||||
|
||||
|
||||
The production CharacterClassEscape :: d evaluates as follows:
|
||||
Return the ten-element set of characters containing the characters 0 through 9 inclusive.
|
||||
The production CharacterClassEscape :: D evaluates as follows:
|
||||
|
@ -36,21 +37,31 @@ features: [String.fromCodePoint]
|
|||
includes: [regExpUtils.js]
|
||||
---*/
|
||||
|
||||
const str = buildString({loneCodePoints: [], ranges: [[0, 0x10FFFF]]});
|
||||
const str = buildString({
|
||||
loneCodePoints: [
|
||||
0x000020,
|
||||
0x0000A0,
|
||||
0x001680,
|
||||
0x00202F,
|
||||
0x00205F,
|
||||
0x003000,
|
||||
0x00FEFF,
|
||||
],
|
||||
ranges: [
|
||||
[0x000009, 0x00000D],
|
||||
[0x002000, 0x00200A],
|
||||
[0x002028, 0x002029],
|
||||
],
|
||||
});
|
||||
|
||||
const re = /\s+/ug;
|
||||
const matchingRange = /[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]+/ug;
|
||||
|
||||
const errors = [];
|
||||
|
||||
function matching(str) {
|
||||
return str.replace(re, '') === str.replace(matchingRange, '');
|
||||
}
|
||||
|
||||
if (!matching(str)) {
|
||||
if (!re.test(str)) {
|
||||
// Error, let's find out where
|
||||
for (const char of str) {
|
||||
if (!matching(char)) {
|
||||
if (!re.test(char)) {
|
||||
errors.push('0x' + char.codePointAt(0).toString(16));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,9 +4,10 @@
|
|||
/*---
|
||||
esid: prod-CharacterClassEscape
|
||||
description: >
|
||||
Compare range for Whitespace class escape, \\s+ with flags g
|
||||
Compare range for whitespace class escape \s+ with flags g
|
||||
info: |
|
||||
This is a generated test, please checkout https://github.com/bocoup/test262-regexp-generator
|
||||
This is a generated test. Please check out
|
||||
https://github.com/bocoup/test262-regexp-generator
|
||||
for any changes.
|
||||
|
||||
CharacterClassEscape[U] ::
|
||||
|
@ -18,7 +19,7 @@ info: |
|
|||
W
|
||||
|
||||
21.2.2.12 CharacterClassEscape
|
||||
|
||||
|
||||
The production CharacterClassEscape :: d evaluates as follows:
|
||||
Return the ten-element set of characters containing the characters 0 through 9 inclusive.
|
||||
The production CharacterClassEscape :: D evaluates as follows:
|
||||
|
@ -36,21 +37,31 @@ features: [String.fromCodePoint]
|
|||
includes: [regExpUtils.js]
|
||||
---*/
|
||||
|
||||
const str = buildString({loneCodePoints: [], ranges: [[0, 0xFFFF]]});
|
||||
const str = buildString({
|
||||
loneCodePoints: [
|
||||
0x000020,
|
||||
0x0000A0,
|
||||
0x001680,
|
||||
0x00202F,
|
||||
0x00205F,
|
||||
0x003000,
|
||||
0x00FEFF,
|
||||
],
|
||||
ranges: [
|
||||
[0x000009, 0x00000D],
|
||||
[0x002000, 0x00200A],
|
||||
[0x002028, 0x002029],
|
||||
],
|
||||
});
|
||||
|
||||
const re = /\s+/g;
|
||||
const matchingRange = /[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]+/g;
|
||||
|
||||
const errors = [];
|
||||
|
||||
function matching(str) {
|
||||
return str.replace(re, '') === str.replace(matchingRange, '');
|
||||
}
|
||||
|
||||
if (!matching(str)) {
|
||||
if (!re.test(str)) {
|
||||
// Error, let's find out where
|
||||
for (const char of str) {
|
||||
if (!matching(char)) {
|
||||
if (!re.test(char)) {
|
||||
errors.push('0x' + char.codePointAt(0).toString(16));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,9 +4,10 @@
|
|||
/*---
|
||||
esid: prod-CharacterClassEscape
|
||||
description: >
|
||||
Compare range for Whitespace class escape, \\s with flags g
|
||||
Compare range for whitespace class escape \s with flags g
|
||||
info: |
|
||||
This is a generated test, please checkout https://github.com/bocoup/test262-regexp-generator
|
||||
This is a generated test. Please check out
|
||||
https://github.com/bocoup/test262-regexp-generator
|
||||
for any changes.
|
||||
|
||||
CharacterClassEscape[U] ::
|
||||
|
@ -18,7 +19,7 @@ info: |
|
|||
W
|
||||
|
||||
21.2.2.12 CharacterClassEscape
|
||||
|
||||
|
||||
The production CharacterClassEscape :: d evaluates as follows:
|
||||
Return the ten-element set of characters containing the characters 0 through 9 inclusive.
|
||||
The production CharacterClassEscape :: D evaluates as follows:
|
||||
|
@ -36,21 +37,31 @@ features: [String.fromCodePoint]
|
|||
includes: [regExpUtils.js]
|
||||
---*/
|
||||
|
||||
const str = buildString({loneCodePoints: [], ranges: [[0, 0xFFFF]]});
|
||||
const str = buildString({
|
||||
loneCodePoints: [
|
||||
0x000020,
|
||||
0x0000A0,
|
||||
0x001680,
|
||||
0x00202F,
|
||||
0x00205F,
|
||||
0x003000,
|
||||
0x00FEFF,
|
||||
],
|
||||
ranges: [
|
||||
[0x000009, 0x00000D],
|
||||
[0x002000, 0x00200A],
|
||||
[0x002028, 0x002029],
|
||||
],
|
||||
});
|
||||
|
||||
const re = /\s/g;
|
||||
const matchingRange = /[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]/g;
|
||||
|
||||
const errors = [];
|
||||
|
||||
function matching(str) {
|
||||
return str.replace(re, '') === str.replace(matchingRange, '');
|
||||
}
|
||||
|
||||
if (!matching(str)) {
|
||||
if (!re.test(str)) {
|
||||
// Error, let's find out where
|
||||
for (const char of str) {
|
||||
if (!matching(char)) {
|
||||
if (!re.test(char)) {
|
||||
errors.push('0x' + char.codePointAt(0).toString(16));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,9 +4,10 @@
|
|||
/*---
|
||||
esid: prod-CharacterClassEscape
|
||||
description: >
|
||||
Compare range for Word class escape, \\w with flags ug
|
||||
Compare range for word class escape \w with flags ug
|
||||
info: |
|
||||
This is a generated test, please checkout https://github.com/bocoup/test262-regexp-generator
|
||||
This is a generated test. Please check out
|
||||
https://github.com/bocoup/test262-regexp-generator
|
||||
for any changes.
|
||||
|
||||
CharacterClassEscape[U] ::
|
||||
|
@ -18,7 +19,7 @@ info: |
|
|||
W
|
||||
|
||||
21.2.2.12 CharacterClassEscape
|
||||
|
||||
|
||||
The production CharacterClassEscape :: d evaluates as follows:
|
||||
Return the ten-element set of characters containing the characters 0 through 9 inclusive.
|
||||
The production CharacterClassEscape :: D evaluates as follows:
|
||||
|
@ -36,21 +37,23 @@ features: [String.fromCodePoint]
|
|||
includes: [regExpUtils.js]
|
||||
---*/
|
||||
|
||||
const str = buildString({loneCodePoints: [], ranges: [[0, 0x10FFFF]]});
|
||||
const str = buildString({
|
||||
loneCodePoints: [0x00005F],
|
||||
ranges: [
|
||||
[0x000030, 0x000039],
|
||||
[0x000041, 0x00005A],
|
||||
[0x000061, 0x00007A],
|
||||
],
|
||||
});
|
||||
|
||||
const re = /\w/ug;
|
||||
const matchingRange = /[0-9A-Z_a-z]/ug;
|
||||
|
||||
const errors = [];
|
||||
|
||||
function matching(str) {
|
||||
return str.replace(re, '') === str.replace(matchingRange, '');
|
||||
}
|
||||
|
||||
if (!matching(str)) {
|
||||
if (!re.test(str)) {
|
||||
// Error, let's find out where
|
||||
for (const char of str) {
|
||||
if (!matching(char)) {
|
||||
if (!re.test(char)) {
|
||||
errors.push('0x' + char.codePointAt(0).toString(16));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,9 +4,10 @@
|
|||
/*---
|
||||
esid: prod-CharacterClassEscape
|
||||
description: >
|
||||
Compare range for Word class escape, \\w+ with flags ug
|
||||
Compare range for word class escape \w+ with flags ug
|
||||
info: |
|
||||
This is a generated test, please checkout https://github.com/bocoup/test262-regexp-generator
|
||||
This is a generated test. Please check out
|
||||
https://github.com/bocoup/test262-regexp-generator
|
||||
for any changes.
|
||||
|
||||
CharacterClassEscape[U] ::
|
||||
|
@ -18,7 +19,7 @@ info: |
|
|||
W
|
||||
|
||||
21.2.2.12 CharacterClassEscape
|
||||
|
||||
|
||||
The production CharacterClassEscape :: d evaluates as follows:
|
||||
Return the ten-element set of characters containing the characters 0 through 9 inclusive.
|
||||
The production CharacterClassEscape :: D evaluates as follows:
|
||||
|
@ -36,21 +37,23 @@ features: [String.fromCodePoint]
|
|||
includes: [regExpUtils.js]
|
||||
---*/
|
||||
|
||||
const str = buildString({loneCodePoints: [], ranges: [[0, 0x10FFFF]]});
|
||||
const str = buildString({
|
||||
loneCodePoints: [0x00005F],
|
||||
ranges: [
|
||||
[0x000030, 0x000039],
|
||||
[0x000041, 0x00005A],
|
||||
[0x000061, 0x00007A],
|
||||
],
|
||||
});
|
||||
|
||||
const re = /\w+/ug;
|
||||
const matchingRange = /[0-9A-Z_a-z]+/ug;
|
||||
|
||||
const errors = [];
|
||||
|
||||
function matching(str) {
|
||||
return str.replace(re, '') === str.replace(matchingRange, '');
|
||||
}
|
||||
|
||||
if (!matching(str)) {
|
||||
if (!re.test(str)) {
|
||||
// Error, let's find out where
|
||||
for (const char of str) {
|
||||
if (!matching(char)) {
|
||||
if (!re.test(char)) {
|
||||
errors.push('0x' + char.codePointAt(0).toString(16));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,9 +4,10 @@
|
|||
/*---
|
||||
esid: prod-CharacterClassEscape
|
||||
description: >
|
||||
Compare range for Word class escape, \\w+ with flags g
|
||||
Compare range for word class escape \w+ with flags g
|
||||
info: |
|
||||
This is a generated test, please checkout https://github.com/bocoup/test262-regexp-generator
|
||||
This is a generated test. Please check out
|
||||
https://github.com/bocoup/test262-regexp-generator
|
||||
for any changes.
|
||||
|
||||
CharacterClassEscape[U] ::
|
||||
|
@ -18,7 +19,7 @@ info: |
|
|||
W
|
||||
|
||||
21.2.2.12 CharacterClassEscape
|
||||
|
||||
|
||||
The production CharacterClassEscape :: d evaluates as follows:
|
||||
Return the ten-element set of characters containing the characters 0 through 9 inclusive.
|
||||
The production CharacterClassEscape :: D evaluates as follows:
|
||||
|
@ -36,21 +37,23 @@ features: [String.fromCodePoint]
|
|||
includes: [regExpUtils.js]
|
||||
---*/
|
||||
|
||||
const str = buildString({loneCodePoints: [], ranges: [[0, 0xFFFF]]});
|
||||
const str = buildString({
|
||||
loneCodePoints: [0x00005F],
|
||||
ranges: [
|
||||
[0x000030, 0x000039],
|
||||
[0x000041, 0x00005A],
|
||||
[0x000061, 0x00007A],
|
||||
],
|
||||
});
|
||||
|
||||
const re = /\w+/g;
|
||||
const matchingRange = /[0-9A-Z_a-z]+/g;
|
||||
|
||||
const errors = [];
|
||||
|
||||
function matching(str) {
|
||||
return str.replace(re, '') === str.replace(matchingRange, '');
|
||||
}
|
||||
|
||||
if (!matching(str)) {
|
||||
if (!re.test(str)) {
|
||||
// Error, let's find out where
|
||||
for (const char of str) {
|
||||
if (!matching(char)) {
|
||||
if (!re.test(char)) {
|
||||
errors.push('0x' + char.codePointAt(0).toString(16));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,9 +4,10 @@
|
|||
/*---
|
||||
esid: prod-CharacterClassEscape
|
||||
description: >
|
||||
Compare range for Word class escape, \\w with flags g
|
||||
Compare range for word class escape \w with flags g
|
||||
info: |
|
||||
This is a generated test, please checkout https://github.com/bocoup/test262-regexp-generator
|
||||
This is a generated test. Please check out
|
||||
https://github.com/bocoup/test262-regexp-generator
|
||||
for any changes.
|
||||
|
||||
CharacterClassEscape[U] ::
|
||||
|
@ -18,7 +19,7 @@ info: |
|
|||
W
|
||||
|
||||
21.2.2.12 CharacterClassEscape
|
||||
|
||||
|
||||
The production CharacterClassEscape :: d evaluates as follows:
|
||||
Return the ten-element set of characters containing the characters 0 through 9 inclusive.
|
||||
The production CharacterClassEscape :: D evaluates as follows:
|
||||
|
@ -36,21 +37,23 @@ features: [String.fromCodePoint]
|
|||
includes: [regExpUtils.js]
|
||||
---*/
|
||||
|
||||
const str = buildString({loneCodePoints: [], ranges: [[0, 0xFFFF]]});
|
||||
const str = buildString({
|
||||
loneCodePoints: [0x00005F],
|
||||
ranges: [
|
||||
[0x000030, 0x000039],
|
||||
[0x000041, 0x00005A],
|
||||
[0x000061, 0x00007A],
|
||||
],
|
||||
});
|
||||
|
||||
const re = /\w/g;
|
||||
const matchingRange = /[0-9A-Z_a-z]/g;
|
||||
|
||||
const errors = [];
|
||||
|
||||
function matching(str) {
|
||||
return str.replace(re, '') === str.replace(matchingRange, '');
|
||||
}
|
||||
|
||||
if (!matching(str)) {
|
||||
if (!re.test(str)) {
|
||||
// Error, let's find out where
|
||||
for (const char of str) {
|
||||
if (!matching(char)) {
|
||||
if (!re.test(char)) {
|
||||
errors.push('0x' + char.codePointAt(0).toString(16));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,38 +0,0 @@
|
|||
// |reftest| skip -- regexp-named-groups is not supported
|
||||
// Copyright 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
description: >
|
||||
Named groups in Unicode RegExps have some syntax errors and some
|
||||
compatibility escape fallback behavior.
|
||||
esid: prod-GroupSpecifier
|
||||
features: [regexp-named-groups]
|
||||
includes: [compareArray.js]
|
||||
---*/
|
||||
|
||||
assert.throws(SyntaxError, () => eval("/(?<>a)/"));
|
||||
assert.throws(SyntaxError, () => eval("/(?<aa)/"));
|
||||
assert.throws(SyntaxError, () => eval("/(?<42a>a)/"));
|
||||
assert.throws(SyntaxError, () => eval("/(?<:a>a)/"));
|
||||
assert.throws(SyntaxError, () => eval("/(?<a:>a)/"));
|
||||
assert.throws(SyntaxError, () => eval("/(?<a>a)(?<a>a)/"));
|
||||
assert.throws(SyntaxError, () => eval("/(?<a>a)(?<b>b)(?<a>a)/"));
|
||||
|
||||
assert.throws(SyntaxError, () => eval("/(?<a>.)\\k/"));
|
||||
assert.throws(SyntaxError, () => eval("/(?<a>.)\\k<a/"));
|
||||
assert.throws(SyntaxError, () => eval("/(?<a>.)\\k<>/"));
|
||||
assert.throws(SyntaxError, () => eval("/(?<a>.)\\k<b>/"));
|
||||
assert.throws(SyntaxError, () => eval("/(?<a>a)\\k<ab>/"));
|
||||
assert.throws(SyntaxError, () => eval("/(?<ab>a)\\k<a>/"));
|
||||
assert.throws(SyntaxError, () => eval("/\\k<a>(?<ab>a)/"));
|
||||
assert.throws(SyntaxError, () => eval("/\\k<a(?<a>a)/"));
|
||||
|
||||
// A couple of corner cases around '\k' as named back-references vs. identity
|
||||
// escapes.
|
||||
assert(/\k<a>(?<a>x)/.test("x"));
|
||||
assert.throws(SyntaxError, () => eval("/\\k<a>(?<b>x)/"));
|
||||
assert.throws(SyntaxError, () => eval("/\\k<a(?<a>.)/"));
|
||||
assert.throws(SyntaxError, () => eval("/\\k(?<a>.)/"));
|
||||
|
||||
reportCompare(0, 0);
|
|
@ -6,42 +6,21 @@
|
|||
description: Exotic named group names in non-Unicode RegExps
|
||||
esid: prod-GroupSpecifier
|
||||
features: [regexp-named-groups]
|
||||
includes: [compareArray.js]
|
||||
---*/
|
||||
|
||||
assert.sameValue("a", /(?<π>a)/.exec("bab").groups.π);
|
||||
assert.throws(SyntaxError, () => eval('/(?<\\u{03C0}>a)/'), "\\u{} escapes allowed only in Unicode mode");
|
||||
assert.sameValue("a", /(?<π>a)/.exec("bab").groups.\u03C0);
|
||||
assert.sameValue("a", /(?<$>a)/.exec("bab").groups.$);
|
||||
assert.sameValue("a", /(?<_>a)/.exec("bab").groups._);
|
||||
assert.throws(SyntaxError, () => eval('/(?<$𐒤>a)/'), "Individual surrogates not in ID_Continue");
|
||||
assert.sameValue("a", /(?<_\u200C>a)/.exec("bab").groups._\u200C);
|
||||
assert.sameValue("a", /(?<_\u200D>a)/.exec("bab").groups._\u200D);
|
||||
assert.sameValue("a", /(?<ಠ_ಠ>a)/.exec("bab").groups.ಠ_ಠ);
|
||||
assert.throws(SyntaxError, () => eval('/(?<❤>a)/'));
|
||||
assert.throws(SyntaxError, () => eval('/(?<𐒤>a)/'), "Individual surrogate not in ID_Start.");
|
||||
|
||||
// Unicode escapes in capture names.
|
||||
assert.throws(SyntaxError, () => eval("/(?<a\\uD801\uDCA4>.)/"));
|
||||
assert.throws(SyntaxError, () => eval("/(?<a\\uD801>.)/"));
|
||||
assert.throws(SyntaxError, () => eval("/(?<a\\uDCA4>.)/"));
|
||||
assert(/(?<\u0041>.)/.test("a"));
|
||||
assert.throws(SyntaxError, () => eval("/(?<a\\u{104A4}>.)/"));
|
||||
assert.throws(SyntaxError, () => eval("/(?<a\\u{10FFFF}>.)/"));
|
||||
assert.throws(SyntaxError, () => eval("/(?<a\uD801>.)/"), "Lea");
|
||||
assert.throws(SyntaxError, () => eval("/(?<a\uDCA4>.)/"), "Trai");
|
||||
assert(RegExp("(?<\u{0041}>.)").test("a"), "Non-surrogate");
|
||||
|
||||
// Bracketed escapes are not allowed;
|
||||
// 4-char escapes must be the proper ID_Start/ID_Continue
|
||||
assert.throws(SyntaxError, () => eval("/(?<a\\uD801>.)/"), "Lead");
|
||||
assert.throws(SyntaxError, () => eval("/(?<a\\uDCA4>.)/"), "Trail");
|
||||
assert.throws(SyntaxError, () => eval("/(?<\\u{0041}>.)/"), "Non-surrogate");
|
||||
assert.throws(SyntaxError, () => eval("/(?<a\\u{104A4}>.)/"), "Surrogate, ID_Continue");
|
||||
assert(RegExp("(?<\\u0041>.)").test("a"), "Non-surrogate");
|
||||
|
||||
// Backslash is not allowed as ID_Start and ID_Continue
|
||||
assert.throws(SyntaxError, () => eval("/(?<\\>.)/"), "'\' misclassified as ID_Start");
|
||||
assert.throws(SyntaxError, () => eval("/(?<a\\>.)/"), "'\' misclassified as ID_Continue");
|
||||
|
||||
reportCompare(0, 0);
|
||||
|
|
|
@ -1,32 +0,0 @@
|
|||
// |reftest| skip -- regexp-named-groups is not supported
|
||||
// Copyright 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
description: Various syntax errors for Unicode RegExps containing named groups
|
||||
esid: prod-GroupSpecifier
|
||||
features: [regexp-named-groups]
|
||||
---*/
|
||||
|
||||
assert.throws(SyntaxError, () => eval("/(?<>a)/u"), "Empty name");
|
||||
assert.throws(SyntaxError, () => eval("/(?<aa)/u"), "Unterminated name");
|
||||
assert.throws(SyntaxError, () => eval("/(?<42a>a)/u"), "Name starting with digits");
|
||||
assert.throws(SyntaxError, () => eval("/(?<:a>a)/u"), "Name starting with invalid char");
|
||||
assert.throws(SyntaxError, () => eval("/(?<a:>a)/u"), "Name containing with invalid char");
|
||||
assert.throws(SyntaxError, () => eval("/(?<a>a)(?<a>a)/u"), "Duplicate name");
|
||||
assert.throws(SyntaxError, () => eval("/(?<a>a)(?<b>b)(?<a>a)/u"), "Duplicate name");
|
||||
assert.throws(SyntaxError, () => eval("/\\k<a>/u"), "Invalid reference");
|
||||
assert.throws(SyntaxError, () => eval("/\\k<a/u"), "Unterminated reference");
|
||||
assert.throws(SyntaxError, () => eval("/\\k<>/u"), "Empty reference");
|
||||
assert.throws(SyntaxError, () => eval("/\\k/u"), "Lone \k");
|
||||
assert.throws(SyntaxError, () => eval("/(?<a>.)\\k/u"), "Lone \k");
|
||||
assert.throws(SyntaxError, () => eval("/(?<a>.)\\k<a/u"), "Unterminated reference");
|
||||
assert.throws(SyntaxError, () => eval("/(?<a>.)\\k<>/u"), "Empty reference");
|
||||
assert.throws(SyntaxError, () => eval("/(?<a>.)\\k<b>/u"), "Invalid reference");
|
||||
assert.throws(SyntaxError, () => eval("/(?<a>a)\\k<ab>/u"), "Invalid reference");
|
||||
assert.throws(SyntaxError, () => eval("/(?<ab>a)\\k<a>/u"), "Invalid reference");
|
||||
assert.throws(SyntaxError, () => eval("/\\k<a>(?<ab>a)/u"), "Invalid reference");
|
||||
assert.throws(SyntaxError, () => eval("/(?<a>\\a)/u"), "Identity escape in capture");
|
||||
|
||||
|
||||
reportCompare(0, 0);
|
|
@ -18,32 +18,16 @@ assert.sameValue("a", /(?<$𐒤>a)/u.exec("bab").groups.$𐒤);
|
|||
assert.sameValue("a", /(?<_\u200C>a)/u.exec("bab").groups._\u200C);
|
||||
assert.sameValue("a", /(?<_\u200D>a)/u.exec("bab").groups._\u200D);
|
||||
assert.sameValue("a", /(?<ಠ_ಠ>a)/u.exec("bab").groups.ಠ_ಠ);
|
||||
assert.throws(SyntaxError, () => eval('/(?<❤>a)/u'));
|
||||
assert.throws(SyntaxError, () => eval('/(?<𐒤>a)/u'), "ID_Continue but not ID_Start.");
|
||||
|
||||
// Unicode escapes in capture names.
|
||||
assert(/(?<a\uD801\uDCA4>.)/u.test("a"), "\\u Lead \\u Trail");
|
||||
assert.throws(SyntaxError, () => eval("/(?<a\\uD801>.)/u"), "\\u Lea");
|
||||
assert.throws(SyntaxError, () => eval("/(?<a\\uDCA4>.)/u"), "\\u Trai");
|
||||
assert(/(?<\u0041>.)/u.test("a"), "\\u NonSurrogate");
|
||||
assert(/(?<\u{0041}>.)/u.test("a"), "\\u{ Non-surrogate }");
|
||||
assert(/(?<a\u{104A4}>.)/u.test("a"), "\\u{ Surrogate, ID_Continue }");
|
||||
assert.throws(SyntaxError, () => eval("/(?<a\\u{110000}>.)/u"), "\\u{ Out-of-bounds ");
|
||||
assert.throws(SyntaxError, () => eval("/(?<a\uD801>.)/u"), "Lea");
|
||||
assert.throws(SyntaxError, () => eval("/(?<a\uDCA4>.)/u"), "Trai");
|
||||
assert(RegExp("(?<\u{0041}>.)", "u").test("a"), "Non-surrogate");
|
||||
assert(RegExp("(?<a\u{104A4}>.)", "u").test("a"), "Surrogate,ID_Continue");
|
||||
|
||||
// Bracketed escapes are not allowed;
|
||||
// 4-char escapes must be the proper ID_Start/ID_Continue
|
||||
assert.throws(SyntaxError, () => eval("/(?<a\\uD801>.)/u"), "Lead");
|
||||
assert.throws(SyntaxError, () => eval("/(?<a\\uDCA4>.)/u"), "Trail");
|
||||
assert((/(?<\u{0041}>.)/u).test("a"), "Non-surrogate");
|
||||
assert(/(?<a\u{104A4}>.)/u.test("a"), "Surrogate, ID_Continue");
|
||||
assert(RegExp("(?<\\u0041>.)", "u").test("a"), "Non-surrogate");
|
||||
|
||||
// Backslash is not allowed as ID_Start and ID_Continue
|
||||
assert.throws(SyntaxError, () => eval("/(?<\\>.)/u"), "'\' misclassified as ID_Start");
|
||||
assert.throws(SyntaxError, () => eval("/(?<a\\>.)/u"), "'\' misclassified as ID_Continue");
|
||||
|
||||
reportCompare(0, 0);
|
||||
|
|
|
@ -14,6 +14,6 @@ negative:
|
|||
features: [regexp-unicode-property-escapes]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/\P{ASCII=F}/u;
|
||||
|
|
|
@ -14,6 +14,6 @@ negative:
|
|||
features: [regexp-unicode-property-escapes]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/\p{ASCII=F}/u;
|
||||
|
|
|
@ -14,6 +14,6 @@ negative:
|
|||
features: [regexp-unicode-property-escapes]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/\P{ASCII=Invalid}/u;
|
||||
|
|
|
@ -14,6 +14,6 @@ negative:
|
|||
features: [regexp-unicode-property-escapes]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/\p{ASCII=Invalid}/u;
|
||||
|
|
|
@ -14,6 +14,6 @@ negative:
|
|||
features: [regexp-unicode-property-escapes]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/\P{ASCII=N}/u;
|
||||
|
|
|
@ -14,6 +14,6 @@ negative:
|
|||
features: [regexp-unicode-property-escapes]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/\p{ASCII=N}/u;
|
||||
|
|
|
@ -14,6 +14,6 @@ negative:
|
|||
features: [regexp-unicode-property-escapes]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/\P{ASCII=No}/u;
|
||||
|
|
|
@ -14,6 +14,6 @@ negative:
|
|||
features: [regexp-unicode-property-escapes]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/\p{ASCII=No}/u;
|
||||
|
|
|
@ -14,6 +14,6 @@ negative:
|
|||
features: [regexp-unicode-property-escapes]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/\P{ASCII=T}/u;
|
||||
|
|
|
@ -14,6 +14,6 @@ negative:
|
|||
features: [regexp-unicode-property-escapes]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/\p{ASCII=T}/u;
|
||||
|
|
|
@ -14,6 +14,6 @@ negative:
|
|||
features: [regexp-unicode-property-escapes]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/\P{ASCII=Y}/u;
|
||||
|
|
|
@ -14,6 +14,6 @@ negative:
|
|||
features: [regexp-unicode-property-escapes]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/\p{ASCII=Y}/u;
|
||||
|
|
|
@ -14,6 +14,6 @@ negative:
|
|||
features: [regexp-unicode-property-escapes]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/\P{ASCII=Yes}/u;
|
||||
|
|
|
@ -14,6 +14,6 @@ negative:
|
|||
features: [regexp-unicode-property-escapes]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/\p{ASCII=Yes}/u;
|
||||
|
|
|
@ -16,6 +16,6 @@ negative:
|
|||
features: [regexp-unicode-property-escapes]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/[--\p{Hex}]/u;
|
||||
|
|
|
@ -16,6 +16,6 @@ negative:
|
|||
features: [regexp-unicode-property-escapes]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/[\uFFFF-\p{Hex}]/u;
|
||||
|
|
|
@ -16,6 +16,6 @@ negative:
|
|||
features: [regexp-unicode-property-escapes]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/[\p{Hex}-\uFFFF]/u;
|
||||
|
|
|
@ -16,6 +16,6 @@ negative:
|
|||
features: [regexp-unicode-property-escapes]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/[\p{Hex}--]/u;
|
||||
|
|
|
@ -17,6 +17,6 @@ negative:
|
|||
features: [regexp-unicode-property-escapes]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/\P{InAdlam}/u;
|
||||
|
|
|
@ -17,6 +17,6 @@ negative:
|
|||
features: [regexp-unicode-property-escapes]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/\p{InAdlam}/u;
|
||||
|
|
|
@ -17,6 +17,6 @@ negative:
|
|||
features: [regexp-unicode-property-escapes]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/\P{InAdlam}/u;
|
||||
|
|
|
@ -17,6 +17,6 @@ negative:
|
|||
features: [regexp-unicode-property-escapes]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/\p{InAdlam}/u;
|
||||
|
|
|
@ -17,6 +17,6 @@ negative:
|
|||
features: [regexp-unicode-property-escapes]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/\P{InScript=Adlam}/u;
|
||||
|
|
|
@ -17,6 +17,6 @@ negative:
|
|||
features: [regexp-unicode-property-escapes]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/\p{InScript=Adlam}/u;
|
||||
|
|
|
@ -17,6 +17,6 @@ negative:
|
|||
features: [regexp-unicode-property-escapes]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/\P{IsScript=Adlam}/u;
|
||||
|
|
|
@ -17,6 +17,6 @@ negative:
|
|||
features: [regexp-unicode-property-escapes]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/\p{IsScript=Adlam}/u;
|
||||
|
|
|
@ -17,6 +17,6 @@ negative:
|
|||
features: [regexp-unicode-property-escapes]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/\P{^General_Category=Letter}/u;
|
||||
|
|
|
@ -17,6 +17,6 @@ negative:
|
|||
features: [regexp-unicode-property-escapes]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/\p{^General_Category=Letter}/u;
|
||||
|
|
|
@ -17,6 +17,6 @@ negative:
|
|||
features: [regexp-unicode-property-escapes]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/[\p{}]/u;
|
||||
|
|
|
@ -17,6 +17,6 @@ negative:
|
|||
features: [regexp-unicode-property-escapes]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/[\P{}]/u;
|
||||
|
|
|
@ -17,6 +17,6 @@ negative:
|
|||
features: [regexp-unicode-property-escapes]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/[\P{invalid}]/u;
|
||||
|
|
|
@ -17,6 +17,6 @@ negative:
|
|||
features: [regexp-unicode-property-escapes]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/[\p{invalid}]/u;
|
||||
|
|
|
@ -17,6 +17,6 @@ negative:
|
|||
features: [regexp-unicode-property-escapes]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/\P/u;
|
||||
|
|
|
@ -17,6 +17,6 @@ negative:
|
|||
features: [regexp-unicode-property-escapes]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/\PL/u;
|
||||
|
|
|
@ -17,6 +17,6 @@ negative:
|
|||
features: [regexp-unicode-property-escapes]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/\pL/u;
|
||||
|
|
|
@ -17,6 +17,6 @@ negative:
|
|||
features: [regexp-unicode-property-escapes]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/\p/u;
|
||||
|
|
|
@ -17,6 +17,6 @@ negative:
|
|||
features: [regexp-unicode-property-escapes]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
$DONOTEVALUATE();
|
||||
|
||||
/\P{=Letter}/u;
|
||||
|
|
Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше
Загрузка…
Ссылка в новой задаче