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 #16550 from Snuffleupagus/rm-RenderingCancelledException-type

[api-minor] Remove the `type` from `RenderingCancelledException` (PR 16226 follow-up)
This commit is contained in:
Jonas Jenwald 2023-06-15 12:26:27 +02:00 committed by GitHub
commit 0650be4641
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 4 deletions

View file

@ -3075,7 +3075,6 @@ Caron Broadcasting, Inc., an Ohio corporation (“Lessee”).`)
} catch (reason) {
expect(reason instanceof RenderingCancelledException).toEqual(true);
expect(reason.message).toEqual("Rendering cancelled, page 1");
expect(reason.type).toEqual("canvas");
expect(reason.extraDelay).toEqual(0);
}