Skip to content

Commit ad213d0

Browse files
committed
test: firefox was failing whatwg browser comparison due to timeout
1 parent c20b9dc commit ad213d0

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

tests/whatwg.browser.test.js

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,8 @@ for (let i = 1; i <= 32; i++) {
7575
strings.push(...chunk)
7676
}
7777

78-
// Passes on Chromium, Servo. Webkit is incorrect. Firefox somewhy fails on CI only
79-
const skip =
80-
!document ||
81-
!window ||
82-
process.env.EXODUS_TEST_PLATFORM === 'webkit' ||
83-
process.env.EXODUS_TEST_PLATFORM === 'firefox'
78+
// Passes on Chromium, Firefox, Servo. Webkit is incorrect
79+
const skip = !document || !window || process.env.EXODUS_TEST_PLATFORM === 'webkit'
8480

8581
describe('percent-encode after encoding matches browser', { skip }, () => {
8682
let handle
@@ -99,7 +95,7 @@ describe('percent-encode after encoding matches browser', { skip }, () => {
9995

10096
for (const encoding of labels) {
10197
if (invalid.has(encoding)) continue
102-
test(encoding, async (t) => {
98+
test(encoding, { timeout: 60_000 }, async (t) => {
10399
let ok = 0
104100
const loaded = new Promise((resolve) => (handle = resolve))
105101
const html = `

0 commit comments

Comments
 (0)