Merge pull request #18302 from Snuffleupagus/testingClose-findbar-close
Close `PDFFindBar` when closing the viewer during testing
This commit is contained in:
commit
1cf19e907d
@ -2112,6 +2112,7 @@ const PDFViewerApplication = {
|
|||||||
*/
|
*/
|
||||||
async testingClose() {
|
async testingClose() {
|
||||||
this.l10n?.pause();
|
this.l10n?.pause();
|
||||||
|
this.findBar?.close();
|
||||||
|
|
||||||
this.unbindEvents();
|
this.unbindEvents();
|
||||||
this.unbindWindowEvents();
|
this.unbindWindowEvents();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user