1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-20 15:18:08 +02:00

Merge pull request #19237 from Snuffleupagus/pr-19114-followup-2

Disable the `handle reading ranges with missing/invalid "Content-Range" header` unit-test in Google Chrome (PR 19114 follow-up)
This commit is contained in:
Tim van der Meij 2024-12-19 19:19:20 +01:00 committed by GitHub
commit 7bd168811c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -122,6 +122,10 @@ describe("network", function () {
});
it(`handle reading ranges with missing/invalid "Content-Range" header`, async function () {
if (globalThis.chrome) {
pending("Fails intermittently in Google Chrome.");
}
async function readRanges(mode) {
const rangeSize = 32768;
const stream = new PDFNetworkStream({