mirror of
https://github.com/tc39/test262.git
synced 2025-07-24 22:45:10 +02:00
move flags to templates
This commit is contained in:
parent
e116ccff0c
commit
cc8b8e955b
@ -21,6 +21,7 @@ info: |
|
|||||||
|
|
||||||
|
|
||||||
features: [dynamic-import]
|
features: [dynamic-import]
|
||||||
|
flags: [async]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
let f = () => {
|
let f = () => {
|
||||||
|
@ -21,6 +21,7 @@ info: |
|
|||||||
|
|
||||||
|
|
||||||
features: [dynamic-import]
|
features: [dynamic-import]
|
||||||
|
flags: [async]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
async function f() {
|
async function f() {
|
||||||
|
@ -21,6 +21,7 @@ info: |
|
|||||||
|
|
||||||
|
|
||||||
features: [dynamic-import]
|
features: [dynamic-import]
|
||||||
|
flags: [async]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
async function f() {
|
async function f() {
|
||||||
|
@ -21,6 +21,7 @@ info: |
|
|||||||
|
|
||||||
|
|
||||||
features: [dynamic-import]
|
features: [dynamic-import]
|
||||||
|
flags: [async]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
async function f() {
|
async function f() {
|
||||||
|
@ -21,6 +21,7 @@ info: |
|
|||||||
|
|
||||||
|
|
||||||
features: [dynamic-import]
|
features: [dynamic-import]
|
||||||
|
flags: [async]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
label: {
|
label: {
|
||||||
|
@ -21,6 +21,7 @@ info: |
|
|||||||
|
|
||||||
|
|
||||||
features: [dynamic-import]
|
features: [dynamic-import]
|
||||||
|
flags: [async]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
{
|
{
|
||||||
|
@ -21,6 +21,7 @@ info: |
|
|||||||
|
|
||||||
|
|
||||||
features: [dynamic-import]
|
features: [dynamic-import]
|
||||||
|
flags: [async]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
do {
|
do {
|
||||||
|
@ -21,6 +21,7 @@ info: |
|
|||||||
|
|
||||||
|
|
||||||
features: [dynamic-import]
|
features: [dynamic-import]
|
||||||
|
flags: [async]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
let x = 0;
|
let x = 0;
|
||||||
|
@ -21,6 +21,7 @@ info: |
|
|||||||
|
|
||||||
|
|
||||||
features: [dynamic-import]
|
features: [dynamic-import]
|
||||||
|
flags: [async]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
if (false) {
|
if (false) {
|
||||||
|
@ -21,6 +21,7 @@ info: |
|
|||||||
|
|
||||||
|
|
||||||
features: [dynamic-import]
|
features: [dynamic-import]
|
||||||
|
flags: [async]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
function f() {
|
function f() {
|
||||||
|
@ -21,6 +21,7 @@ info: |
|
|||||||
|
|
||||||
|
|
||||||
features: [dynamic-import]
|
features: [dynamic-import]
|
||||||
|
flags: [async]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
if (true) {
|
if (true) {
|
||||||
|
@ -21,6 +21,7 @@ info: |
|
|||||||
|
|
||||||
|
|
||||||
features: [dynamic-import]
|
features: [dynamic-import]
|
||||||
|
flags: [async]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
{
|
{
|
||||||
|
@ -21,6 +21,7 @@ info: |
|
|||||||
|
|
||||||
|
|
||||||
features: [dynamic-import]
|
features: [dynamic-import]
|
||||||
|
flags: [async]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
let x = 0;
|
let x = 0;
|
||||||
|
@ -21,6 +21,7 @@ info: |
|
|||||||
|
|
||||||
|
|
||||||
features: [dynamic-import]
|
features: [dynamic-import]
|
||||||
|
flags: [async]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
import(/*{ params }*/).catch(error => {
|
import(/*{ params }*/).catch(error => {
|
||||||
|
@ -21,6 +21,7 @@ info: |
|
|||||||
|
|
||||||
|
|
||||||
features: [dynamic-import]
|
features: [dynamic-import]
|
||||||
|
flags: [async]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
let f = () => import(/*{ params }*/).then(imported => {
|
let f = () => import(/*{ params }*/).then(imported => {
|
||||||
|
@ -21,6 +21,7 @@ info: |
|
|||||||
|
|
||||||
|
|
||||||
features: [dynamic-import]
|
features: [dynamic-import]
|
||||||
|
flags: [async]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
let f = () => {
|
let f = () => {
|
||||||
|
@ -21,6 +21,7 @@ info: |
|
|||||||
|
|
||||||
|
|
||||||
features: [dynamic-import]
|
features: [dynamic-import]
|
||||||
|
flags: [async]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
async function f() {
|
async function f() {
|
||||||
|
@ -21,6 +21,7 @@ info: |
|
|||||||
|
|
||||||
|
|
||||||
features: [dynamic-import]
|
features: [dynamic-import]
|
||||||
|
flags: [async]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
async function f() {
|
async function f() {
|
||||||
|
@ -21,6 +21,7 @@ info: |
|
|||||||
|
|
||||||
|
|
||||||
features: [dynamic-import]
|
features: [dynamic-import]
|
||||||
|
flags: [async]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
async function f() {
|
async function f() {
|
||||||
|
@ -21,6 +21,7 @@ info: |
|
|||||||
|
|
||||||
|
|
||||||
features: [dynamic-import]
|
features: [dynamic-import]
|
||||||
|
flags: [async]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
label: {
|
label: {
|
||||||
|
@ -21,6 +21,7 @@ info: |
|
|||||||
|
|
||||||
|
|
||||||
features: [dynamic-import]
|
features: [dynamic-import]
|
||||||
|
flags: [async]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
{
|
{
|
||||||
|
@ -21,6 +21,7 @@ info: |
|
|||||||
|
|
||||||
|
|
||||||
features: [dynamic-import]
|
features: [dynamic-import]
|
||||||
|
flags: [async]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
do {
|
do {
|
||||||
|
@ -21,6 +21,7 @@ info: |
|
|||||||
|
|
||||||
|
|
||||||
features: [dynamic-import]
|
features: [dynamic-import]
|
||||||
|
flags: [async]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
let x = 0;
|
let x = 0;
|
||||||
|
@ -21,6 +21,7 @@ info: |
|
|||||||
|
|
||||||
|
|
||||||
features: [dynamic-import]
|
features: [dynamic-import]
|
||||||
|
flags: [async]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
if (false) {
|
if (false) {
|
||||||
|
@ -21,6 +21,7 @@ info: |
|
|||||||
|
|
||||||
|
|
||||||
features: [dynamic-import]
|
features: [dynamic-import]
|
||||||
|
flags: [async]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
function f() {
|
function f() {
|
||||||
|
@ -21,6 +21,7 @@ info: |
|
|||||||
|
|
||||||
|
|
||||||
features: [dynamic-import]
|
features: [dynamic-import]
|
||||||
|
flags: [async]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
if (true) import(/*{ params }*/);
|
if (true) import(/*{ params }*/);
|
||||||
|
@ -21,6 +21,7 @@ info: |
|
|||||||
|
|
||||||
|
|
||||||
features: [dynamic-import]
|
features: [dynamic-import]
|
||||||
|
flags: [async]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
if (true) {
|
if (true) {
|
||||||
|
@ -21,6 +21,7 @@ info: |
|
|||||||
|
|
||||||
|
|
||||||
features: [dynamic-import]
|
features: [dynamic-import]
|
||||||
|
flags: [async]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
{
|
{
|
||||||
|
@ -21,6 +21,7 @@ info: |
|
|||||||
|
|
||||||
|
|
||||||
features: [dynamic-import]
|
features: [dynamic-import]
|
||||||
|
flags: [async]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
let x = 0;
|
let x = 0;
|
||||||
|
@ -21,6 +21,7 @@ info: |
|
|||||||
|
|
||||||
|
|
||||||
features: [dynamic-import]
|
features: [dynamic-import]
|
||||||
|
flags: [async]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
import(/*{ params }*/).then(imported => {
|
import(/*{ params }*/).then(imported => {
|
||||||
|
@ -18,7 +18,6 @@ info: |
|
|||||||
e. Return ? targetER.GetBindingValue(N2, S).
|
e. Return ? targetER.GetBindingValue(N2, S).
|
||||||
includes: [fnGlobalObject.js]
|
includes: [fnGlobalObject.js]
|
||||||
template: default
|
template: default
|
||||||
flags: [async]
|
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
//- params
|
//- params
|
||||||
|
@ -18,7 +18,6 @@ info: |
|
|||||||
e. Return ? targetER.GetBindingValue(N2, S).
|
e. Return ? targetER.GetBindingValue(N2, S).
|
||||||
|
|
||||||
template: default
|
template: default
|
||||||
flags: [async]
|
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
//- params
|
//- params
|
||||||
|
@ -19,7 +19,6 @@ info: |
|
|||||||
e. Return ? targetER.GetBindingValue(N2, S).
|
e. Return ? targetER.GetBindingValue(N2, S).
|
||||||
includes: [fnGlobalObject.js]
|
includes: [fnGlobalObject.js]
|
||||||
template: default
|
template: default
|
||||||
flags: [async]
|
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
//- params
|
//- params
|
||||||
|
@ -12,7 +12,6 @@ info: |
|
|||||||
a. Let requiredModule be ? HostResolveImportedModule(module, required).
|
a. Let requiredModule be ? HostResolveImportedModule(module, required).
|
||||||
b. Perform ? requiredModule.ModuleEvaluation().
|
b. Perform ? requiredModule.ModuleEvaluation().
|
||||||
template: catch
|
template: catch
|
||||||
flags: [async]
|
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
//- params
|
//- params
|
||||||
|
@ -12,7 +12,6 @@ info: |
|
|||||||
a. Let requiredModule be ? HostResolveImportedModule(module, required).
|
a. Let requiredModule be ? HostResolveImportedModule(module, required).
|
||||||
b. Perform ? requiredModule.ModuleEvaluation().
|
b. Perform ? requiredModule.ModuleEvaluation().
|
||||||
template: catch
|
template: catch
|
||||||
flags: [async]
|
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
//- params
|
//- params
|
||||||
|
@ -32,7 +32,6 @@ info: |
|
|||||||
SameValue(resolution.[[BindingName]],
|
SameValue(resolution.[[BindingName]],
|
||||||
starResolution.[[BindingName]]) is false, return "ambiguous".
|
starResolution.[[BindingName]]) is false, return "ambiguous".
|
||||||
template: catch
|
template: catch
|
||||||
flags: [async]
|
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
//- params
|
//- params
|
||||||
|
@ -21,7 +21,6 @@ info: |
|
|||||||
i. Assert: this is a circular import request.
|
i. Assert: this is a circular import request.
|
||||||
ii. Return null.
|
ii. Return null.
|
||||||
template: catch
|
template: catch
|
||||||
flags: [async]
|
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
//- params
|
//- params
|
||||||
|
@ -20,7 +20,6 @@ info: |
|
|||||||
[...]
|
[...]
|
||||||
11. Return starResolution.
|
11. Return starResolution.
|
||||||
template: catch
|
template: catch
|
||||||
flags: [async]
|
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
//- params
|
//- params
|
||||||
|
@ -4,7 +4,6 @@
|
|||||||
/*---
|
/*---
|
||||||
desc: Dynamic import() returns a Promise object.
|
desc: Dynamic import() returns a Promise object.
|
||||||
template: default
|
template: default
|
||||||
flags: [async]
|
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
//- params
|
//- params
|
||||||
|
Loading…
x
Reference in New Issue
Block a user