Rename support files to end in _FIXTURE.js (#4368)

This commit is contained in:
Shu-yu Guo 2025-01-08 16:30:20 -08:00 committed by GitHub
parent 1d7a2938a2
commit 7f12305f59
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 26 additions and 18 deletions

View File

@ -1,4 +1,6 @@
// |reftest| skip -- support file
// Copyright (C) 2024 Mozilla Corporation. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
if (globalThis.testArray === undefined) {
globalThis.testArray = [];
}

View File

@ -1,6 +0,0 @@
// |reftest| skip -- support file
import "./bug1693261-async.mjs";
if (globalThis.testArray === undefined) {
globalThis.testArray = [];
}
globalThis.testArray.push("c1");

View File

@ -0,0 +1,8 @@
// |reftest| skip -- support file
// Copyright (C) 2024 Mozilla Corporation. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
import "./bug1693261-async_FIXTURE.js";
if (globalThis.testArray === undefined) {
globalThis.testArray = [];
}
globalThis.testArray.push("c1");

View File

@ -1,6 +0,0 @@
// |reftest| skip -- support file
import "./bug1693261-async.mjs";
if (globalThis.testArray === undefined) {
globalThis.testArray = [];
}
globalThis.testArray.push("c2");

View File

@ -0,0 +1,8 @@
// |reftest| skip -- support file
// Copyright (C) 2024 Mozilla Corporation. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
import "./bug1693261-async_FIXTURE.js";
if (globalThis.testArray === undefined) {
globalThis.testArray = [];
}
globalThis.testArray.push("c2");

View File

@ -1,6 +0,0 @@
// |reftest| skip -- support file
import "./bug1693261-c1.mjs";
if (globalThis.testArray === undefined) {
globalThis.testArray = [];
}
globalThis.testArray.push("x");

View File

@ -0,0 +1,8 @@
// |reftest| skip -- support file
// Copyright (C) 2024 Mozilla Corporation. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
import "./bug1693261-c1_FIXTURE.js";
if (globalThis.testArray === undefined) {
globalThis.testArray = [];
}
globalThis.testArray.push("x");