npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead. npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated npm WARN deprecated mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.) npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies. npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated npm WARN deprecated mkdirp@0.3.5: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.) npm WARN deprecated coffee-script@1.12.7: CoffeeScript on NPM has moved to "coffeescript" (no hyphen) npm WARN deprecated highlight.js@9.18.5: Support has ended for 9.x series. Upgrade to @latest npm WARN deprecated core-js@2.6.9: core-js@<3.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js. > postinstall > cross-env PUPPETEER_PRODUCT=firefox node node_modules/puppeteer/install.js Requesting latest Firefox Nightly version from https://product-details.mozilla.org/1.0/firefox_versions.json Firefox Nightly is already in C:\Users\Administrator\.cache\puppeteer\firefox\win64-110.0a1; skipping download. added 1149 packages, and audited 1586 packages in 3m 120 packages are looking for funding run `npm fund` for details 25 vulnerabilities (1 low, 8 moderate, 13 high, 3 critical) To address issues that do not require attention, run: npm audit fix To address all issues (including breaking changes), run: npm audit fix --force Run `npm audit` for details. Submodule 'test/ttx/fonttools-code' (https://github.com/behdad/fonttools.git) registered for path 'test/ttx/fonttools-code' Cloning into 'C:/pdfjs/botio-files-pdfjs/private/f7d0264a6770d15/test/ttx/fonttools-code'... Submodule path 'test/ttx/fonttools-code': checked out 'd8170131a3458ffbc19089cf33249777bde390e7' >> Deploying cached PDF files >> Deploying custom files >> Integration Tests [11:46:02] Using gulpfile C:\pdfjs\botio-files-pdfjs\private\f7d0264a6770d15\gulpfile.js [11:46:02] Starting 'integrationtest'... [11:46:02] Starting 'setTestEnv'... [11:46:02] Finished 'setTestEnv' after 1.48 ms [11:46:02] Starting 'generic'... [11:46:02] Starting 'createBuildNumber'... ### Getting extension build number Extension build number: 24 [11:46:02] Finished 'createBuildNumber' after 177 ms [11:46:02] Starting 'locale'... ### Building localization files [11:46:02] Finished 'locale' after 418 ms [11:46:02] Starting 'scriptingGeneric'... ### Building default preferences [11:46:06] asset pdf.scripting.js 110 KiB [emitted] (name: main) webpack 5.75.0 compiled successfully [11:46:06] Finished 'scriptingGeneric' after 3.97 s [11:46:06] Starting 'createGeneric'... ### Creating generic viewer [BABEL] Note: The code generator has deoptimised the styling of C:\pdfjs\botio-files-pdfjs\private\f7d0264a6770d15\external\quickjs\quickjs-eval.js as it exceeds the max of 500KB. [11:46:15] asset pdf.sandbox.js 621 KiB [emitted] [big] (name: main) webpack 5.75.0 compiled successfully [11:46:23] asset viewer.js 418 KiB [emitted] [big] (name: main) webpack 5.75.0 compiled successfully [11:46:27] asset pdf.js 491 KiB [emitted] [big] (name: main) webpack 5.75.0 compiled successfully [11:46:27] asset pdf.worker.js 1.86 MiB [emitted] [big] (name: main) webpack 5.75.0 compiled successfully [11:46:28] Finished 'createGeneric' after 22 s [11:46:28] Finished 'generic' after 26 s [11:46:28] Starting 'runIntegrationTest'... ### Running integration tests Server running at http://127.0.0.1:58298/ Started .TEST-PASSED | must check that first text field has focus .TEST-PASSED | must show a text field and then make in invisible when content is removed .TEST-PASSED | must format the field with 2 digits and leave field with a click .TEST-PASSED | must format the field with 2 digits, leave field with a click and again .TEST-PASSED | must format the field with 2 digits and leave field with a TAB .TEST-PASSED | must format the field with 2 digits and hit ESC .TEST-PASSED | must format the field with 2 digits on key ENTER .TEST-PASSED | must reset all .TEST-PASSED | must show values in a text input when clicking on radio buttons .TEST-PASSED | must show values in a text input when clicking on checkboxes .TEST-PASSED | must show values in a text input when clicking on checkboxes in a group .TEST-PASSED | must show values in a text input when clicking on checkboxes or radio with no actions *TEST-PASSED | must execute WillPrint and DidPrint actions .TEST-PASSED | must execute WillSave and DidSave actions FTEST-UNEXPECTED-FAIL | must execute PageOpen and PageClose actions .TEST-PASSED | must print authors in a text field .TEST-PASSED | must print selected value in a text field .TEST-PASSED | must clear and restore list elements .TEST-PASSED | must insert new elements .TEST-PASSED | must delete some element .TEST-PASSED | must change colors .TEST-PASSED | must compute sum of fields .TEST-PASSED | must check page index .TEST-PASSED | must check display .TEST-PASSED | must update fields with the same name from JS .TEST-PASSED | must print securityHandler value in a text field FTEST-UNEXPECTED-FAIL | must check input for US zip format .TEST-PASSED | must check input for US phone number (long) format .TEST-PASSED | must check input for US phone number (short) format .TEST-PASSED | must convert input to uppercase .TEST-PASSED | must check that an infinite loop is not triggered .TEST-PASSED | must check that field value is correctly updated .TEST-PASSED | must check that field value is correctly formatted .TEST-PASSED | must check that a button and text field with a border are hidden .TEST-PASSED | must check that data-main-rotation is correct .TEST-PASSED | must check that a values is correctly updated on a field and its siblings .TEST-PASSED | must check that charLimit is correctly set .TEST-PASSED | must check field value is treated by default as a number .TEST-PASSED | must check field value is correctly updated when committed with ENTER key .TEST-PASSED | must check field value is correctly updated when committed with ENTER key .TEST-PASSED | must check the field value set when the document is open .TEST-PASSED | must check the format action is called when setFocus is used FTEST-UNEXPECTED-FAIL | must check if printing is triggered when the document is open .TEST-PASSED | must show a popup on mouseover .TEST-PASSED | must let checkboxes with the same name behave like radio buttons .TEST-PASSED | must check the checkbox .TEST-PASSED | must update all the fields with the same value .TEST-PASSED | must let checkboxes with the same name behave like radio buttons .TEST-PASSED | must reset all fields .TEST-PASSED | must reset some fields .TEST-PASSED | must build structure that maps to text layer .TEST-PASSED | must check that some spans are linked to some annotations thanks to aria-owns .TEST-PASSED | must check that the text fields are in the visual order .TEST-PASSED | must highlight text in the right position .TEST-PASSED | must search xfa correctly .TEST-PASSED | must write a string in a FreeText editor .TEST-PASSED | must copy/paste .TEST-PASSED | must clear all .TEST-PASSED | must check that a paste has been undone .TEST-PASSED | must check that aria-owns is correct .TEST-PASSED | must check that right click doesn't select .TEST-PASSED | must select/unselect several editors and check copy, paste and delete operations .TEST-PASSED | must serialize invisible annotations .TEST-PASSED | must take the media box into account .TEST-PASSED | must draw, undo a deletion and check that the editors are not selected .TEST-PASSED | must draw, undo/redo and check that the editor don't move Failures: 1) Interaction in doc_actions.pdf for page actions must execute PageOpen and PageClose actions Message:  Error: Timeout - Async function did not complete within 30000ms (set by jasmine.DEFAULT_TIMEOUT_INTERVAL) Stack: at at listOnTimeout (node:internal/timers:559:17) at processTimers (node:internal/timers:502:7) 2) Interaction in issue14307.pdf (1) must check input for US zip format Message:  Error: Timeout - Async function did not complete within 30000ms (set by jasmine.DEFAULT_TIMEOUT_INTERVAL) Stack: at at listOnTimeout (node:internal/timers:559:17) at processTimers (node:internal/timers:502:7) 3) Interaction in autoprint.pdf must check if printing is triggered when the document is open Message:  Error: Timeout - Async function did not complete within 30000ms (set by jasmine.DEFAULT_TIMEOUT_INTERVAL) Stack: at at listOnTimeout (node:internal/timers:559:17) at processTimers (node:internal/timers:502:7) Suite error: Interaction in js-authors.pdf Message:  ProtocolError: Protocol error (Runtime.callFunctionOn): Target closed. Stack: at C:\pdfjs\botio-files-pdfjs\private\f7d0264a6770d15\node_modules\puppeteer-core\lib\cjs\puppeteer\common\Connection.js:329:24 at new Promise () at CDPSessionImpl.send (C:\pdfjs\botio-files-pdfjs\private\f7d0264a6770d15\node_modules\puppeteer-core\lib\cjs\puppeteer\common\Connection.js:325:16) at ExecutionContext._ExecutionContext_evaluate (C:\pdfjs\botio-files-pdfjs\private\f7d0264a6770d15\node_modules\puppeteer-core\lib\cjs\puppeteer\common\ExecutionContext.js:211:46) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async JSHandle.evaluateHandle (C:\pdfjs\botio-files-pdfjs\private\f7d0264a6770d15\node_modules\puppeteer-core\lib\cjs\puppeteer\common\JSHandle.js:97:16) at async WaitTask.rerun (C:\pdfjs\botio-files-pdfjs\private\f7d0264a6770d15\node_modules\puppeteer-core\lib\cjs\puppeteer\common\WaitTask.js:114:28) Suite error: Interaction Message:  ProtocolError: Protocol error (Runtime.callFunctionOn): Target closed. Stack: at C:\pdfjs\botio-files-pdfjs\private\f7d0264a6770d15\node_modules\puppeteer-core\lib\cjs\puppeteer\common\Connection.js:329:24 at new Promise () at CDPSessionImpl.send (C:\pdfjs\botio-files-pdfjs\private\f7d0264a6770d15\node_modules\puppeteer-core\lib\cjs\puppeteer\common\Connection.js:325:16) at ExecutionContext._ExecutionContext_evaluate (C:\pdfjs\botio-files-pdfjs\private\f7d0264a6770d15\node_modules\puppeteer-core\lib\cjs\puppeteer\common\ExecutionContext.js:211:46) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async JSHandle.evaluateHandle (C:\pdfjs\botio-files-pdfjs\private\f7d0264a6770d15\node_modules\puppeteer-core\lib\cjs\puppeteer\common\JSHandle.js:97:16) at async WaitTask.rerun (C:\pdfjs\botio-files-pdfjs\private\f7d0264a6770d15\node_modules\puppeteer-core\lib\cjs\puppeteer\common\WaitTask.js:114:28) Pending: 1) Interaction in doc_actions.pdf for printing must execute WillPrint and DidPrint actions Disabled in Firefox on Windows, because of bug 1662471. 66 specs, 5 failures, 1 pending spec Finished in 356.466 seconds Jasmine received a result after the suite finished: { matcherName: '', message: 'ProtocolError: Protocol error (Input.dispatchKeyEvent): Target closed.', stack: ' at C:\\pdfjs\\botio-files-pdfjs\\private\\f7d0264a6770d15\\node_modules\\puppeteer-core\\lib\\cjs\\puppeteer\\common\\Connection.js:329:24\n' + ' at new Promise ()\n' + ' at CDPSessionImpl.send (C:\\pdfjs\\botio-files-pdfjs\\private\\f7d0264a6770d15\\node_modules\\puppeteer-core\\lib\\cjs\\puppeteer\\common\\Connection.js:325:16)\n' + ' at Keyboard.up (C:\\pdfjs\\botio-files-pdfjs\\private\\f7d0264a6770d15\\node_modules\\puppeteer-core\\lib\\cjs\\puppeteer\\common\\Input.js:143:67)\n' + ' at Keyboard.press (C:\\pdfjs\\botio-files-pdfjs\\private\\f7d0264a6770d15\\node_modules\\puppeteer-core\\lib\\cjs\\puppeteer\\common\\Input.js:241:20)\n' + ' at async Keyboard.type (C:\\pdfjs\\botio-files-pdfjs\\private\\f7d0264a6770d15\\node_modules\\puppeteer-core\\lib\\cjs\\puppeteer\\common\\Input.js:201:17)\n' + ' at async ElementHandle.type (C:\\pdfjs\\botio-files-pdfjs\\private\\f7d0264a6770d15\\node_modules\\puppeteer-core\\lib\\cjs\\puppeteer\\common\\ElementHandle.js:648:9)\n' + ' at async IsolatedWorld.type (C:\\pdfjs\\botio-files-pdfjs\\private\\f7d0264a6770d15\\node_modules\\puppeteer-core\\lib\\cjs\\puppeteer\\common\\IsolatedWorld.js:266:9)\n' + ' at async UserContext. (C:\\pdfjs\\botio-files-pdfjs\\private\\f7d0264a6770d15\\test\\integration\\scripting_spec.js:1016:9)', passed: false, expected: '', actual: '', code: undefined } Run 66 tests OHNOES! Some integration tests failed! 3 of 66 failed integration tests runtime was 364.0 seconds [11:52:36] Finished 'runIntegrationTest' after 6.13 min [11:52:36] Finished 'integrationtest' after 6.57 min !botio_message:+ **Integration Tests:** FAILED >> Updating local PDF cache