mirror of https://github.com/tc39/test262.git
Update checklist and other fixups
This commit is contained in:
parent
e8305a7920
commit
54689ffa69
|
@ -4,25 +4,70 @@
|
||||||
|
|
||||||
_general places it can be found as a CallExpression_
|
_general places it can be found as a CallExpression_
|
||||||
|
|
||||||
|
- [x] top level
|
||||||
- [x] consise body of an ArrowFunction
|
- [x] consise body of an ArrowFunction
|
||||||
- [x] function body of an ArrowFunction
|
- [x] function body of an ArrowFunction
|
||||||
- [ ] consise body of an __Async__ ArrowFunction
|
- [ ] consise body of an __Async__ ArrowFunction
|
||||||
- [ ] function body of an __Async__ ArrowFunction
|
- [ ] function body of an __Async__ ArrowFunction
|
||||||
- [ ] async function await
|
- [ ] try catch in async function
|
||||||
|
- [x] await position of an async function
|
||||||
|
- [x] return await position of an async function
|
||||||
|
- [x] nested in an async function
|
||||||
|
- [x] labeled blocks
|
||||||
|
- [x] blocks
|
||||||
|
- [x] do while
|
||||||
|
- [ ] else braceless
|
||||||
|
- [x] else block
|
||||||
|
- [x] if braceless
|
||||||
|
- [x] if block
|
||||||
|
- [x] while block
|
||||||
|
|
||||||
## Cases
|
## Cases
|
||||||
|
|
||||||
### Syntax
|
### Syntax
|
||||||
|
|
||||||
- [x] assignment expression is not optional
|
- [x] assignment expression is not optional `assignment-expr-not-optional.case`
|
||||||
- [x] empty string is a valid assignment expression (not a syntax error)
|
- [x] empty string is a valid assignment expression (not a syntax error) `empty-str-is-valid-assign-expr.case`
|
||||||
|
- [ ] _Forbidden Extensions: ImportCall must not be extended._ (Only one assignment expression allowed)
|
||||||
##
|
- [ ] no trailling comma, it's not an arguments list
|
||||||
|
- [ ] no other expressions
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Common usage
|
||||||
|
|
||||||
|
- [x] indirect update default binding `eval-gtbndng-indirect-update-dflt.case`
|
||||||
|
- [x] indirect update named binding `eval-gtbndng-indirect-update-dflt.case`
|
||||||
|
- [ ] Assignment Expression evaluations. Most can be used as syntax tests only, e.g. exprs evaluating to a boolean value) or error catching
|
||||||
|
- [ ] ConditionalExpression
|
||||||
|
- [ ] Primary Expressions on the import Assign. Expr. position (?)
|
||||||
|
- [ ] Cover Parenthesis expressions
|
||||||
|
- [ ] ...
|
||||||
|
- [ ] YieldExpression
|
||||||
|
- [ ] Check yield usage
|
||||||
|
- [ ] ArrowFunction
|
||||||
|
- [ ] AsyncArrowFunction
|
||||||
|
- [ ] LeftHandSideExpression = AssignmentExpression
|
||||||
|
- [ ] LeftHandSideExpression AssignmentOperator AssignmentExpression
|
||||||
|
- [ ] ToString on the AssignmentExpression value
|
||||||
|
- [ ] nest `import()` in CallExpressions
|
||||||
|
- [ ] `import(import(...))`
|
||||||
|
- [ ] ... (other CallExpressions here)
|
||||||
|
- [ ] Goal target can be a script code (not module code)
|
||||||
|
- [ ] in this case, it should not export anything (and it's not a SyntaxError like in static imports)
|
||||||
|
- [ ] indirect updates
|
||||||
|
- [ ] Goal target can be a module code (having module specific syntax)
|
||||||
|
- [ ] module code on host syntax
|
||||||
|
- [ ] Multiple imports on the same imported module
|
||||||
|
- [ ] verify indirect updates
|
||||||
|
- [ ] ImportCall in runtime returns a Promise
|
||||||
|
- [ ] Verify ctor
|
||||||
|
- [ ] Use in Promise.all?
|
||||||
|
- [ ] await resolving (include failures)
|
||||||
|
- [ ] Use Promise.prototype
|
||||||
|
- [ ] Promise.resolve
|
||||||
|
|
||||||
|
### Error catching
|
||||||
|
|
||||||
|
- [x] resolved runtime error (TypeError) `eval-rqstd-abrupt-typeerror.case`
|
||||||
|
- [x] resolved runtime error (URIError) `eval-rqstd-abrupt-urierror.case`
|
||||||
|
- [x] ambiguous import
|
||||||
|
- [x] circular import error
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
// Copyright (C) 2018 the V8 project authors. All rights reserved.
|
// Copyright (C) 2018 the V8 project authors. All rights reserved.
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
path: language/module-code/dynamic-import/nested-arrow-assignment-expression-
|
path: language/module-code/dynamic-import/usage/nested-arrow-assignment-expression-
|
||||||
name: nested arrow
|
name: nested arrow
|
||||||
esid: sec-import-call-runtime-semantics-evaluation
|
esid: sec-import-call-runtime-semantics-evaluation
|
||||||
info: |
|
info: |
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
// Copyright (C) 2018 the V8 project authors. All rights reserved.
|
// Copyright (C) 2018 the V8 project authors. All rights reserved.
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
path: language/module-code/dynamic-import/nested-arrow-import-then-
|
path: language/module-code/dynamic-import/usage/nested-arrow-import-then-
|
||||||
name: nested arrow
|
name: nested arrow
|
||||||
esid: sec-import-call-runtime-semantics-evaluation
|
esid: sec-import-call-runtime-semantics-evaluation
|
||||||
info: |
|
info: |
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
// Copyright (C) 2018 the V8 project authors. All rights reserved.
|
// Copyright (C) 2018 the V8 project authors. All rights reserved.
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
path: language/module-code/dynamic-import/nested-async-function-await-
|
path: language/module-code/dynamic-import/usage/nested-async-function-await-
|
||||||
name: nested in async function, awaited
|
name: nested in async function, awaited
|
||||||
esid: sec-import-call-runtime-semantics-evaluation
|
esid: sec-import-call-runtime-semantics-evaluation
|
||||||
info: |
|
info: |
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
// Copyright (C) 2018 the V8 project authors. All rights reserved.
|
// Copyright (C) 2018 the V8 project authors. All rights reserved.
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
path: language/module-code/dynamic-import/nested-async-function-return-await-
|
path: language/module-code/dynamic-import/usage/nested-async-function-return-await-
|
||||||
name: nested in async function, returns awaited
|
name: nested in async function, returns awaited
|
||||||
esid: sec-import-call-runtime-semantics-evaluation
|
esid: sec-import-call-runtime-semantics-evaluation
|
||||||
info: |
|
info: |
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
// Copyright (C) 2018 the V8 project authors. All rights reserved.
|
// Copyright (C) 2018 the V8 project authors. All rights reserved.
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
path: language/module-code/dynamic-import/nested-async-function-
|
path: language/module-code/dynamic-import/usage/nested-async-function-
|
||||||
name: nested in async function
|
name: nested in async function
|
||||||
esid: sec-import-call-runtime-semantics-evaluation
|
esid: sec-import-call-runtime-semantics-evaluation
|
||||||
info: |
|
info: |
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
// Copyright (C) 2018 the V8 project authors. All rights reserved.
|
// Copyright (C) 2018 the V8 project authors. All rights reserved.
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
path: language/module-code/dynamic-import/syntax-nested-block-labeled-
|
path: language/module-code/dynamic-import/usage/syntax-nested-block-labeled-
|
||||||
name: nested block syntax
|
name: nested block syntax
|
||||||
esid: sec-import-call-runtime-semantics-evaluation
|
esid: sec-import-call-runtime-semantics-evaluation
|
||||||
info: |
|
info: |
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
// Copyright (C) 2018 the V8 project authors. All rights reserved.
|
// Copyright (C) 2018 the V8 project authors. All rights reserved.
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
path: language/module-code/dynamic-import/nested-block-import-then-
|
path: language/module-code/dynamic-import/usage/nested-block-import-then-
|
||||||
name: nested block
|
name: nested block
|
||||||
esid: sec-import-call-runtime-semantics-evaluation
|
esid: sec-import-call-runtime-semantics-evaluation
|
||||||
info: |
|
info: |
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
// Copyright (C) 2018 the V8 project authors. All rights reserved.
|
// Copyright (C) 2018 the V8 project authors. All rights reserved.
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
path: language/module-code/dynamic-import/nested-do-while-
|
path: language/module-code/dynamic-import/usage/nested-do-while-
|
||||||
name: nested do while syntax
|
name: nested do while syntax
|
||||||
esid: sec-import-call-runtime-semantics-evaluation
|
esid: sec-import-call-runtime-semantics-evaluation
|
||||||
info: |
|
info: |
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
// Copyright (C) 2018 the V8 project authors. All rights reserved.
|
// Copyright (C) 2018 the V8 project authors. All rights reserved.
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
path: language/module-code/dynamic-import/nested-else-import-then-
|
path: language/module-code/dynamic-import/usage/nested-else-import-then-
|
||||||
name: nested else
|
name: nested else
|
||||||
esid: sec-import-call-runtime-semantics-evaluation
|
esid: sec-import-call-runtime-semantics-evaluation
|
||||||
info: |
|
info: |
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
// Copyright (C) 2018 the V8 project authors. All rights reserved.
|
// Copyright (C) 2018 the V8 project authors. All rights reserved.
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
path: language/module-code/dynamic-import/nested-function-import-then-
|
path: language/module-code/dynamic-import/usage/nested-function-import-then-
|
||||||
name: nested function
|
name: nested function
|
||||||
esid: sec-import-call-runtime-semantics-evaluation
|
esid: sec-import-call-runtime-semantics-evaluation
|
||||||
info: |
|
info: |
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
// Copyright (C) 2018 the V8 project authors. All rights reserved.
|
// Copyright (C) 2018 the V8 project authors. All rights reserved.
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
path: language/module-code/dynamic-import/nested-if-braceless-
|
path: language/module-code/dynamic-import/usage/nested-if-braceless-
|
||||||
name: nested if syntax
|
name: nested if syntax
|
||||||
esid: sec-import-call-runtime-semantics-evaluation
|
esid: sec-import-call-runtime-semantics-evaluation
|
||||||
info: |
|
info: |
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
// Copyright (C) 2018 the V8 project authors. All rights reserved.
|
// Copyright (C) 2018 the V8 project authors. All rights reserved.
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
path: language/module-code/dynamic-import/nested-if-import-then-
|
path: language/module-code/dynamic-import/usage/nested-if-import-then-
|
||||||
name: nested if
|
name: nested if
|
||||||
esid: sec-import-call-runtime-semantics-evaluation
|
esid: sec-import-call-runtime-semantics-evaluation
|
||||||
info: |
|
info: |
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
// Copyright (C) 2018 the V8 project authors. All rights reserved.
|
// Copyright (C) 2018 the V8 project authors. All rights reserved.
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
path: language/module-code/dynamic-import/nested-while-import-then-
|
path: language/module-code/dynamic-import/usage/nested-while-import-then-
|
||||||
name: nested while
|
name: nested while
|
||||||
esid: sec-import-call-runtime-semantics-evaluation
|
esid: sec-import-call-runtime-semantics-evaluation
|
||||||
info: |
|
info: |
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
// Copyright (C) 2018 the V8 project authors. All rights reserved.
|
// Copyright (C) 2018 the V8 project authors. All rights reserved.
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
/*---
|
/*---
|
||||||
path: language/module-code/dynamic-import/top-level-import-then-
|
path: language/module-code/dynamic-import/usage/top-level-import-then-
|
||||||
name: top level
|
name: top level
|
||||||
esid: sec-import-call-runtime-semantics-evaluation
|
esid: sec-import-call-runtime-semantics-evaluation
|
||||||
info: |
|
info: |
|
||||||
|
|
|
@ -1,28 +0,0 @@
|
||||||
// Copyright (C) 2018 Rick Waldron. All rights reserved.
|
|
||||||
// Copyright (C) 2018 the V8 project authors. All rights reserved.
|
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
|
||||||
/*---
|
|
||||||
desc: IndirectExportEntries validation - undefined imported bindings
|
|
||||||
esid: sec-moduledeclarationinstantiation
|
|
||||||
info: |
|
|
||||||
[...]
|
|
||||||
9. For each ExportEntry Record e in module.[[IndirectExportEntries]], do
|
|
||||||
a. Let resolution be ? module.ResolveExport(e.[[ExportName]], « », « »).
|
|
||||||
b. If resolution is null or resolution is "ambiguous", throw a
|
|
||||||
SyntaxError exception.
|
|
||||||
[...]
|
|
||||||
|
|
||||||
15.2.1.16.3 ResolveExport
|
|
||||||
|
|
||||||
[...]
|
|
||||||
9. Let starResolution be null.
|
|
||||||
10. For each ExportEntry Record e in module.[[StarExportEntries]], do
|
|
||||||
[...]
|
|
||||||
11. Return starResolution.
|
|
||||||
template: catch
|
|
||||||
---*/
|
|
||||||
|
|
||||||
//- params
|
|
||||||
'./instn-iee-err-not-found-empty_FIXTURE.js'
|
|
||||||
//- body
|
|
||||||
assert.sameValue(error.name, 'SyntaxError');
|
|
|
@ -1,4 +0,0 @@
|
||||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
|
||||||
|
|
||||||
;
|
|
Loading…
Reference in New Issue