Skip to content

Commit

Permalink
Disable the `handle reading ranges with missing/invalid "Content-Rang…
Browse files Browse the repository at this point in the history
…e" header` unit-test in Google Chrome (PR 19114 follow-up)

Note that PR 19212 tried to change the test-server to fix the intermittent failure in Google Chrome, however that unfortunately caused *other* unit-tests to start failing.
As long as this unit-test still runs successfully in Mozilla Firefox that should be enough, and it doesn't seem like a good use of our time to hunt down a bug that only happens in Google Chrome.
  • Loading branch information
Snuffleupagus committed Dec 18, 2024
1 parent 8985d80 commit 760c4a0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/unit/network_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit 760c4a0

Please sign in to comment.