From 64378fc366478581eb5bfae9fdcf059a3416a054 Mon Sep 17 00:00:00 2001 From: Jonas Jenwald Date: Tue, 2 Jun 2020 12:25:15 +0200 Subject: [PATCH] [api-minor] Remove the deprecated `PDFDocumentProxy.getOpenActionDestination` method (PR 11644 follow-up) This method has been printing a `deprecated` warning in two releases, hence it should hopefully be safe to remove now. --- src/display/api.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/display/api.js b/src/display/api.js index 3d6ee47cc..8a556c40a 100644 --- a/src/display/api.js +++ b/src/display/api.js @@ -661,13 +661,6 @@ class PDFDocumentProxy { return this._transport.getOpenAction(); } - getOpenActionDestination() { - deprecated("getOpenActionDestination, use getOpenAction instead."); - return this.getOpenAction().then(function (openAction) { - return openAction && openAction.dest ? openAction.dest : null; - }); - } - /** * @returns {Promise} A promise that is resolved with a lookup table for * mapping named attachments to their content.