1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-19 14:48:08 +02:00

Remove workaround from the "must convert input to uppercase" scripting integration test

It's no longer necessary after commit 1c73e52 that caused the document
to be closed properly between tests, and this therefore partly reverts
commit 973b67f.
This commit is contained in:
Tim van der Meij 2025-04-13 15:53:53 +02:00
parent 5f46791887
commit 938430be5b
No known key found for this signature in database
GPG key ID: 8C3FD2925A5F2762

View file

@ -1197,13 +1197,6 @@ describe("Interaction", () => {
await page.waitForFunction(
`${getQuerySelector("27R")}.value === "HEAO "`
);
// The typing actions in the first textbox caused sandbox events to be
// queued. We don't close the document between tests, so we have to
// flush them here, by clicking the second textbox, so they don't leak
// through to the following test.
await page.click(getSelector("28R"));
await waitForSandboxTrip(page);
})
);
});