[test] Remove unused --harmony-dynamic-import flag

Change-Id: I5dbfe8c1e2f8474d4693dc9e9ddd57639c37c6ab
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3263885
Reviewed-by: Victor Gomes <victorgomes@chromium.org>
Commit-Queue: Camillo Bruni <cbruni@chromium.org>
Cr-Commit-Position: refs/heads/main@{#77725}
This commit is contained in:
Camillo Bruni 2021-11-05 10:37:20 +01:00 committed by V8 LUCI CQ
parent 8389acd792
commit 1b4d3b6393
40 changed files with 37 additions and 41 deletions

View File

@ -444,8 +444,7 @@
"main": "run.js",
"resources": ["basic-export.js", "basic-import.js", "basic-namespace.js", "value.js"],
"flags": [
"--allow-natives-syntax",
"--harmony-dynamic-import"
"--allow-natives-syntax"
],
"results_regexp": "^%s\\-Modules\\(Score\\): (.+)$",
"tests": [

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Flags: --allow-natives-syntax --harmony-dynamic-import
// Flags: --allow-natives-syntax
var error1, error2;
import('modules-skip-12.mjs').catch(e => error1 = e);

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Flags: --allow-natives-syntax --harmony-dynamic-import
// Flags: --allow-natives-syntax
var error1, error2;
import('modules-skip-11.mjs').catch(e => { error1 = e });

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Flags: --allow-natives-syntax --harmony-dynamic-import
// Flags: --allow-natives-syntax
var error1, error2;
import('no-such-file').catch(e => error1 = e);

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Flags: --allow-natives-syntax --harmony-dynamic-import --no-stress-snapshot
// Flags: --allow-natives-syntax --no-stress-snapshot
var error1, error2;
import('modules-skip-10.mjs').catch(e => error1 = e);

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Flags: --allow-natives-syntax --harmony-dynamic-import
// Flags: --allow-natives-syntax
var life;
import('modules-skip-1.mjs').then(namespace => life = namespace.life());

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Flags: --allow-natives-syntax --harmony-dynamic-import
// Flags: --allow-natives-syntax
var life;
import('modules-skip-6.mjs').then(namespace => life = namespace.life);

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Flags: --allow-natives-syntax --harmony-dynamic-import
// Flags: --allow-natives-syntax
var ran = false;

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Flags: --allow-natives-syntax --harmony-dynamic-import
// Flags: --allow-natives-syntax
let ran = false;
async function test() {

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Flags: --allow-natives-syntax --harmony-dynamic-import
// Flags: --allow-natives-syntax
// Resources: test/mjsunit/harmony/modules-skip-1.mjs
let ran = false;

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Flags: --allow-natives-syntax --harmony-dynamic-import
// Flags: --allow-natives-syntax
var ran = false;

View File

@ -3,7 +3,6 @@
// found in the LICENSE file.
// Flags: --harmony-top-level-await --allow-natives-syntax
// Flags: --harmony-dynamic-import
var ran = false;

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Flags: --allow-natives-syntax --harmony-dynamic-import
// Flags: --allow-natives-syntax
var ran = false;

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Flags: --allow-natives-syntax --harmony-dynamic-import
// Flags: --allow-natives-syntax
globalThis.ran = false;
globalThis.x = undefined;

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Flags: --allow-natives-syntax --harmony-dynamic-import
// Flags: --allow-natives-syntax
var life;
var msg;

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Flags: --allow-natives-syntax --harmony-dynamic-import
// Flags: --allow-natives-syntax
var ran = false;
async function foo () {

View File

@ -2,7 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Flags: --harmony-dynamic-import
try {
import(x);

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Flags: --allow-natives-syntax --harmony-dynamic-import
// Flags: --allow-natives-syntax
var life;
let x = 'modules-skip-1.mjs';

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Flags: --allow-natives-syntax --harmony-dynamic-import
// Flags: --allow-natives-syntax
var ran = false;

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Flags: --allow-natives-syntax --harmony-dynamic-import
// Flags: --allow-natives-syntax
var ran = false;

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Flags: --allow-natives-syntax --harmony-dynamic-import
// Flags: --allow-natives-syntax
var ran = false;

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Flags: --allow-natives-syntax --harmony-dynamic-import
// Flags: --allow-natives-syntax
var ran = false;

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Flags: --allow-natives-syntax --harmony-dynamic-import --harmony-top-level-await
// Flags: --allow-natives-syntax --harmony-top-level-await
let promise_resolved = false;
let m = import('modules-skip-1.mjs');

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Flags: --harmony-dynamic-import --harmony-top-level-await
// Flags: --harmony-top-level-await
let m = import('modules-skip-1.mjs');
let m_namespace = await m;

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Flags: --harmony-dynamic-import --harmony-top-level-await
// Flags: --harmony-top-level-await
let m1 = import('modules-skip-1.mjs');
let m1_namespace = await m1;

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Flags: --harmony-dynamic-import --harmony-top-level-await
// Flags: --harmony-top-level-await
import * as m from 'modules-skip-1-top-level-await.mjs'

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Flags: --harmony-dynamic-import --harmony-top-level-await
// Flags: --harmony-top-level-await
import * as m from 'modules-skip-2-top-level-await.mjs'

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Flags: --harmony-dynamic-import --harmony-top-level-await
// Flags: --harmony-top-level-await
import * as m from 'modules-skip-3-top-level-await.mjs'

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// Flags: --harmony-top-level-await --harmony-dynamic-import
// Flags: --harmony-top-level-await
import * as m from 'modules-skip-6-top-level-await.mjs';

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Flags: --harmony-dynamic-import --harmony-top-level-await
// Flags: --harmony-top-level-await
import * as m from 'modules-skip-7-top-level-await.mjs'

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// Flags: --harmony-top-level-await --harmony-dynamic-import
// Flags: --harmony-top-level-await
import * as m1 from 'modules-skip-1-top-level-await-cycle.mjs'
import * as m2 from 'modules-skip-2-top-level-await-cycle.mjs'

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Flags: --harmony-dynamic-import --harmony-top-level-await --ignore-unhandled-promises
// Flags: --harmony-top-level-await --ignore-unhandled-promises
let ran = false;
let m = import('modules-skip-2.mjs');

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Flags: --harmony-dynamic-import --harmony-top-level-await --ignore-unhandled-promises
// Flags: --harmony-top-level-await --ignore-unhandled-promises
let ran = false;
try {

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Flags: --harmony-dynamic-import --harmony-top-level-await --ignore-unhandled-promises
// Flags: --harmony-top-level-await --ignore-unhandled-promises
let ran = false;
try {

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Flags: --allow-natives-syntax --harmony-dynamic-import
// Flags: --allow-natives-syntax
var dynamic_life;

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Flags: --allow-natives-syntax --harmony-dynamic-import
// Flags: --allow-natives-syntax
Object.defineProperty(Object, 'life', {
value: 42

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Flags: --allow-natives-syntax --harmony-dynamic-import
// Flags: --allow-natives-syntax
export async function getLife() {
try {

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// Flags: --harmony-dynamic-import --ignore-unhandled-promises
// Flags: --ignore-unhandled-promises
__v_1 = {
};

View File

@ -2,7 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Flags: --harmony-dynamic-import
eval(`import('modules-skip-2.js');`).then(
assertUnreachable,

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Flags: --allow-natives-syntax --harmony-dynamic-import
// Flags: --allow-natives-syntax
// Resources: test/mjsunit/regress/modules-skip-regress-797581-1.js
// Resources: test/mjsunit/regress/modules-skip-regress-797581-2.js
// Resources: test/mjsunit/regress/modules-skip-regress-797581-3.js