mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-09 01:35:43 +02:00
[api-minor] Remove the type
from RenderingCancelledException
(PR 16226 follow-up)
After PR 16226 we're only using `RenderingCancelledException` together with canvas-rendering, hence the `type`-property is no longer necessary.
This commit is contained in:
parent
9af50dc358
commit
225734dd00
3 changed files with 1 additions and 4 deletions
|
@ -3347,7 +3347,6 @@ class InternalRenderTask {
|
|||
error ||
|
||||
new RenderingCancelledException(
|
||||
`Rendering cancelled, page ${this._pageIndex + 1}`,
|
||||
"canvas",
|
||||
extraDelay
|
||||
)
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue