mirror of https://github.com/tc39/test262.git
Generate tests
This commit is contained in:
parent
ee85129db0
commit
c93b1075f5
|
@ -21,6 +21,8 @@ info: |
|
||||||
9. Return promiseCapability.[[Promise]].
|
9. Return promiseCapability.[[Promise]].
|
||||||
|
|
||||||
---*/
|
---*/
|
||||||
|
// import('./dynamic-import-module_FIXTURE.js')
|
||||||
|
|
||||||
|
|
||||||
let f = () => import('./dynamic-import-module_FIXTURE.js')['then'](x => x).then(imported => {
|
let f = () => import('./dynamic-import-module_FIXTURE.js')['then'](x => x).then(imported => {
|
||||||
|
|
||||||
|
|
|
@ -37,6 +37,8 @@ info: |
|
||||||
8. Return promiseCapability.[[Promise]].
|
8. Return promiseCapability.[[Promise]].
|
||||||
|
|
||||||
---*/
|
---*/
|
||||||
|
// import('./module-code_FIXTURE.js')
|
||||||
|
|
||||||
const obj = {
|
const obj = {
|
||||||
toString() {
|
toString() {
|
||||||
return './module-code_FIXTURE.js';
|
return './module-code_FIXTURE.js';
|
||||||
|
|
|
@ -21,6 +21,8 @@ info: |
|
||||||
9. Return promiseCapability.[[Promise]].
|
9. Return promiseCapability.[[Promise]].
|
||||||
|
|
||||||
---*/
|
---*/
|
||||||
|
// import('./dynamic-import-module_FIXTURE.js')
|
||||||
|
|
||||||
|
|
||||||
let f = () => {
|
let f = () => {
|
||||||
return import('./dynamic-import-module_FIXTURE.js')['then'](x => x).then(imported => {
|
return import('./dynamic-import-module_FIXTURE.js')['then'](x => x).then(imported => {
|
||||||
|
|
|
@ -37,6 +37,8 @@ info: |
|
||||||
8. Return promiseCapability.[[Promise]].
|
8. Return promiseCapability.[[Promise]].
|
||||||
|
|
||||||
---*/
|
---*/
|
||||||
|
// import('./module-code_FIXTURE.js')
|
||||||
|
|
||||||
const obj = {
|
const obj = {
|
||||||
toString() {
|
toString() {
|
||||||
return './module-code_FIXTURE.js';
|
return './module-code_FIXTURE.js';
|
||||||
|
|
|
@ -21,6 +21,8 @@ info: |
|
||||||
9. Return promiseCapability.[[Promise]].
|
9. Return promiseCapability.[[Promise]].
|
||||||
|
|
||||||
---*/
|
---*/
|
||||||
|
// import('./dynamic-import-module_FIXTURE.js')
|
||||||
|
|
||||||
|
|
||||||
const f = async () => {
|
const f = async () => {
|
||||||
await import('./dynamic-import-module_FIXTURE.js')['then'](x => x).then(imported => {
|
await import('./dynamic-import-module_FIXTURE.js')['then'](x => x).then(imported => {
|
||||||
|
|
|
@ -37,6 +37,8 @@ info: |
|
||||||
8. Return promiseCapability.[[Promise]].
|
8. Return promiseCapability.[[Promise]].
|
||||||
|
|
||||||
---*/
|
---*/
|
||||||
|
// import('./module-code_FIXTURE.js')
|
||||||
|
|
||||||
const obj = {
|
const obj = {
|
||||||
toString() {
|
toString() {
|
||||||
return './module-code_FIXTURE.js';
|
return './module-code_FIXTURE.js';
|
||||||
|
|
|
@ -21,6 +21,8 @@ info: |
|
||||||
9. Return promiseCapability.[[Promise]].
|
9. Return promiseCapability.[[Promise]].
|
||||||
|
|
||||||
---*/
|
---*/
|
||||||
|
// import('./dynamic-import-module_FIXTURE.js')
|
||||||
|
|
||||||
|
|
||||||
const f = async () => await import('./dynamic-import-module_FIXTURE.js')['then'](x => x);
|
const f = async () => await import('./dynamic-import-module_FIXTURE.js')['then'](x => x);
|
||||||
|
|
||||||
|
|
|
@ -37,6 +37,8 @@ info: |
|
||||||
8. Return promiseCapability.[[Promise]].
|
8. Return promiseCapability.[[Promise]].
|
||||||
|
|
||||||
---*/
|
---*/
|
||||||
|
// import('./module-code_FIXTURE.js')
|
||||||
|
|
||||||
const obj = {
|
const obj = {
|
||||||
toString() {
|
toString() {
|
||||||
return './module-code_FIXTURE.js';
|
return './module-code_FIXTURE.js';
|
||||||
|
|
|
@ -21,6 +21,8 @@ info: |
|
||||||
9. Return promiseCapability.[[Promise]].
|
9. Return promiseCapability.[[Promise]].
|
||||||
|
|
||||||
---*/
|
---*/
|
||||||
|
// import('./dynamic-import-module_FIXTURE.js')
|
||||||
|
|
||||||
|
|
||||||
async function f() {
|
async function f() {
|
||||||
await import('./dynamic-import-module_FIXTURE.js')['then'](x => x).then(imported => {
|
await import('./dynamic-import-module_FIXTURE.js')['then'](x => x).then(imported => {
|
||||||
|
|
|
@ -37,6 +37,8 @@ info: |
|
||||||
8. Return promiseCapability.[[Promise]].
|
8. Return promiseCapability.[[Promise]].
|
||||||
|
|
||||||
---*/
|
---*/
|
||||||
|
// import('./module-code_FIXTURE.js')
|
||||||
|
|
||||||
const obj = {
|
const obj = {
|
||||||
toString() {
|
toString() {
|
||||||
return './module-code_FIXTURE.js';
|
return './module-code_FIXTURE.js';
|
||||||
|
|
|
@ -21,6 +21,8 @@ info: |
|
||||||
9. Return promiseCapability.[[Promise]].
|
9. Return promiseCapability.[[Promise]].
|
||||||
|
|
||||||
---*/
|
---*/
|
||||||
|
// import('./dynamic-import-module_FIXTURE.js')
|
||||||
|
|
||||||
|
|
||||||
async function f() {
|
async function f() {
|
||||||
import('./dynamic-import-module_FIXTURE.js')['then'](x => x).then(imported => {
|
import('./dynamic-import-module_FIXTURE.js')['then'](x => x).then(imported => {
|
||||||
|
|
|
@ -21,6 +21,8 @@ info: |
|
||||||
9. Return promiseCapability.[[Promise]].
|
9. Return promiseCapability.[[Promise]].
|
||||||
|
|
||||||
---*/
|
---*/
|
||||||
|
// import('./dynamic-import-module_FIXTURE.js')
|
||||||
|
|
||||||
|
|
||||||
async function f() {
|
async function f() {
|
||||||
return await import('./dynamic-import-module_FIXTURE.js')['then'](x => x);
|
return await import('./dynamic-import-module_FIXTURE.js')['then'](x => x);
|
||||||
|
|
|
@ -37,6 +37,8 @@ info: |
|
||||||
8. Return promiseCapability.[[Promise]].
|
8. Return promiseCapability.[[Promise]].
|
||||||
|
|
||||||
---*/
|
---*/
|
||||||
|
// import('./module-code_FIXTURE.js')
|
||||||
|
|
||||||
const obj = {
|
const obj = {
|
||||||
toString() {
|
toString() {
|
||||||
return './module-code_FIXTURE.js';
|
return './module-code_FIXTURE.js';
|
||||||
|
|
|
@ -37,6 +37,8 @@ info: |
|
||||||
8. Return promiseCapability.[[Promise]].
|
8. Return promiseCapability.[[Promise]].
|
||||||
|
|
||||||
---*/
|
---*/
|
||||||
|
// import('./module-code_FIXTURE.js')
|
||||||
|
|
||||||
const obj = {
|
const obj = {
|
||||||
toString() {
|
toString() {
|
||||||
return './module-code_FIXTURE.js';
|
return './module-code_FIXTURE.js';
|
||||||
|
|
|
@ -21,6 +21,8 @@ info: |
|
||||||
9. Return promiseCapability.[[Promise]].
|
9. Return promiseCapability.[[Promise]].
|
||||||
|
|
||||||
---*/
|
---*/
|
||||||
|
// import('./dynamic-import-module_FIXTURE.js')
|
||||||
|
|
||||||
|
|
||||||
let callCount = 0;
|
let callCount = 0;
|
||||||
|
|
||||||
|
|
|
@ -37,6 +37,8 @@ info: |
|
||||||
8. Return promiseCapability.[[Promise]].
|
8. Return promiseCapability.[[Promise]].
|
||||||
|
|
||||||
---*/
|
---*/
|
||||||
|
// import('./module-code_FIXTURE.js')
|
||||||
|
|
||||||
const obj = {
|
const obj = {
|
||||||
toString() {
|
toString() {
|
||||||
return './module-code_FIXTURE.js';
|
return './module-code_FIXTURE.js';
|
||||||
|
|
|
@ -21,6 +21,8 @@ info: |
|
||||||
9. Return promiseCapability.[[Promise]].
|
9. Return promiseCapability.[[Promise]].
|
||||||
|
|
||||||
---*/
|
---*/
|
||||||
|
// import('./dynamic-import-module_FIXTURE.js')
|
||||||
|
|
||||||
|
|
||||||
async function * f() {
|
async function * f() {
|
||||||
return await import('./dynamic-import-module_FIXTURE.js')['then'](x => x);
|
return await import('./dynamic-import-module_FIXTURE.js')['then'](x => x);
|
||||||
|
|
|
@ -37,6 +37,8 @@ info: |
|
||||||
8. Return promiseCapability.[[Promise]].
|
8. Return promiseCapability.[[Promise]].
|
||||||
|
|
||||||
---*/
|
---*/
|
||||||
|
// import('./module-code_FIXTURE.js')
|
||||||
|
|
||||||
const obj = {
|
const obj = {
|
||||||
toString() {
|
toString() {
|
||||||
return './module-code_FIXTURE.js';
|
return './module-code_FIXTURE.js';
|
||||||
|
|
|
@ -21,6 +21,8 @@ info: |
|
||||||
9. Return promiseCapability.[[Promise]].
|
9. Return promiseCapability.[[Promise]].
|
||||||
|
|
||||||
---*/
|
---*/
|
||||||
|
// import('./dynamic-import-module_FIXTURE.js')
|
||||||
|
|
||||||
|
|
||||||
{
|
{
|
||||||
import('./dynamic-import-module_FIXTURE.js')['then'](x => x).then(imported => {
|
import('./dynamic-import-module_FIXTURE.js')['then'](x => x).then(imported => {
|
||||||
|
|
|
@ -37,6 +37,8 @@ info: |
|
||||||
8. Return promiseCapability.[[Promise]].
|
8. Return promiseCapability.[[Promise]].
|
||||||
|
|
||||||
---*/
|
---*/
|
||||||
|
// import('./module-code_FIXTURE.js')
|
||||||
|
|
||||||
const obj = {
|
const obj = {
|
||||||
toString() {
|
toString() {
|
||||||
return './module-code_FIXTURE.js';
|
return './module-code_FIXTURE.js';
|
||||||
|
|
|
@ -21,6 +21,8 @@ info: |
|
||||||
9. Return promiseCapability.[[Promise]].
|
9. Return promiseCapability.[[Promise]].
|
||||||
|
|
||||||
---*/
|
---*/
|
||||||
|
// import('./dynamic-import-module_FIXTURE.js')
|
||||||
|
|
||||||
|
|
||||||
do {
|
do {
|
||||||
import('./dynamic-import-module_FIXTURE.js')['then'](x => x).then(imported => {
|
import('./dynamic-import-module_FIXTURE.js')['then'](x => x).then(imported => {
|
||||||
|
|
|
@ -37,6 +37,8 @@ info: |
|
||||||
8. Return promiseCapability.[[Promise]].
|
8. Return promiseCapability.[[Promise]].
|
||||||
|
|
||||||
---*/
|
---*/
|
||||||
|
// import('./module-code_FIXTURE.js')
|
||||||
|
|
||||||
const obj = {
|
const obj = {
|
||||||
toString() {
|
toString() {
|
||||||
return './module-code_FIXTURE.js';
|
return './module-code_FIXTURE.js';
|
||||||
|
|
|
@ -21,6 +21,8 @@ info: |
|
||||||
9. Return promiseCapability.[[Promise]].
|
9. Return promiseCapability.[[Promise]].
|
||||||
|
|
||||||
---*/
|
---*/
|
||||||
|
// import('./dynamic-import-module_FIXTURE.js')
|
||||||
|
|
||||||
|
|
||||||
if (false) {
|
if (false) {
|
||||||
|
|
||||||
|
|
|
@ -37,6 +37,8 @@ info: |
|
||||||
8. Return promiseCapability.[[Promise]].
|
8. Return promiseCapability.[[Promise]].
|
||||||
|
|
||||||
---*/
|
---*/
|
||||||
|
// import('./module-code_FIXTURE.js')
|
||||||
|
|
||||||
const obj = {
|
const obj = {
|
||||||
toString() {
|
toString() {
|
||||||
return './module-code_FIXTURE.js';
|
return './module-code_FIXTURE.js';
|
||||||
|
|
|
@ -21,6 +21,8 @@ info: |
|
||||||
9. Return promiseCapability.[[Promise]].
|
9. Return promiseCapability.[[Promise]].
|
||||||
|
|
||||||
---*/
|
---*/
|
||||||
|
// import('./dynamic-import-module_FIXTURE.js')
|
||||||
|
|
||||||
|
|
||||||
function f() {
|
function f() {
|
||||||
import('./dynamic-import-module_FIXTURE.js')['then'](x => x).then(imported => {
|
import('./dynamic-import-module_FIXTURE.js')['then'](x => x).then(imported => {
|
||||||
|
|
|
@ -37,6 +37,8 @@ info: |
|
||||||
8. Return promiseCapability.[[Promise]].
|
8. Return promiseCapability.[[Promise]].
|
||||||
|
|
||||||
---*/
|
---*/
|
||||||
|
// import('./module-code_FIXTURE.js')
|
||||||
|
|
||||||
const obj = {
|
const obj = {
|
||||||
toString() {
|
toString() {
|
||||||
return './module-code_FIXTURE.js';
|
return './module-code_FIXTURE.js';
|
||||||
|
|
|
@ -21,6 +21,8 @@ info: |
|
||||||
9. Return promiseCapability.[[Promise]].
|
9. Return promiseCapability.[[Promise]].
|
||||||
|
|
||||||
---*/
|
---*/
|
||||||
|
// import('./dynamic-import-module_FIXTURE.js')
|
||||||
|
|
||||||
|
|
||||||
if (true) import('./dynamic-import-module_FIXTURE.js')['then'](x => x).then(imported => {
|
if (true) import('./dynamic-import-module_FIXTURE.js')['then'](x => x).then(imported => {
|
||||||
|
|
||||||
|
|
|
@ -37,6 +37,8 @@ info: |
|
||||||
8. Return promiseCapability.[[Promise]].
|
8. Return promiseCapability.[[Promise]].
|
||||||
|
|
||||||
---*/
|
---*/
|
||||||
|
// import('./module-code_FIXTURE.js')
|
||||||
|
|
||||||
const obj = {
|
const obj = {
|
||||||
toString() {
|
toString() {
|
||||||
return './module-code_FIXTURE.js';
|
return './module-code_FIXTURE.js';
|
||||||
|
|
|
@ -21,6 +21,8 @@ info: |
|
||||||
9. Return promiseCapability.[[Promise]].
|
9. Return promiseCapability.[[Promise]].
|
||||||
|
|
||||||
---*/
|
---*/
|
||||||
|
// import('./dynamic-import-module_FIXTURE.js')
|
||||||
|
|
||||||
|
|
||||||
if (true) {
|
if (true) {
|
||||||
import('./dynamic-import-module_FIXTURE.js')['then'](x => x).then(imported => {
|
import('./dynamic-import-module_FIXTURE.js')['then'](x => x).then(imported => {
|
||||||
|
|
|
@ -37,6 +37,8 @@ info: |
|
||||||
8. Return promiseCapability.[[Promise]].
|
8. Return promiseCapability.[[Promise]].
|
||||||
|
|
||||||
---*/
|
---*/
|
||||||
|
// import('./module-code_FIXTURE.js')
|
||||||
|
|
||||||
const obj = {
|
const obj = {
|
||||||
toString() {
|
toString() {
|
||||||
return './module-code_FIXTURE.js';
|
return './module-code_FIXTURE.js';
|
||||||
|
|
|
@ -21,6 +21,8 @@ info: |
|
||||||
9. Return promiseCapability.[[Promise]].
|
9. Return promiseCapability.[[Promise]].
|
||||||
|
|
||||||
---*/
|
---*/
|
||||||
|
// import('./dynamic-import-module_FIXTURE.js')
|
||||||
|
|
||||||
|
|
||||||
let x = 0;
|
let x = 0;
|
||||||
while (!x) {
|
while (!x) {
|
||||||
|
|
|
@ -37,6 +37,8 @@ info: |
|
||||||
8. Return promiseCapability.[[Promise]].
|
8. Return promiseCapability.[[Promise]].
|
||||||
|
|
||||||
---*/
|
---*/
|
||||||
|
// import('./module-code_FIXTURE.js')
|
||||||
|
|
||||||
const obj = {
|
const obj = {
|
||||||
toString() {
|
toString() {
|
||||||
return './module-code_FIXTURE.js';
|
return './module-code_FIXTURE.js';
|
||||||
|
|
|
@ -21,6 +21,8 @@ info: |
|
||||||
9. Return promiseCapability.[[Promise]].
|
9. Return promiseCapability.[[Promise]].
|
||||||
|
|
||||||
---*/
|
---*/
|
||||||
|
// import('./dynamic-import-module_FIXTURE.js')
|
||||||
|
|
||||||
|
|
||||||
label: {
|
label: {
|
||||||
import('./dynamic-import-module_FIXTURE.js')['then'](x => x).then(imported => {
|
import('./dynamic-import-module_FIXTURE.js')['then'](x => x).then(imported => {
|
||||||
|
|
|
@ -37,6 +37,8 @@ info: |
|
||||||
8. Return promiseCapability.[[Promise]].
|
8. Return promiseCapability.[[Promise]].
|
||||||
|
|
||||||
---*/
|
---*/
|
||||||
|
// import('./module-code_FIXTURE.js')
|
||||||
|
|
||||||
const obj = {
|
const obj = {
|
||||||
toString() {
|
toString() {
|
||||||
return './module-code_FIXTURE.js';
|
return './module-code_FIXTURE.js';
|
||||||
|
|
|
@ -21,6 +21,8 @@ info: |
|
||||||
9. Return promiseCapability.[[Promise]].
|
9. Return promiseCapability.[[Promise]].
|
||||||
|
|
||||||
---*/
|
---*/
|
||||||
|
// import('./dynamic-import-module_FIXTURE.js')
|
||||||
|
|
||||||
|
|
||||||
import('./dynamic-import-module_FIXTURE.js')['then'](x => x).then(imported => {
|
import('./dynamic-import-module_FIXTURE.js')['then'](x => x).then(imported => {
|
||||||
|
|
||||||
|
|
|
@ -37,6 +37,8 @@ info: |
|
||||||
8. Return promiseCapability.[[Promise]].
|
8. Return promiseCapability.[[Promise]].
|
||||||
|
|
||||||
---*/
|
---*/
|
||||||
|
// import('./module-code_FIXTURE.js')
|
||||||
|
|
||||||
const obj = {
|
const obj = {
|
||||||
toString() {
|
toString() {
|
||||||
return './module-code_FIXTURE.js';
|
return './module-code_FIXTURE.js';
|
||||||
|
|
Loading…
Reference in New Issue