mozilla / pdf.js

PDF Reader in JavaScript
https://mozilla.github.io/pdf.js/
Apache License 2.0
47.09k stars 9.81k forks source link

Add a new helper, in the viewer, to close everything during testing #18289

Closed Snuffleupagus closed 1 week ago

Snuffleupagus commented 1 week ago

This has two advantages, as far as I'm concerned:

Snuffleupagus commented 1 week ago

When this reaches mozilla-central, we should be able to replace https://searchfox.org/mozilla-central/rev/b11735b86bb4d416c918e2b2413456561beff50c/toolkit/components/pdfjs/test/head.js#49-50 respectively https://searchfox.org/mozilla-central/rev/b11735b86bb4d416c918e2b2413456561beff50c/dom/security/test/csp/browser_pdfjs_not_subject_to_csp.js#55-56 with await viewer.testingClose() to clean-up everything there as well.

Snuffleupagus commented 1 week ago

/botio integrationtest

moz-tools-bot commented 1 week ago

From: Bot.io (Linux m4)


Received

Command cmd_integrationtest from @Snuffleupagus received. Current queue size: 0

Live output at: http://54.241.84.105:8877/4f909edbd4b36de/output.txt

moz-tools-bot commented 1 week ago

From: Bot.io (Windows)


Received

Command cmd_integrationtest from @Snuffleupagus received. Current queue size: 0

Live output at: http://54.193.163.58:8877/d5b189e3649fdcc/output.txt

moz-tools-bot commented 1 week ago

From: Bot.io (Linux m4)


Success

Full output at http://54.241.84.105:8877/4f909edbd4b36de/output.txt

Total script time: 7.71 mins

moz-tools-bot commented 1 week ago

From: Bot.io (Windows)


Failed

Full output at http://54.193.163.58:8877/d5b189e3649fdcc/output.txt

Total script time: 18.76 mins