[GeckoView] Allow to query pdf.js to know if we can avoid to print a pdf (bug 1846296)

This commit is contained in:
Calixte Denizet 2023-07-31 18:45:42 +02:00
parent ce9f94848c
commit 8bd4a18190
3 changed files with 46 additions and 2 deletions

View file

@ -3021,7 +3021,7 @@ class WorkerTransport {
}
getDocJSActions() {
return this.messageHandler.sendWithPromise("GetDocJSActions", null);
return this.#cacheSimpleMethod("GetDocJSActions");
}
getPageJSActions(pageIndex) {