From 0d2dd6c2fea1b5081b64751e1e0697abcd1c47ee Mon Sep 17 00:00:00 2001 From: Jonas Jenwald Date: Mon, 12 Apr 2021 08:52:27 +0200 Subject: [PATCH] Remove the unused "GetIsPureXfa" message handler in the worker (PR 13069 follow-up) Looking at the API, there's no code which actually sends this message. Most likely it's a left-over from a previous version of PR 13069, since the `isPureXfa` parameter is being included in the "GetDoc" message. --- src/core/worker.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/core/worker.js b/src/core/worker.js index 2011deb4c..fb81beb79 100644 --- a/src/core/worker.js +++ b/src/core/worker.js @@ -497,10 +497,6 @@ class WorkerMessageHandler { }); }); - handler.on("GetIsPureXfa", function wphSetupGetIsPureXfa(data) { - return pdfManager.ensureDoc("isPureXfa"); - }); - handler.on("GetOutline", function wphSetupGetOutline(data) { return pdfManager.ensureCatalog("documentOutline"); });