mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Merge pull request #15569 from Snuffleupagus/rm-worker-GetOperatorList-UnsupportedFeature
[api-minor] Stop sending "UnsupportedFeature" from the worker-thread GetOperatorList-handling
This commit is contained in:
commit
d5036d7bfe
1 changed files with 0 additions and 7 deletions
|
@ -27,7 +27,6 @@ import {
|
|||
stringToPDFString,
|
||||
UnexpectedResponseException,
|
||||
UnknownErrorException,
|
||||
UNSUPPORTED_FEATURES,
|
||||
VerbosityLevel,
|
||||
warn,
|
||||
} from "../shared/util.js";
|
||||
|
@ -728,12 +727,6 @@ class WorkerMessageHandler {
|
|||
if (task.terminated) {
|
||||
return; // ignoring errors from the terminated thread
|
||||
}
|
||||
// For compatibility with older behavior, generating unknown
|
||||
// unsupported feature notification on errors.
|
||||
handler.send("UnsupportedFeature", {
|
||||
featureId: UNSUPPORTED_FEATURES.errorOperatorList,
|
||||
});
|
||||
|
||||
sink.error(reason);
|
||||
|
||||
// TODO: Should `reason` be re-thrown here (currently that casues
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue