Commit 1b4d3b63 authored by Camillo Bruni's avatar Camillo Bruni Committed by V8 LUCI CQ

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

Change-Id: I5dbfe8c1e2f8474d4693dc9e9ddd57639c37c6ab
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3263885Reviewed-by: 's avatarVictor Gomes <victorgomes@chromium.org>
Commit-Queue: Camillo Bruni <cbruni@chromium.org>
Cr-Commit-Position: refs/heads/main@{#77725}
parent 8389acd7
......@@ -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": [
......
......@@ -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);
......
......@@ -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 });
......
......@@ -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);
......
......@@ -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);
......
......@@ -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());
......
......@@ -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);
......
......@@ -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;
......
......@@ -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() {
......
......@@ -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;
......
......@@ -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;
......
......@@ -3,7 +3,6 @@
// found in the LICENSE file.
// Flags: --harmony-top-level-await --allow-natives-syntax
// Flags: --harmony-dynamic-import
var ran = false;
......
......@@ -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;
......
......@@ -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;
......
......@@ -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;
......
......@@ -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 () {
......
......@@ -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);
......
......@@ -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';
......
......@@ -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;
......
......@@ -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;
......
......@@ -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;
......
......@@ -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;
......
......@@ -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');
......
......@@ -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;
......
......@@ -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;
......
......@@ -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'
......
......@@ -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'
......
......@@ -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'
......
......@@ -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';
......
......@@ -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'
......
......@@ -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'
......
......@@ -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');
......
......@@ -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 {
......
......@@ -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 {
......
......@@ -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;
......
......@@ -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
......
......@@ -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 {
......
......@@ -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 = {
};
......
......@@ -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,
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment