npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: undefined, npm WARN EBADENGINE required: { node: '>=20.16.0 || >=22.3.0' }, npm WARN EBADENGINE current: { node: 'v20.14.0', npm: '8.14.0' } npm WARN EBADENGINE } npm WARN deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported added 963 packages, and audited 964 packages in 1m 220 packages are looking for funding run `npm fund` for details found 0 vulnerabilities >> Deploying cached PDF files >> Deploying custom files >> Integration Tests [13:16:59] Using gulpfile C:\pdfjs\botio-files-pdfjs\private\4e248dffc333727\gulpfile.mjs [13:16:59] Starting 'integrationtest'... [13:16:59] Starting 'setTestEnv'... [13:16:59] Finished 'setTestEnv' after 1.52 ms [13:16:59] Starting 'generic'... [13:16:59] Starting 'createBuildNumber'... ### Getting extension build number Extension build number: 194 [13:16:59] Finished 'createBuildNumber' after 227 ms [13:16:59] Starting 'locale'... ### Building localization files [13:16:59] Finished 'locale' after 378 ms [13:16:59] Starting 'scriptingGeneric'... ### Building default preferences [13:17:01] asset app_options.mjs 13.4 KiB [emitted] [javascript module] (name: main) webpack 5.99.7 compiled successfully [13:17:02] asset pdf.scripting.mjs 105 KiB [emitted] [javascript module] (name: main) webpack 5.99.7 compiled successfully [13:17:02] Finished 'scriptingGeneric' after 2.93 s [13:17:02] Starting 'prefsGeneric'... ### Parsing default preferences [13:17:02] Finished 'prefsGeneric' after 5.74 ms [13:17:02] Starting 'createGeneric'... ### Creating generic viewer [BABEL] Note: The code generator has deoptimised the styling of C:\pdfjs\botio-files-pdfjs\private\4e248dffc333727\external\quickjs\quickjs-eval.js as it exceeds the max of 500KB. [13:17:11] asset pdf.sandbox.mjs 710 KiB [emitted] [javascript module] [big] (name: main) webpack 5.99.7 compiled successfully [13:17:17] asset pdf.mjs 671 KiB [emitted] [javascript module] [big] (name: main) webpack 5.99.7 compiled successfully [13:17:21] asset pdf.worker.mjs 1.79 MiB [emitted] [javascript module] [big] (name: main) webpack 5.99.7 compiled successfully [13:17:22] asset viewer.mjs 507 KiB [emitted] [javascript module] [big] (name: main) webpack 5.99.7 compiled successfully [13:17:22] Finished 'createGeneric' after 20 s [13:17:22] Finished 'generic' after 24 s [13:17:22] Starting 'runIntegrationTest'... ### Running integration tests Server running at http://127.0.0.1:60886/ Dynamically enable window occlusion 0 WebDriver BiDi listening on ws://127.0.0.1:60890 1747315048383 RemoteAgent INFO Perform WebSocket upgrade for incoming connection from 127.0.0.1:60891 [GFX1-]: Failed to get D3D11VideoDevice: 0x80004002 [GFX1-]: Handling webrender error 5 [12280:8912:0515/131733.727:ERROR:system_geolocation_source_win.cc(83)] Failed to get IAppCapability statics: Class not registered (0x80040154) DevTools listening on ws://127.0.0.1:60893/devtools/browser/4b464d7d-6db2-408c-a146-88e451e54e02 Randomized with seed 14879 Started .TEST-PASSED | must check that a draw can be undone .TEST-PASSED | must check that we can draw several times on the same canvas .TEST-PASSED | must update an existing annotation .TEST-PASSED | must check that the first annotation is correctly associated with its SVG .TEST-PASSED | must move an annotation .TEST-PASSED | must check that the deletion has been undid .TEST-PASSED | must check that the editor layer is disabled .TEST-PASSED | must check that the focus isn't taken .TEST-PASSED | must check that the ink editor is committed .TEST-PASSED | must check that the page position remains the same after drawing .TEST-PASSED | must check that the stroke width has been updated after zooming .TEST-PASSED | must check that a draw can be undone .TEST-PASSED | must check that the undo deletion popup displays the correct message .TEST-PASSED | must check that deleting a drawing can be undone using the undo button .TEST-PASSED | must check that the popup disappears when a new drawing is created .TEST-PASSED | must draw, undo a deletion and check that the editors are not selected .TEST-PASSED | must draw and move with the keyboard .TEST-PASSED | must draw, undo/redo and check that the editor don't move .TEST-PASSED | must draw something .TEST-PASSED | must check that the color has been changed .TEST-PASSED | must check that a draw can be undone .TEST-PASSED | must check that when we start to draw then the editors are unselected .TEST-PASSED | must retain correct curvature regardless of the page or the curve's endpoint location .TEST-PASSED | must check that checkboxes are correctly resetted .TEST-PASSED | must check the properties of the event .TEST-PASSED | must check that a button and text field with a border are hidden .TEST-PASSED | must check the zip code is correctly formatted .TEST-PASSED | must check that focus/blur callbacks aren't called .TEST-PASSED | must check if printing is triggered when the document is open .TEST-PASSED | must check that data-main-rotation is correct .TEST-PASSED | must check that a field value with a number isn't changed .TEST-PASSED | must check that field value is correctly formatted .TEST-PASSED | must check that blur callback is called .TEST-PASSED | must check the number has the correct number of decimals .TEST-PASSED | must check that a field value with a number with a comma has the correct value .TEST-PASSED | must execute WillPrint and DidPrint actions .TEST-PASSED | must check that only one radio is selected .TEST-PASSED | must check field value is correctly updated when committed with ENTER key .TEST-PASSED | must check page index .TEST-PASSED | must check display .TEST-PASSED | must check that a field has the correct value when a choice is changed .TEST-PASSED | must check that the computed value is correct .TEST-PASSED | must compute sum of fields .TEST-PASSED | must check that field value is correctly updated .TEST-PASSED | must check that the product is computed although a callback threw .TEST-PASSED | must format the field with 2 digits and hit ESC .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, leave field with a click and again .TEST-PASSED | must format the field with 2 digits and leave field with a click .TEST-PASSED | must format the field with 2 digits on key ENTER .TEST-PASSED | must reset all .TEST-PASSED | must check that first text field has focus .TEST-PASSED | must format the field with 2 digits and leave field with a TAB .TEST-PASSED | must check that charLimit is correctly set .TEST-PASSED | must change colors .TEST-PASSED | must check that the product are null .TEST-PASSED | must execute WillSave and DidSave actions .TEST-PASSED | must delete some element .TEST-PASSED | must insert new elements .TEST-PASSED | must print selected value in a text field .TEST-PASSED | must clear and restore list elements .TEST-PASSED | must check field value is treated by default as a number .TEST-PASSED | must check input for US phone number (long) format .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 show values in a text input when clicking on radio buttons .TEST-PASSED | must check that PageOpen/PageClose actions are correctly executed .TEST-PASSED | must print authors in a text field .TEST-PASSED | must check that a value is correctly updated on a field and its siblings .TEST-PASSED | must check that date entered are in the input .TEST-PASSED | must check input for US zip format .TEST-PASSED | must execute PageOpen and PageClose actions .TEST-PASSED | must print securityHandler value in a text field .TEST-PASSED | must update fields with the same name from JS .TEST-PASSED | must check that a field has the correct formatted value .TEST-PASSED | must check that a field is empty .TEST-PASSED | must convert input to uppercase .TEST-PASSED | must check that an infinite loop is not triggered .TEST-PASSED | must check that date entered by the user is consistent .TEST-PASSED | must check that a field has the correct formatted value .TEST-PASSED | must check field value is correctly updated when committed with ENTER key .TEST-PASSED | must check that a change on a radio implies the change on all the radio in the group .TEST-PASSED | must check that invisible fields are made visible .TEST-PASSED | must check the format action is called when setFocus is used .TEST-PASSED | must check the field value set when the document is open .TEST-PASSED | must check input for US phone number (short) format .TEST-PASSED | must check that the highlight annotation has no popup and no aria-haspopup attribute .TEST-PASSED | must check that the Ink annotation has a popup .TEST-PASSED | must check that the clickable area has been rotated .TEST-PASSED | must check the content of the text field .TEST-PASSED | must check that the FreeText annotation has a popup .TEST-PASSED | must reset some fields .TEST-PASSED | must reset all fields .TEST-PASSED | must check that the popup has the correct visibility .TEST-PASSED | must let checkboxes with the same name behave like radio buttons .TEST-PASSED | must show a popup on mouseover .TEST-PASSED | must click on widget annotations .TEST-PASSED | must check that the signature has the correct aspect ratio .TEST-PASSED | must check that the error panel is correctly removed .TEST-PASSED | must check copy and paste .TEST-PASSED | must check adding an image .TEST-PASSED | must check drawing with the mouse .TEST-PASSED | must check that the editor has been removed when the dialog is cancelled .TEST-PASSED | must check that the basic and common elements are working as expected .TEST-PASSED | must check that the editor isn't too large .TEST-PASSED | must check that the signature has the correct color with the light theme .TEST-PASSED | must check that the signature has the correct color with the dark theme .TEST-PASSED | must check that a highlight can be undone .TEST-PASSED | must display correct message for multiple highlights .TEST-PASSED | must check that the undo deletion popup displays the correct message .TEST-PASSED | must work properly when selecting undo by keyboard .TEST-PASSED | must check that the popup disappears when an option from the secondaryToolbar is used .TEST-PASSED | must dismiss itself when user presses space/enter key and undo key isn't focused .TEST-PASSED | must check that the popup disappears when the save dialog is opened .TEST-PASSED | must check that the popup disappears when a PDF is drag-and-dropped .TEST-PASSED | must check that the popup disappears when highlight mode is disabled .TEST-PASSED | must check that the popup disappears when the undo button is clicked .TEST-PASSED | must check that deleting a highlight can be undone using the undo button .TEST-PASSED | must check that the popup disappears when a new annotation is created .TEST-PASSED | must check that the popup disappears when the user clicks on the print button .TEST-PASSED | must check that the popup disappears when the print dialog is opened .TEST-PASSED | must check that the popup disappears when the close button is clicked .TEST-PASSED | must check that it's possible to draw on an image in a struct tree .TEST-PASSED | must change the color of an highlight 1747315725853 RemoteAgent WARN [NetworkRequest] Invalid asyncOpenTime=0 for channel [id: 287762808875, url: http://127.0.0.1:60886/build/generic/web/images/loading.svg], falling back to channelCreationTime=1747315725815000. 1747315725853 RemoteAgent WARN [NetworkRequest] Invalid asyncOpenTime=0 for channel [id: 287762808875, url: http://127.0.0.1:60886/build/generic/web/images/loading.svg], falling back to channelCreationTime=1747315725815000. .TEST-PASSED | must check that there is no scroll because of focus .TEST-PASSED | must check that the highlights are correctly hidden/shown .TEST-PASSED | must check that it's possible to highlight a part of a link .TEST-PASSED | must check that the highlight is created .TEST-PASSED | must check that the caret can move a highlighted text .TEST-PASSED | must check that selection is correctly highlighted on arrow down key pressed .TEST-PASSED | must check that an highlight can be left with the keyboard .TEST-PASSED | must check that a highlight can be undone .TEST-PASSED | must check that we can use the keyboard to select a color .TEST-PASSED | must check that there is no scroll because of focus .TEST-PASSED | must enable & disable highlight mode successfully .TEST-PASSED | must check the focus order .TEST-PASSED | must check that an existing highlight is ignored on hovering .TEST-PASSED | must be correctly serialized .TEST-PASSED | must check that the quadpoints for an highlight are almost correct .TEST-PASSED | must check that the highlight has been deleted .TEST-PASSED | must check that the thickness is correctly updated .TEST-PASSED | must scroll and check that the highlight is selected .TEST-PASSED | must check that a text highlight don't move when arrows are pressed .TEST-PASSED | must check the thickness input state .TEST-PASSED | must check that an existing highlight is ignored on hovering .TEST-PASSED | must scroll and change the color without exceptions .TEST-PASSED | must check that the dropdown is hidden .TEST-PASSED | must check that a message is sent on selection .TEST-PASSED | must check that it's possible to highlight a part of a form 1747315889369 RemoteAgent WARN [NetworkRequest] Invalid asyncOpenTime=0 for channel [id: 341449900081, url: http://127.0.0.1:60886/build/generic/web/images/editor-toolbar-delete.svg], falling back to channelCreationTime=1747315889361000. 1747315889369 RemoteAgent WARN [NetworkRequest] Invalid asyncOpenTime=0 for channel [id: 341449900081, url: http://127.0.0.1:60886/build/generic/web/images/editor-toolbar-delete.svg], falling back to channelCreationTime=1747315889361000. .TEST-PASSED | must change the color of a free highlight .TEST-PASSED | must check that clicking on the highlight floating button triggers an highlight .TEST-PASSED | must check that the highlight editor is unselected .TEST-PASSED | must check that some text has been highlighted .TEST-PASSED | must delete an existing annotation and its popup .TEST-PASSED | must scroll and check that the draw layer is there .TEST-PASSED | must check that the toolbar is usable .TEST-PASSED | must check that highlight is at the correct position .TEST-PASSED | must check the editor coordinates .TEST-PASSED | must check that editor is unselected when the mouse is down on the text layer .TEST-PASSED | must check that a highlight can be undone .TEST-PASSED | must check that the quadpoints for an highlight are almost correct .TEST-PASSED | must highlight with red color .TEST-PASSED | must check that we've all the contents on copy/paste .TEST-PASSED | must check that the ligatures have been removed when the text has been copied .TEST-PASSED | must check the id in aria-controls 1747315979828 RemoteAgent WARN [NetworkRequest] Invalid asyncOpenTime=0 for channel [id: 375809638433, url: http://127.0.0.1:60886/build/generic/web/images/loading.svg], falling back to channelCreationTime=1747315979804000. 1747315979828 RemoteAgent WARN [NetworkRequest] Invalid asyncOpenTime=0 for channel [id: 375809638433, url: http://127.0.0.1:60886/build/generic/web/images/loading.svg], falling back to channelCreationTime=1747315979804000. .TEST-PASSED | must check the aria-label linked to the stamp annotation .TEST-PASSED | must check that the stamp annotation is linked to the struct tree .TEST-PASSED | must check that an image is correctly inserted in the text layer .TEST-PASSED | must check that the text fields are in the visual order .TEST-PASSED | must check that some spans are linked to some annotations thanks to aria-owns .TEST-PASSED | must check that the struct tree is still there after zooming .TEST-PASSED | must build structure that maps to text layer .TEST-PASSED | must check the checkbox .TEST-PASSED | must let checkboxes with the same name behave like radio buttons .TEST-PASSED | must check the checkbox .TEST-PASSED | respects drawing delay when zooming out .TEST-PASSED | respects drawing delay when zooming in .TEST-PASSED | test correctly configured .TEST-PASSED | triggers CSS-only zoom above maxCanvasPixels .TEST-PASSED | does not trigger CSS-only zoom below maxCanvasPixels .TEST-PASSED | must check that zoom commands don't scroll the document .TEST-PASSED | must check that we can zoom with the mouse wheel and pressed control key FTEST-UNEXPECTED-FAIL | supports specifiying a custom origin .TEST-PASSED | must check that canvas perfectly fits the page whatever the zoom level is 1747316078153 RemoteAgent WARN PollPromise timed out after 100 ms .TEST-PASSED | must not re-create the detail canvas .TEST-PASSED | sets the proper devicePixelRatio .TEST-PASSED | must update the detail view .TEST-PASSED | must render the detail view .TEST-PASSED | must render the detail view .TEST-PASSED | must render the detail view .TEST-PASSED | must update the detail view .TEST-PASSED | is dispatched properly .TEST-PASSED | properly cleans up old canvases from the dom .TEST-PASSED | must render the detail view .TEST-PASSED | must update the detail view .TEST-PASSED | is dispatched properly .TEST-PASSED | sets the proper devicePixelRatio .TEST-PASSED | must render the detail view .TEST-PASSED | must update the detail view .TEST-PASSED | must render the detail view .TEST-PASSED | must not re-create the detail canvas 1747316137533 RemoteAgent WARN PollPromise timed out after 100 ms .TEST-PASSED | properly cleans up old canvases from the dom .TEST-PASSED | must check that the SecondaryToolbar doesn't close between rotations .TEST-PASSED | must check that the document properties dialog has the correct information .TEST-PASSED | must move the caret down and check the selection .TEST-PASSED | must create an editor, using Enter/Space keys, with focused toolbar button .TEST-PASSED | must create an editor, using Enter/Space keys, with focused page .TEST-PASSED | must check that the parameters are updated when undoing/redoing .TEST-PASSED | must check the text can be selected with the mouse .TEST-PASSED | must check that the annotation layer is visible after a rotation .TEST-PASSED | must check that the focus is on the right page .TEST-PASSED | must check that the parent structTree id is correct .TEST-PASSED | must check that a freetext can be undone .TEST-PASSED | must check that a deleted freetext can be restored .TEST-PASSED | must delete an existing annotation .TEST-PASSED | must check that a freetext can be undone .TEST-PASSED | must update an existing annotation but not an empty one .TEST-PASSED | must check that all lines are correctly exported .TEST-PASSED | must check that the shortcuts are working correctly .TEST-PASSED | must check that selected editor stay selected .TEST-PASSED | must check that freetexts are deleted .TEST-PASSED | must check arrow doesn't move an editor when a slider is focused .TEST-PASSED | must check the position of moved editor .TEST-PASSED | must check the position of an empty freetext .TEST-PASSED | must update an existing annotation and show the right popup .TEST-PASSED | must update an existing annotation .TEST-PASSED | must open an existing annotation and check that the position are good .TEST-PASSED | must keep the focus .TEST-PASSED | must check that consecutive white spaces are preserved when a freetext is edited .TEST-PASSED | must open an existing rotated annotation and check that the position are good .TEST-PASSED | must check that first annotation is selected without errors .TEST-PASSED | must move an annotation .TEST-PASSED | must take the media box into account .TEST-PASSED | must move several annotations .TEST-PASSED | must delete invisible annotations .TEST-PASSED | must check that consecutive white spaces are preserved when a freetext is edited .TEST-PASSED | must serialize invisible annotations .TEST-PASSED | must not remove an empty annotation .TEST-PASSED | must hide the popup when editing FTEST-UNEXPECTED-FAIL | must select/unselect several editors and check copy, paste and delete operations .TEST-PASSED | must check that the dimensions of a rotated annotations are correct after a font size change .TEST-PASSED | must check that pasting html just keep the text .TEST-PASSED | must copy and paste an existing annotation .TEST-PASSED | must check that text change can be undone/redone .TEST-PASSED | must check that right click doesn't select .TEST-PASSED | must check that aria-owns is correct .TEST-PASSED | must copy/paste .TEST-PASSED | must clear all .TEST-PASSED | must check that a paste has been undone .TEST-PASSED | must write a string in a FreeText editor .TEST-PASSED | must edit an annotation .TEST-PASSED | must check that a freetext is still there after having updated it and scroll the doc .TEST-PASSED | must check that a freetext is deleted .TEST-PASSED | must check that a freetext has the correct data .TEST-PASSED | must check that the undo deletion popup displays the correct message .TEST-PASSED | must check that the popup disappears when a new textbox is created .TEST-PASSED | must check that deleting a FreeText editor can be undone using the undo button 1747316503021 RemoteAgent WARN [NetworkRequest] Invalid asyncOpenTime=0 for channel [id: 573378134049, url: http://127.0.0.1:60886/build/generic/web/images/loading.svg], falling back to channelCreationTime=1747316502827000. 1747316503021 RemoteAgent WARN [NetworkRequest] Invalid asyncOpenTime=0 for channel [id: 573378134049, url: http://127.0.0.1:60886/build/generic/web/images/loading.svg], falling back to channelCreationTime=1747316502827000. .TEST-PASSED | must check the keyboard event is limited to the input .TEST-PASSED | must search xfa correctly .TEST-PASSED | must scroll to the search result text 1747316521153 RemoteAgent WARN [NetworkRequest] Invalid asyncOpenTime=0 for channel [id: 579820584993, url: http://127.0.0.1:60886/build/generic/web/images/loading.svg], falling back to channelCreationTime=1747316521119000. 1747316521153 RemoteAgent WARN [NetworkRequest] Invalid asyncOpenTime=0 for channel [id: 579820584993, url: http://127.0.0.1:60886/build/generic/web/images/loading.svg], falling back to channelCreationTime=1747316521119000. .TEST-PASSED | must highlight text in the right position .TEST-PASSED | must not add links when unnecessary .TEST-PASSED | must not repeatedly add link annotations redundantly .TEST-PASSED | must not add links that overlap even if the URLs are different .TEST-PASSED | must find links that overlap with search results .TEST-PASSED | must appropriately add link annotations when relevant .TEST-PASSED | must move an annotation .TEST-PASSED | must check that a stamp can be undone .TEST-PASSED | must check that the pasted image has an alt text .TEST-PASSED | must check that a stamp can be undone .TEST-PASSED | must check that a resized stamp has its canvas at the right position .TEST-PASSED | must check that a stamp can be undone .TEST-PASSED | must check that the alt-text button is here when pasting in the second tab .TEST-PASSED | must check that the annotation isn't unselected when an other finger taps on the screen .TEST-PASSED | must check that the dimensions change .TEST-PASSED | must check that the annotation is correctly restored .TEST-PASSED | must check that the alt-text flow is correctly implemented .TEST-PASSED | must update an existing alt-text .TEST-PASSED | must check that the opposite corner doesn't move .TEST-PASSED | must check that an added image stay within the page .TEST-PASSED | must check that a stamp editor isn't on top of the secondary toolbar .TEST-PASSED | must move on the last page .TEST-PASSED | must check that a stamp editor isn't resizing itself .TEST-PASSED | must switch to edit mode .TEST-PASSED | must check that the toggle button isn't displayed when there is no AI .TEST-PASSED | must check the new alt text flow (part 2) .TEST-PASSED | must check the new alt text flow (part 3) .TEST-PASSED | must check that the data in telemetry are correct .TEST-PASSED | must check the new alt text flow (part 1) .TEST-PASSED | must check if the canvas is still red .TEST-PASSED | must move on the second page .TEST-PASSED | must check that the popup disappears when a new image is inserted .TEST-PASSED | must check that deleting an image can be undone using the undo button .TEST-PASSED | must check that the undo deletion popup displays the correct message .TEST-PASSED | must load a SVG .TEST-PASSED | must load a SVG, delete it and undo .TEST-PASSED | must load a PNG which is bigger than a page .TEST-PASSED | must check that the stamp has its canvas at the right position .TEST-PASSED | must reset a formatted value after a change .TEST-PASSED | must update all the fields with the same value .TEST-PASSED | must check that the field is empty although its appearance contains a white space .TEST-PASSED | in a single page .TEST-PASSED | across multiple pages .TEST-PASSED | in per-character selection mode .TEST-PASSED | in per-word selection mode .TEST-PASSED | allows clicking the link after changing selection with the keyboard .TEST-PASSED | allows clicking the link after selecting .TEST-PASSED | allows selecting within the link .TEST-PASSED | allows selecting within the link when going backwards Dynamically enable window occlusion 0 WebDriver BiDi listening on ws://127.0.0.1:61230 1747316806987 RemoteAgent INFO Perform WebSocket upgrade for incoming connection from 127.0.0.1:61231 [GFX1-]: Failed to get D3D11VideoDevice: 0x80004002 [GFX1-]: Handling webrender error 5 !!! error running onStopped callback: TypeError: callback is not a function Dynamically enable window occlusion 1 .TEST-PASSED | doesn't jump when moving selection Dynamically enable window occlusion 0 WebDriver BiDi listening on ws://127.0.0.1:61241 1747316820095 RemoteAgent INFO Perform WebSocket upgrade for incoming connection from 127.0.0.1:61242 [GFX1-]: Failed to get D3D11VideoDevice: 0x80004002 [GFX1-]: Handling webrender error 5 Dynamically enable window occlusion 1 .TEST-PASSED | renders spans with the right size Failures: 1) PDF viewer Zoom origin supports specifiying a custom origin Message:  In firefox, zoom in: Expected 'Hence, recording and compiling a trace speculates that the path andtyping will be exactly as they were during recording for subsequentiterations of the loop.Every compiled trace contains all the guards (checks) requiredto validate the speculation. If one of the guards fails (if controlflow is different, or a value of a different type is generated), thetrace exits. If an exit becomes hot, the VM can record a branchtrace starting at the exit to cover the new path. In this way, the VMrecords a trace tree covering all the hot paths through the loop.Nested loops can be difficult to optimize for tracing VMs. Ina na¨ıve implementation, inner loops would become hot first, andthe VM would start tracing there. When the inner loop exits, theVM would detect that a different branch was taken. The VM wouldtry to record a branch trace, and find that the trace reaches not theinner loop header, but the outer loop header. At this point, the VMcould continue tracing until it reaches the inner loop heade ... to be 'guards'. Stack: at at file:///C:/pdfjs/botio-files-pdfjs/private/4e248dffc333727/test/integration/viewer_spec.mjs:87:14 at async Promise.all (index 0) at async UserContext. (file:///C:/pdfjs/botio-files-pdfjs/private/4e248dffc333727/test/integration/viewer_spec.mjs:62:7) Message:  In firefox, zoom out: Expected 'Hence, recording and compiling a trace speculates that the path andtyping will be exactly as they were during recording for subsequentiterations of the loop.Every compiled trace contains all the guards (checks) requiredto validate the speculation. If one of the guards fails (if controlflow is different, or a value of a different type is generated), thetrace exits. If an exit becomes hot, the VM can record a branchtrace starting at the exit to cover the new path. In this way, the VMrecords a trace tree covering all the hot paths through the loop.Nested loops can be difficult to optimize for tracing VMs. Ina na¨ıve implementation, inner loops would become hot first, andthe VM would start tracing there. When the inner loop exits, theVM would detect that a different branch was taken. The VM wouldtry to record a branch trace, and find that the trace reaches not theinner loop header, but the outer loop header. At this point, the VMcould continue tracing until it reaches the inner loop heade ... to be 'guards'. Stack: at at file:///C:/pdfjs/botio-files-pdfjs/private/4e248dffc333727/test/integration/viewer_spec.mjs:101:14 at async Promise.all (index 0) at async UserContext. (file:///C:/pdfjs/botio-files-pdfjs/private/4e248dffc333727/test/integration/viewer_spec.mjs:62:7) 2) FreeText Editor FreeText (multiselection) must select/unselect several editors and check copy, paste and delete operations Message:  ProtocolError: Waiting for selector `#pdfjs_internal_editor_7` failed: Runtime.callFunctionOn timed out. Increase the 'protocolTimeout' setting in launch/connect calls for a higher timeout if needed. Stack: at (file:///C:/pdfjs/botio-files-pdfjs/private/4e248dffc333727/node_modules/puppeteer-core/lib/esm/puppeteer/common/CallbackRegistry.js:97:14) at new Callback (file:///C:/pdfjs/botio-files-pdfjs/private/4e248dffc333727/node_modules/puppeteer-core/lib/esm/puppeteer/common/CallbackRegistry.js:101:16) at CallbackRegistry.create (file:///C:/pdfjs/botio-files-pdfjs/private/4e248dffc333727/node_modules/puppeteer-core/lib/esm/puppeteer/common/CallbackRegistry.js:20:26) at Connection._rawSend (file:///C:/pdfjs/botio-files-pdfjs/private/4e248dffc333727/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Connection.js:95:26) at CdpCDPSession.send (file:///C:/pdfjs/botio-files-pdfjs/private/4e248dffc333727/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/CdpSession.js:70:33) at #evaluate (file:///C:/pdfjs/botio-files-pdfjs/private/4e248dffc333727/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/ExecutionContext.js:360:50) at ExecutionContext.evaluateHandle (file:///C:/pdfjs/botio-files-pdfjs/private/4e248dffc333727/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/ExecutionContext.js:326:36) at IsolatedWorld.evaluateHandle (file:///C:/pdfjs/botio-files-pdfjs/private/4e248dffc333727/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/IsolatedWorld.js:86:30) at CdpJSHandle.evaluateHandle (file:///C:/pdfjs/botio-files-pdfjs/private/4e248dffc333727/node_modules/puppeteer-core/lib/esm/puppeteer/api/JSHandle.js:154:37) at WaitTask.rerun (file:///C:/pdfjs/botio-files-pdfjs/private/4e248dffc333727/node_modules/puppeteer-core/lib/esm/puppeteer/common/WaitTask.js:98:47) 312 specs, 2 failures Finished in 1774.869 seconds Randomized with seed 14879 (jasmine --random=true --seed=14879) JavaScript warning: http://127.0.0.1:60886/build/generic/build/pdf.sandbox.mjs, line 192: Script terminated by timeout at: dispatchEvent@http://127.0.0.1:60886/build/generic/build/pdf.sandbox.mjs:192:3 dispatchEventInSandbox/<@http://127.0.0.1:60886/build/generic/web/viewer.mjs:3177:30 setTimeout handler*dispatchEventInSandbox@http://127.0.0.1:60886/build/generic/web/viewer.mjs:3177:15 async*#dispatchPageClose@http://127.0.0.1:60886/build/generic/web/viewer.mjs:8411:50 async*setDocument/<@http://127.0.0.1:60886/build/generic/web/viewer.mjs:8174:36 dispatch@http://127.0.0.1:60886/build/generic/web/viewer.mjs:1398:15 setDocument@http://127.0.0.1:60886/build/generic/web/viewer.mjs:12169:21 close@http://127.0.0.1:60886/build/generic/web/viewer.mjs:15573:22 testingClose@http://127.0.0.1:60886/build/generic/web/viewer.mjs:16361:51 @pptr:evaluate;closeSinglePage%20(file%3A%2F%2F%2FC%3A%2Fpdfjs%2Fbotio-files-pdfjs%2Fprivate%2F4e248dffc333727%2Ftest%2Fintegration%2Ftest_utils.mjs%3A142%3A14):2:39 @pptr:evaluate;closeSinglePage%20(file%3A%2F%2F%2FC%3A%2Fpdfjs%2Fbotio-files-pdfjs%2Fprivate%2F4e248dffc333727%2Ftest%2Fintegration%2Ftest_utils.mjs%3A142%3A14):6:3 JavaScript error: resource://gre/actors/MLEngineParent.sys.mjs, line 469: Error: Unable to get the ML engine from Remote Settings. JavaScript error: resource://gre/actors/MLEngineParent.sys.mjs, line 1172: TypeError: can't access property "postMessage", this[#port] is null JavaScript error: resource://gre/actors/MLEngineParent.sys.mjs, line 1172: TypeError: can't access property "postMessage", this[#port] is null JavaScript error: resource://gre/actors/MLEngineParent.sys.mjs, line 1172: TypeError: can't access property "postMessage", this[#port] is null JavaScript error: resource://gre/actors/MLEngineParent.sys.mjs, line 1172: TypeError: can't access property "postMessage", this[#port] is null JavaScript error: resource://gre/actors/MLEngineParent.sys.mjs, line 1172: TypeError: can't access property "postMessage", this[#port] is null JavaScript error: resource://gre/actors/MLEngineParent.sys.mjs, line 1172: TypeError: can't access property "postMessage", this[#port] is null JavaScript error: resource://gre/actors/MLEngineParent.sys.mjs, line 1172: TypeError: can't access property "postMessage", this[#port] is null JavaScript error: resource://gre/actors/MLEngineParent.sys.mjs, line 1172: TypeError: can't access property "postMessage", this[#port] is null JavaScript error: resource://gre/actors/MLEngineParent.sys.mjs, line 1172: TypeError: can't access property "postMessage", this[#port] is null JavaScript error: resource://gre/actors/MLEngineParent.sys.mjs, line 1172: TypeError: can't access property "postMessage", this[#port] is null JavaScript error: resource://gre/actors/MLEngineParent.sys.mjs, line 1172: TypeError: can't access property "postMessage", this[#port] is null JavaScript error: resource://gre/actors/MLEngineParent.sys.mjs, line 1172: TypeError: can't access property "postMessage", this[#port] is null JavaScript warning: http://127.0.0.1:60886/build/generic/web/viewer.mjs, line 3177: Script terminated by timeout at: dispatchEventInSandbox/<@http://127.0.0.1:60886/build/generic/web/viewer.mjs:3177:22 setTimeout handler*dispatchEventInSandbox@http://127.0.0.1:60886/build/generic/web/viewer.mjs:3177:15 async*#dispatchPageClose@http://127.0.0.1:60886/build/generic/web/viewer.mjs:8411:50 async*setDocument/<@http://127.0.0.1:60886/build/generic/web/viewer.mjs:8174:36 dispatch@http://127.0.0.1:60886/build/generic/web/viewer.mjs:1398:15 setDocument@http://127.0.0.1:60886/build/generic/web/viewer.mjs:12169:21 close@http://127.0.0.1:60886/build/generic/web/viewer.mjs:15573:22 testingClose@http://127.0.0.1:60886/build/generic/web/viewer.mjs:16361:51 @pptr:evaluate;closeSinglePage%20(file%3A%2F%2F%2FC%3A%2Fpdfjs%2Fbotio-files-pdfjs%2Fprivate%2F4e248dffc333727%2Ftest%2Fintegration%2Ftest_utils.mjs%3A142%3A14):2:39 @pptr:evaluate;closeSinglePage%20(file%3A%2F%2F%2FC%3A%2Fpdfjs%2Fbotio-files-pdfjs%2Fprivate%2F4e248dffc333727%2Ftest%2Fintegration%2Ftest_utils.mjs%3A142%3A14):6:3 JavaScript error: resource://gre/actors/MLEngineParent.sys.mjs, line 1172: TypeError: can't access property "postMessage", this[#port] is null JavaScript warning: http://127.0.0.1:60886/build/generic/web/viewer.mjs, line 7814: Script terminated by timeout at: useRenderedPage/<@http://127.0.0.1:60886/build/generic/web/viewer.mjs:7814:5 BlobCallback*useRenderedPage@http://127.0.0.1:60886/build/generic/web/viewer.mjs:7812:24 promise callback*renderNextPage@http://127.0.0.1:60886/build/generic/web/viewer.mjs:7803:176 renderPages/renderNextPage/<@http://127.0.0.1:60886/build/generic/web/viewer.mjs:7804:23 JavaScript error: chrome://remote/content/shared/messagehandler/transports/js-window-actors/MessageHandlerFrameChild.sys.mjs, line 96: InvalidStateError: JSWindowActorChild.sendQuery: JSWindowActorChild cannot send at the moment JavaScript error: chrome://remote/content/shared/messagehandler/transports/js-window-actors/MessageHandlerFrameChild.sys.mjs, line 96: InvalidStateError: JSWindowActorChild.sendQuery: JSWindowActorChild cannot send at the moment JavaScript error: resource://gre/actors/MLEngineParent.sys.mjs, line 1172: TypeError: can't access property "postMessage", this[#port] is null JavaScript error: resource://gre/actors/MLEngineParent.sys.mjs, line 1172: TypeError: can't access property "postMessage", this[#port] is null JavaScript error: resource://gre/actors/MLEngineParent.sys.mjs, line 1172: TypeError: can't access property "postMessage", this[#port] is null JavaScript error: resource://gre/actors/MLEngineParent.sys.mjs, line 1172: TypeError: can't access property "postMessage", this[#port] is null JavaScript error: resource://gre/actors/MLEngineParent.sys.mjs, line 1172: TypeError: can't access property "postMessage", this[#port] is null JavaScript error: resource://autofill/FormAutofillChild.sys.mjs, line 630: TypeError: can't access property "length", changedSelectElements is undefined JavaScript warning: http://127.0.0.1:60886/build/generic/build/pdf.sandbox.mjs, line 192: Script terminated by timeout at: dispatchEvent@http://127.0.0.1:60886/build/generic/build/pdf.sandbox.mjs:192:3 dispatchEventInSandbox/<@http://127.0.0.1:60886/build/generic/web/viewer.mjs:3177:30 setTimeout handler*dispatchEventInSandbox@http://127.0.0.1:60886/build/generic/web/viewer.mjs:3177:15 async*#dispatchPageClose@http://127.0.0.1:60886/build/generic/web/viewer.mjs:8411:50 async*setDocument/<@http://127.0.0.1:60886/build/generic/web/viewer.mjs:8174:36 dispatch@http://127.0.0.1:60886/build/generic/web/viewer.mjs:1398:15 setDocument@http://127.0.0.1:60886/build/generic/web/viewer.mjs:12169:21 close@http://127.0.0.1:60886/build/generic/web/viewer.mjs:15573:22 testingClose@http://127.0.0.1:60886/build/generic/web/viewer.mjs:16361:51 @pptr:evaluate;closeSinglePage%20(file%3A%2F%2F%2FC%3A%2Fpdfjs%2Fbotio-files-pdfjs%2Fprivate%2F4e248dffc333727%2Ftest%2Fintegration%2Ftest_utils.mjs%3A142%3A14):2:39 @pptr:evaluate;closeSinglePage%20(file%3A%2F%2F%2FC%3A%2Fpdfjs%2Fbotio-files-pdfjs%2Fprivate%2F4e248dffc333727%2Ftest%2Fintegration%2Ftest_utils.mjs%3A142%3A14):6:3 Dynamically enable window occlusion 1 JavaScript error: resource://newtab/lib/TopSitesFeed.sys.mjs, line 1747: Error: Failed to load resource://newtab/lib/Screenshots.sys.mjs JavaScript error: resource://newtab/lib/TopSitesFeed.sys.mjs, line 1747: Error: Failed to load resource://newtab/lib/Screenshots.sys.mjs [12280:2628:0515/131740.999:ERROR:registration_request.cc(291)] Registration response error message: PHONE_REGISTRATION_ERROR [12280:2628:0515/131740.999:ERROR:registration_request.cc(291)] Registration response error message: PHONE_REGISTRATION_ERROR [12280:2628:0515/131741.424:ERROR:mcs_client.cc(700)] Error code: 401 Error message: Authentication Failed: wrong_secret [12280:2628:0515/131741.424:ERROR:mcs_client.cc(702)] Failed to log in to GCM, resetting connection. [12280:10840:0515/131741.807:ERROR:fm_registration_token_uploader.cc(179)] Client is missing for kUser scope [12280:2628:0515/131802.344:ERROR:registration_request.cc(291)] Registration response error message: DEPRECATED_ENDPOINT [12280:10840:0515/131812.026:ERROR:fm_registration_token_uploader.cc(179)] Client is missing for kUser scope [12280:2628:0515/131900.237:ERROR:registration_request.cc(291)] Registration response error message: DEPRECATED_ENDPOINT [12280:2628:0515/132035.853:ERROR:registration_request.cc(291)] Registration response error message: DEPRECATED_ENDPOINT [12280:2628:0515/132424.498:ERROR:registration_request.cc(291)] Registration response error message: DEPRECATED_ENDPOINT [12280:2628:0515/132752.526:ERROR:connection_factory_impl.cc(483)] ConnectionHandler failed with net error: -2 [12280:2628:0515/133212.354:ERROR:registration_request.cc(291)] Registration response error message: DEPRECATED_ENDPOINT [12280:2628:0515/134418.591:ERROR:connection_factory_impl.cc(483)] ConnectionHandler failed with net error: -2 Run 312 tests OHNOES! Some integration tests failed! 2 of 312 failed integration tests runtime was 1784.2 seconds [13:47:11] Finished 'runIntegrationTest' after 30 min [13:47:11] Finished 'integrationtest' after 30 min !botio_message:+ **Integration Tests:** FAILED >> Updating local PDF cache