mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
Disable the handle reading ranges with missing/invalid "Content-Range" 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.
This commit is contained in:
parent
8985d80aef
commit
760c4a0297
1 changed files with 4 additions and 0 deletions
|
@ -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({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue