npm WARN deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. npm WARN deprecated lodash.clone@4.5.0: This package is deprecated. Use structuredClone instead. npm WARN deprecated whatwg-encoding@3.1.1: Use @exodus/bytes instead for a more spec-conformant and faster implementation npm WARN deprecated glob@7.2.3: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me npm WARN deprecated glob@11.1.0: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me added 903 packages, and audited 904 packages in 2m 189 packages are looking for funding run `npm fund` for details 6 moderate severity vulnerabilities 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. >> Deploying cached PDF files >> Deploying custom files >> Integration Tests [20:38:29] Using gulpfile C:\pdfjs\botio-files-pdfjs\private\12dce9dd347073e\gulpfile.mjs [20:38:29] Starting 'integrationtest'... [20:38:29] Starting 'setTestEnv'... [20:38:29] Finished 'setTestEnv' after 780 μs [20:38:29] Starting 'generic'... [20:38:29] Starting 'createBuildNumber'... ### Getting extension build number Extension build number: 179 [20:38:29] Finished 'createBuildNumber' after 122 ms [20:38:29] Starting 'locale'... ### Building localization files [20:38:29] Finished 'locale' after 272 ms [20:38:29] Starting 'scriptingGeneric'... [20:38:31] asset pdf.scripting.mjs 105 KiB [emitted] [javascript module] (name: main) webpack 5.105.4 compiled successfully [20:38:31] Finished 'scriptingGeneric' after 1.89 s [20:38:31] Starting 'createGeneric'... ### Creating generic viewer [20:38:37] asset pdf.sandbox.mjs 627 KiB [emitted] [javascript module] [big] (name: main) webpack 5.105.4 compiled successfully [20:38:42] asset pdf.mjs 796 KiB [emitted] [javascript module] [big] (name: main) webpack 5.105.4 compiled successfully [20:38:45] asset pdf.worker.mjs 2.17 MiB [emitted] [javascript module] [big] (name: main) webpack 5.105.4 compiled successfully [20:38:45] asset viewer.mjs 612 KiB [emitted] [javascript module] [big] (name: main) webpack 5.105.4 compiled successfully [20:38:46] Finished 'createGeneric' after 15 s [20:38:46] Finished 'generic' after 17 s [20:38:46] Starting 'runIntegrationTest'... ### Running integration tests Server running at http://127.0.0.1:50170/ Dynamically enable window occlusion 0 WebDriver BiDi listening on ws://127.0.0.1:50174 1774557532315 RemoteAgent INFO Perform WebSocket upgrade for incoming connection from 127.0.0.1:50175 [GFX1-]: Failed to get D3D11VideoDevice: 0x80004002 [GFX1-]: Handling webrender error 5 console.error: RSLoader: Failed to retrieve recipes from Remote Settings Message: Error: Could not sync nimbus-desktop-experiments: get-exception Stack: RemoteSettingsSyncError@resource://nimbus/lib/RemoteSettingsExperimentLoader.sys.mjs:1410:5 getRecipesFromCollection@resource://nimbus/lib/RemoteSettingsExperimentLoader.sys.mjs:677:13 [4656:5112:0326/203856.293:ERROR:services\device\public\cpp\geolocation\system_geolocation_source_win.cc:84] Failed to get IAppCapability statics: Class not registered (0x80040154) DevTools listening on ws://127.0.0.1:50179/devtools/browser/ecf3da83-d69e-47ac-beb5-bcae9ef9f8b4 Randomized with seed 12208 Started [4656:6752:0326/203903.071:ERROR:google_apis\gcm\engine\registration_request.cc:291] Registration response error message: DEPRECATED_ENDPOINT .TEST-PASSED | should check that the thumbnail has a blob src after cut and paste .TEST-PASSED | should keep all pasted pages after clicking Done without pasting .TEST-PASSED | should permanently remove the deleted page when the undo bar is closed .TEST-PASSED | should reorder thumbnails after dropping two non-adjacent pages [4656:6752:0326/203929.191:ERROR:google_apis\gcm\engine\registration_request.cc:291] Registration response error message: DEPRECATED_ENDPOINT .TEST-PASSED | should select the dropped page (bug 2010820) .TEST-PASSED | should show a drag marker when dragging a thumbnail .TEST-PASSED | should reorder thumbnails after dropping .TEST-PASSED | should reorder thumbnails after dropping at position 0 *.TEST-PASSED | should not delete pages when pressing Delete while in paste mode .TEST-PASSED | should show a Done button after copy and remove paste buttons when clicked .TEST-PASSED | should show the correct undo label after cutting one or two pages [4656:6752:0326/204012.432:ERROR:google_apis\gcm\engine\registration_request.cc:291] Registration response error message: DEPRECATED_ENDPOINT .TEST-PASSED | should show the correct undo label after deleting one or two pages .TEST-PASSED | should check that outlines are updated after moving pages .TEST-PASSED | should check that link is updated after moving pages .TEST-PASSED | should have only one current page after repeated cut/undo operations .TEST-PASSED | should dispatch editingstateschanged with correct payload on right-click with no selection .TEST-PASSED | should dispatch editingstateschanged with correct payload on right-click with some pages selected .TEST-PASSED | should dispatch editingstateschanged with canDeletePages false when all pages are selected .TEST-PASSED | should check if the drag marker width is non-zero .TEST-PASSED | should copy, paste and delete pages correctly .TEST-PASSED | should focus the newly pasted page after cut and paste (bug 2022516) .TEST-PASSED | should keep focus on a thumbnail after deleting pages .TEST-PASSED | should focus the newly pasted page after copy and paste (bug 2022516) .TEST-PASSED | should keep focus on a thumbnail after pasting pages .TEST-PASSED | should check that the pages has been cut and pasted correctly .TEST-PASSED | should hide the undo bar and restore the action bar after undoing a delete .TEST-PASSED | should deselect all thumbnails when the deselect button is clicked .TEST-PASSED | should update the status label when thumbnails are checked or unchecked [4656:6752:0326/204156.461:ERROR:google_apis\gcm\engine\registration_request.cc:291] Registration response error message: DEPRECATED_ENDPOINT [4656:5060:0326/204156.641:ERROR:services\on_device_model\public\cpp\service_client.cc:36] Unexpected on_device_model service disconnect: Error loading backend. .TEST-PASSED | should check that the pages are deleted .TEST-PASSED | should update the page count in the toolbar after deletion (bug 2018125) .TEST-PASSED | should hide the selection counter after dropping selected pages .TEST-PASSED | should delete pages with the Delete key .TEST-PASSED | should check that the pasted page has an ink annotation in the DOM .TEST-PASSED | should disable delete and cut entries when all pages are selected .TEST-PASSED | should have only one paste button next to the second thumbnail after cut, paste, and copy .TEST-PASSED | should check that the pages has been copied and pasted correctly .TEST-PASSED | should check that a page can be copied and pasted before the first thumbnail .TEST-PASSED | should check that the paste button spans have the right l10n id depending on their position .TEST-PASSED | should restore the post-move mapping when undoing a delete JavaScript warning: http://127.0.0.1:50170/build/generic/web/viewer.mjs, line 9878: Script terminated by timeout at: #closeMenu@http://127.0.0.1:50170/build/generic/web/viewer.mjs:9878:3 #onFocusOut@http://127.0.0.1:50170/build/generic/web/viewer.mjs:9908:22 .TEST-PASSED | should check that the pages are correctly extracted .TEST-PASSED | should keep the pasted thumbnail visible after dismissing the undo bar FTEST-UNEXPECTED-FAIL | should cut pages with Ctrl+X and paste them .TEST-PASSED | should copy pages with Ctrl+C and paste them .TEST-PASSED | should hide the new badge when a page is selected and show it again when deselected .TEST-PASSED | should hide the new badge when dragging an unselected page and restore it after .TEST-PASSED | should check that dragging is disabled when pasting FTEST-UNEXPECTED-FAIL | should check that a save is triggered .TEST-PASSED | should check if the search is working after copy and paste (bug 2023150) .TEST-PASSED | should check if the search is working after deleting pages (bug 2023150) .TEST-PASSED | should check if the search is working after moving pages .TEST-PASSED | should permanently remove the cut page when the undo bar is closed .TEST-PASSED | should render images in the text layer .TEST-PASSED | when right-clicking an image it should get the contents .TEST-PASSED | no white extra white around rotated image .TEST-PASSED | the three copies of the PDF.js logo have different rotations .TEST-PASSED | the three copies of the PDF.js logo have the same size .TEST-PASSED | no white border around black image .TEST-PASSED | must check that the editor an the mode are correct Dynamically enable window occlusion 0 WebDriver BiDi listening on ws://127.0.0.1:50229 1774557916196 RemoteAgent INFO Perform WebSocket upgrade for incoming connection from 127.0.0.1:50230 [GFX1-]: Failed to get D3D11VideoDevice: 0x80004002 [GFX1-]: Handling webrender error 5 console.error: RSLoader: Failed to retrieve recipes from Remote Settings Message: Error: Could not sync nimbus-desktop-experiments: get-exception Stack: RemoteSettingsSyncError@resource://nimbus/lib/RemoteSettingsExperimentLoader.sys.mjs:1410:5 getRecipesFromCollection@resource://nimbus/lib/RemoteSettingsExperimentLoader.sys.mjs:677:13 Dynamically enable window occlusion 1 .TEST-PASSED | renders spans with the right size Dynamically enable window occlusion 0 WebDriver BiDi listening on ws://127.0.0.1:50245 1774557924602 RemoteAgent INFO Perform WebSocket upgrade for incoming connection from 127.0.0.1:50246 [GFX1-]: Failed to get D3D11VideoDevice: 0x80004002 [GFX1-]: Handling webrender error 5 console.error: RSLoader: Failed to retrieve recipes from Remote Settings Message: Error: Could not sync nimbus-desktop-experiments: get-exception Stack: RemoteSettingsSyncError@resource://nimbus/lib/RemoteSettingsExperimentLoader.sys.mjs:1410:5 getRecipesFromCollection@resource://nimbus/lib/RemoteSettingsExperimentLoader.sys.mjs:677:13 Dynamically enable window occlusion 1 JavaScript error: , line 0: NotFoundError: No such JSProcessActor 'WebDriverWorkerListener' .TEST-PASSED | doesn't jump when moving selection .TEST-PASSED | doesn't jump when selection anchor is inside a highlight element [4656:6752:0326/204539.110:ERROR:google_apis\gcm\engine\registration_request.cc:291] Registration response error message: DEPRECATED_ENDPOINT .TEST-PASSED | allows selecting within the link .TEST-PASSED | allows selecting within the link when going backwards .TEST-PASSED | allows clicking the link after selecting .TEST-PASSED | allows clicking the link after changing selection with the keyboard .TEST-PASSED | in per-character selection mode .TEST-PASSED | in per-word selection mode .TEST-PASSED | in a single page .TEST-PASSED | across multiple pages .TEST-PASSED | must search xfa correctly .TEST-PASSED | must highlight text in the right position .TEST-PASSED | must scroll each match into the viewport when navigating search results .TEST-PASSED | must scroll to the search result text .TEST-PASSED | must scroll to the search result text .TEST-PASSED | must check the checkbox .TEST-PASSED | must check the checkbox .TEST-PASSED | must let checkboxes with the same name behave like radio buttons .TEST-PASSED | must check that the annotation storage is updated when leaving the tab .TEST-PASSED | must check that the stroke color is the one chosen from the color picker *.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 annotations are in the visual order .TEST-PASSED | must check that the clickable area has been rotated .TEST-PASSED | must check the content of the text field .TEST-PASSED | must reset all fields .TEST-PASSED | must reset some fields .TEST-PASSED | must check that the popup is shown .TEST-PASSED | must check that the popup has the correct visibility .TEST-PASSED | must check that the FreeText annotation has a popup .TEST-PASSED | must check that the text under a highlight annotation exist in the DOM .TEST-PASSED | must check that the text under an underline annotation exist in the DOM .TEST-PASSED | must check that the text under a strikeout annotation exist in the DOM .TEST-PASSED | must check that the text under a squiggly annotation exist in the DOM .TEST-PASSED | must let checkboxes with the same name behave like radio buttons .TEST-PASSED | must click on a link and check if it navigates to the correct page .TEST-PASSED | must check that keyboard scrolling works without having to give the focus to the viewer .TEST-PASSED | must check that canvas perfectly fits the page whatever the zoom level is .TEST-PASSED | must check that printing is disallowed .TEST-PASSED | must not double-decode the file param *.TEST-PASSED | must check that the SecondaryToolbar doesn't close between rotations .TEST-PASSED | properly cleans up old canvases from the dom .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 | sets the proper devicePixelRatio .TEST-PASSED | must render the detail view .TEST-PASSED | must not re-create the detail canvas .TEST-PASSED | must update the detail view .TEST-PASSED | must render the detail view .TEST-PASSED | must update the detail view .TEST-PASSED | must render the detail view .TEST-PASSED | must render the detail view .TEST-PASSED | must not re-create the detail canvas .TEST-PASSED | must update the detail view .TEST-PASSED | sets the proper devicePixelRatio .TEST-PASSED | is dispatched properly .TEST-PASSED | properly cleans up old canvases from the dom .TEST-PASSED | must check that we can zoom with the mouse wheel and pressed control key .TEST-PASSED | Check that the top right corner of the annotation is centered vertically .TEST-PASSED | must check that zoom commands don't scroll the document .TEST-PASSED | should navigate to the correct page when clicking an outline item with an SE entry .TEST-PASSED | must load and extract the filename correctly .TEST-PASSED | must extract the filename correctly .TEST-PASSED | should only toggle the clicked item's subtree, not the whole outline .TEST-PASSED | supports specifying a custom origin .TEST-PASSED | must scroll the selected outline item into the visible sidebar area .TEST-PASSED | should collapse all outline items on first double-click and expand them on second .TEST-PASSED | should restore all layer checkboxes to checked after unchecking them .TEST-PASSED | does not trigger CSS-only zoom below maxCanvasPixels .TEST-PASSED | test correctly configured .TEST-PASSED | triggers CSS-only zoom above maxCanvasPixels .TEST-PASSED | respects drawing delay when zooming out .TEST-PASSED | respects drawing delay when zooming in .TEST-PASSED | must check that a field value with a number with a comma has the correct value .TEST-PASSED | must check that a button and text field with a border are hidden .TEST-PASSED | must execute WillPrint and DidPrint actions .TEST-PASSED | must check that data-main-rotation is correct .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 checkboxes in a group .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 radio buttons .TEST-PASSED | must execute PageOpen and PageClose actions .TEST-PASSED | must check that a field has the correct formatted value .TEST-PASSED | must check that a field is empty .TEST-PASSED | must check that a value is correctly updated on a field and its siblings [4656:6752:0326/205129.998:ERROR:google_apis\gcm\engine\registration_request.cc:291] Registration response error message: DEPRECATED_ENDPOINT .TEST-PASSED | must check display .TEST-PASSED | must check page index .TEST-PASSED | must check that a field has the correct value when a choice is changed .TEST-PASSED | must execute WillSave and DidSave actions .TEST-PASSED | must update fields with the same name from JS .TEST-PASSED | must check input for US phone number (long) format .TEST-PASSED | must change colors .TEST-PASSED | must check field value is treated by default as a number .TEST-PASSED | must check that checkboxes are correctly resetted .TEST-PASSED | must check that invisible fields are made visible .TEST-PASSED | must check input for US phone number (short) format .TEST-PASSED | must compute sum of fields .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 that a field value with a number isn't changed .TEST-PASSED | must check that field value is correctly formatted .TEST-PASSED | must check input for US zip format .TEST-PASSED | must check that focus/blur callbacks aren't called .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 print securityHandler value in a text field .TEST-PASSED | must print authors in a text field .TEST-PASSED | must check that a field has the correct formatted value .TEST-PASSED | must check that charLimit is correctly set .TEST-PASSED | must check that a change on a radio implies the change on all the radio in the group .TEST-PASSED | must insert new elements .TEST-PASSED | must delete some element .TEST-PASSED | must print selected value in a text field .TEST-PASSED | must clear and restore list elements .TEST-PASSED | must check that the computed value is correct .TEST-PASSED | must check if printing is triggered when the document is open .TEST-PASSED | must check that field value is correctly updated .TEST-PASSED | must convert input to uppercase .TEST-PASSED | must check that an infinite loop is not triggered .TEST-PASSED | must check that blur callback is called .TEST-PASSED | must check that date entered by the user is consistent .TEST-PASSED | must check the number has the correct number of decimals .TEST-PASSED | must check that first text field has focus .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 hit ESC .TEST-PASSED | must format the field with 2 digits and leave field with a TAB .TEST-PASSED | must format the field with 2 digits on key ENTER .TEST-PASSED | must show a text field and then make in invisible when content is removed .TEST-PASSED | must reset all .TEST-PASSED | must format the field with 2 digits and leave field with a click .TEST-PASSED | must check that the inputs are correct .TEST-PASSED | must check that the product is computed although a callback threw .TEST-PASSED | must check that PageOpen/PageClose actions are correctly executed .TEST-PASSED | must check the properties of the event .TEST-PASSED | must check that the inputs are correct .TEST-PASSED | must check that the product are null .TEST-PASSED | must check that the inputs are correct .TEST-PASSED | must check that date entered are in the input .TEST-PASSED | must check that only one radio is selected .TEST-PASSED | must check the zip code is correctly formatted .TEST-PASSED | must click on widget annotations .TEST-PASSED | must check the popup position in the DOM .TEST-PASSED | must show a popup on mouseover .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 | must not add links when unnecessary .TEST-PASSED | must appropriately add link annotations when relevant .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 | should navigate with the keyboard .TEST-PASSED | should navigate checkboxes with arrow keys .TEST-PASSED | should focus checkboxes with Tab key .TEST-PASSED | should open with Enter key and remain open .TEST-PASSED | should open with Space key and remain open .TEST-PASSED | should render thumbnails without errors .TEST-PASSED | should have accessible label on resizer .TEST-PASSED | should scroll the view .TEST-PASSED | should show the manage button in thumbnail view and hide it in outline view .TEST-PASSED | should have a title on the checkbox .TEST-PASSED | must navigate menus with ArrowDown and Tab keys .TEST-PASSED | must produce text spans in the text layer .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 that it's possible to highlight a part of a link .TEST-PASSED | must check that an existing highlight is ignored on hovering .TEST-PASSED | must check that the quadpoints for an highlight are almost correct .TEST-PASSED | must check that it's possible to highlight a part of a form .TEST-PASSED | must check that the quadpoints for an highlight are almost correct .TEST-PASSED | must check that some text has been highlighted .TEST-PASSED | must check that the toolbar is usable .TEST-PASSED | must check that the color is correctly updated .TEST-PASSED | must check the thickness input state .TEST-PASSED | must check that a highlight can be undone .TEST-PASSED | must check that the highlight is created .TEST-PASSED | must check that there is no scroll because of focus .TEST-PASSED | must check that the freetext annotation can be reached .TEST-PASSED | must check that highlight is at the correct position *.TEST-PASSED | must check that there is no scroll because of focus .TEST-PASSED | must check that focus move from an editor to an other .TEST-PASSED | must delete an existing annotation and its popup .TEST-PASSED | must check that the highlights are correctly hidden/shown .TEST-PASSED | must enable & disable highlight mode successfully .TEST-PASSED | must check that we can use the keyboard to select a color .TEST-PASSED | must check that no extra annotations are added while in editing mode .TEST-PASSED | must check that no extra annotations are added while in reading mode .TEST-PASSED | must check that the highlight has been deleted .TEST-PASSED | must check that a highlight can be undone .TEST-PASSED | must change the color of an highlight .TEST-PASSED | must check that a text highlight don't move when arrows are pressed .TEST-PASSED | must highlight with red color .TEST-PASSED | must check that a message is sent on selection .TEST-PASSED | must check that clicking on the highlight floating button triggers an highlight .TEST-PASSED | must check that the popup disappears when the close button is clicked .TEST-PASSED | must display correct message for multiple highlights .TEST-PASSED | must check that the popup disappears when the user clicks on the print button .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 deleting a highlight can be undone using the undo button .TEST-PASSED | must check that the popup disappears when the undo button is clicked .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 check that the popup disappears when highlight mode is disabled .TEST-PASSED | must check that the popup disappears when a new annotation is created .TEST-PASSED | must check that the popup disappears when the print dialog is opened .TEST-PASSED | must check that the undo deletion popup displays the correct message .TEST-PASSED | must check that the popup disappears when a PDF is drag-and-dropped .TEST-PASSED | must highlight with red color .TEST-PASSED | must check that the highlight editor is unselected .TEST-PASSED | must check that the dropdown is hidden .TEST-PASSED | must change the color of a free highlight *.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 it's possible to draw on an image in a struct tree .TEST-PASSED | must check the editor coordinates .TEST-PASSED | must scroll and check that the highlight is selected .TEST-PASSED | must check that a highlight can be undone .TEST-PASSED | must highlight with red color .TEST-PASSED | must scroll and change the color without exceptions .TEST-PASSED | must check the focus order .TEST-PASSED | must be correctly serialized .TEST-PASSED | must check that the thickness is correctly updated .TEST-PASSED | must scroll and check that the draw layer is there .TEST-PASSED | must check that editor is unselected when the mouse is down on the text layer .TEST-PASSED | must update an existing alt-text .TEST-PASSED | must check that the annotation is correctly restored .TEST-PASSED | must check that a stamp can be undone .TEST-PASSED | must move a stamp annotation from page 1 to page 2 .TEST-PASSED | must check that the alt-text button is here when pasting in the second tab .TEST-PASSED | must move on the last page .TEST-PASSED | must check that a stamp editor isn't on top of the secondary toolbar .TEST-PASSED | must check that the stamp has its canvas at the right position .TEST-PASSED | must check that a resized stamp has its canvas at the right position .TEST-PASSED | must load a SVG, delete it and undo .TEST-PASSED | must load a SVG .TEST-PASSED | must load a PNG which is bigger than a page .TEST-PASSED | must move an annotation .TEST-PASSED | must check that a stamp can be undone .TEST-PASSED | must check that a stamp can be undone .TEST-PASSED | must check that the annotation isn't unselected when an other finger taps on the screen .TEST-PASSED | must check that a stamp editor isn't resizing itself .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 check that the toggle button isn't displayed when there is no AI .TEST-PASSED | must move on the second page .TEST-PASSED | must check that the dimensions change .TEST-PASSED | must check the new alt text flow (part 2) .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 the new alt text flow (part 3) .TEST-PASSED | must switch to edit mode .TEST-PASSED | must check that the pasted image has an alt text .TEST-PASSED | must check if the canvas is still red .TEST-PASSED | must check that the alt-text flow is correctly implemented .TEST-PASSED | must check that an added image stay within the page .TEST-PASSED | must check that the opposite corner doesn't move .TEST-PASSED | must check that the MathML is correctly inserted .TEST-PASSED | must check that span hasn't an 'undefined' id .TEST-PASSED | must check that the table has the right structure .TEST-PASSED | must check that the MathML is not duplicated in the struct tree .TEST-PASSED | must check that the MathML is correctly inserted .TEST-PASSED | must check that some spans are linked to some annotations thanks to aria-owns .TEST-PASSED | must check that the text in text layer is aria-hidden .TEST-PASSED | must check that the text fields are in the visual order .TEST-PASSED | must check that there's no alt-text on the MathML node .TEST-PASSED | must check that some artifacts are aria-hidden .TEST-PASSED | must check the id in aria-controls .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 the MathML is correctly inserted .TEST-PASSED | must check that an image is correctly inserted in the text layer .TEST-PASSED | must build structure that maps to text layer .TEST-PASSED | must check that the struct tree is still there after zooming .TEST-PASSED | must check that the editor layer is disabled .TEST-PASSED | must check that a draw can be undone .TEST-PASSED | must check that a draw can be undone .TEST-PASSED | must draw and move with the keyboard .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 .TEST-PASSED | must check that the ink editor is committed .TEST-PASSED | must draw something .TEST-PASSED | must check that the first annotation is correctly associated with its SVG .TEST-PASSED | must check that the stroke width has been updated after zooming .TEST-PASSED | must check that the page position remains the same after drawing .TEST-PASSED | must update an existing annotation .TEST-PASSED | must check that the focus isn't taken .TEST-PASSED | must check that the undo deletion popup displays the correct message .TEST-PASSED | must check that the popup disappears when a new drawing is created .TEST-PASSED | must check that deleting a drawing can be undone using the undo button .TEST-PASSED | must move an annotation .TEST-PASSED | must check that when we start to draw then the editors are unselected .TEST-PASSED | must check that the color has been changed .TEST-PASSED | must check that the deletion has been undid .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 move the caret down and check the selection .TEST-PASSED | must check that the focus is moved on the comment button .TEST-PASSED | must check that the focus is moved on the comment button .TEST-PASSED | must check that the focus is moved on the editor once the popup is deleted .TEST-PASSED | must check that the popup is deleted when the editor is .TEST-PASSED | must check that comment button isn't in the annotation toolbar .TEST-PASSED | must check that deleting a comment can be undone using the undo button .TEST-PASSED | must check that deleting a comment can be undone using Ctrl+Z .TEST-PASSED | must check that the comment popup is hidden after redo .TEST-PASSED | must check that the undo deletion popup displays 'Comment removed' message .TEST-PASSED | must check that the undo bar closes when clicking the close button .TEST-PASSED | must check that the comment sidebar is resizable .TEST-PASSED | must check that comments can be selected/unselected .TEST-PASSED | must check that the comment sidebar is resizable with the keyboard .TEST-PASSED | must check that comments are in chronological order .TEST-PASSED | must close a comment popup on click outside .TEST-PASSED | must close a comment popup on escape .TEST-PASSED | must close a comment popup on click on other highlight .TEST-PASSED | must check that the comment is saved .TEST-PASSED | must check that the comment button is added in the annotation layer .TEST-PASSED | must check that the button is removed in the annotation layer .TEST-PASSED | must check that the comment button has a title .TEST-PASSED | must set the right color to the comment button .TEST-PASSED | must set the comment button at the right place .TEST-PASSED | must set the comment dialog in the viewport (RTL) .TEST-PASSED | must check that the annotation is focused .TEST-PASSED | must check that the annotations are in the right order .TEST-PASSED | must set the comment dialog in the viewport (LTR) .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 take the media box into account .TEST-PASSED | must check that freetexts are deleted .TEST-PASSED | must check that pasting html just keep the text .TEST-PASSED | must check that a freetext has the correct data .TEST-PASSED | must check that a freetext is still there after having updated it and scroll the doc .TEST-PASSED | must check the keyboard event is limited to the input .TEST-PASSED | must check that the alignment is correct .TEST-PASSED | must check that consecutive white spaces are preserved when a freetext is edited .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 .TEST-PASSED | must check that deleting a FreeText editor can be undone using the undo button .TEST-PASSED | must check that the popup disappears when a new textbox is created .TEST-PASSED | must check that the undo deletion popup displays the correct message .TEST-PASSED | must check that aria-owns is correct .TEST-PASSED | must check that the parameters are updated when undoing/redoing .TEST-PASSED | must update an existing annotation and show the right popup .TEST-PASSED | must check that the text color is the one chosen from the color picker .TEST-PASSED | must open an existing rotated annotation and check that the position are good .TEST-PASSED | must check that a freetext is deleted .TEST-PASSED | must not remove an empty annotation .TEST-PASSED | must hide the popup when editing .TEST-PASSED | must check that we switch to FreeText in clicking on a FreeText annotation .TEST-PASSED | must check that an added Freetext can be edited in double clicking on it .TEST-PASSED | must check that consecutive white spaces are preserved when a freetext is edited .TEST-PASSED | must check that the dimensions of a rotated annotations are correct after a font size change .TEST-PASSED | must move an annotation .TEST-PASSED | must check that the annotations aren't displayed after scrolling .TEST-PASSED | must check that selected editor stay selected .TEST-PASSED | must check that the focus is on the right page .TEST-PASSED | must delete invisible annotations .TEST-PASSED | must check that the parent structTree id is correct .TEST-PASSED | must check that the annotation layer is visible after a rotation .TEST-PASSED | must keep the focus .TEST-PASSED | must open an existing annotation and check that the position are good .TEST-PASSED | must select/unselect several editors and check copy, paste and delete operations .TEST-PASSED | must check that a paste has been undone .TEST-PASSED | must check that text change can be undone/redone .TEST-PASSED | must copy/paste .TEST-PASSED | must clear all .TEST-PASSED | must write a string in a FreeText editor .TEST-PASSED | must check that right click doesn't select .TEST-PASSED | must copy/paste and check color .TEST-PASSED | must check that the shortcuts are working correctly .TEST-PASSED | must check that all lines are correctly exported .TEST-PASSED | must serialize invisible annotations .TEST-PASSED | must check the text can be selected with the mouse .TEST-PASSED | must check that the buttons work correctly .TEST-PASSED | must check that first annotation is selected without errors .TEST-PASSED | must update an existing annotation but not an empty one .TEST-PASSED | must check that a deleted freetext can be restored .TEST-PASSED | must check that a freetext can be undone .TEST-PASSED | must delete an existing annotation with a popup .TEST-PASSED | must delete an existing annotation .TEST-PASSED | must check that a freetext can be undone .TEST-PASSED | must move several annotations .TEST-PASSED | must copy and paste an existing annotation .TEST-PASSED | must edit an annotation .TEST-PASSED | must check that the document properties dialog has the correct information .TEST-PASSED | must check that the signature has the correct aspect ratio .TEST-PASSED | must check that the signature has the correct color with the dark theme .TEST-PASSED | must check that the signature has the correct color with the light theme .TEST-PASSED | must check that the error panel is correctly removed .TEST-PASSED | must check adding an image .TEST-PASSED | must check that the editor has been removed when the dialog is cancelled .TEST-PASSED | must check copy and paste .TEST-PASSED | must check drawing with the mouse .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 an error is displayed with a monochrome image .TEST-PASSED | must check that the signature save checkbox is disabled if storage is full Failures: 1) Reorganize Pages View Keyboard shortcuts for cut and copy (bug 2018139) should cut pages with Ctrl+X and paste them Message: Error: Waiting failed Stack: error properties: Object({ cause: ProtocolError: script.callFunction timed out. Increase the 'protocolTimeout' setting in launch/connect calls for a higher timeout if needed. }) at (file:///C:/pdfjs/botio-files-pdfjs/private/12dce9dd347073e/node_modules/puppeteer-core/lib/esm/puppeteer/common/WaitTask.js:21:21) at new WaitTask (file:///C:/pdfjs/botio-files-pdfjs/private/12dce9dd347073e/node_modules/puppeteer-core/lib/esm/puppeteer/common/WaitTask.js:27:16) at BidiFrameRealm.waitForFunction (file:///C:/pdfjs/botio-files-pdfjs/private/12dce9dd347073e/node_modules/puppeteer-core/lib/esm/puppeteer/api/Realm.js:22:26) at BidiFrame.waitForFunction (file:///C:/pdfjs/botio-files-pdfjs/private/12dce9dd347073e/node_modules/puppeteer-core/lib/esm/puppeteer/api/Frame.js:580:43) at BidiFrame. (file:///C:/pdfjs/botio-files-pdfjs/private/12dce9dd347073e/node_modules/puppeteer-core/lib/esm/puppeteer/util/decorators.js:101:27) at BidiPage.waitForFunction (file:///C:/pdfjs/botio-files-pdfjs/private/12dce9dd347073e/node_modules/puppeteer-core/lib/esm/puppeteer/api/Page.js:1447:37) at waitForHavingContents (file:///C:/pdfjs/botio-files-pdfjs/private/12dce9dd347073e/test/integration/reorganize_pages_spec.mjs:89:15) at async file:///C:/pdfjs/botio-files-pdfjs/private/12dce9dd347073e/test/integration/reorganize_pages_spec.mjs:1143:11 at async Promise.all (index 0) at async UserContext. (file:///C:/pdfjs/botio-files-pdfjs/private/12dce9dd347073e/test/integration/reorganize_pages_spec.mjs:1123:7) Caused by: ProtocolError: script.callFunction timed out. Increase the 'protocolTimeout' setting in launch/connect calls for a higher timeout if needed. at (file:///C:/pdfjs/botio-files-pdfjs/private/12dce9dd347073e/node_modules/puppeteer-core/lib/esm/puppeteer/common/CallbackRegistry.js:99:14) at new Callback (file:///C:/pdfjs/botio-files-pdfjs/private/12dce9dd347073e/node_modules/puppeteer-core/lib/esm/puppeteer/common/CallbackRegistry.js:103:16) at CallbackRegistry.create (file:///C:/pdfjs/botio-files-pdfjs/private/12dce9dd347073e/node_modules/puppeteer-core/lib/esm/puppeteer/common/CallbackRegistry.js:22:26) at BidiConnection.send (file:///C:/pdfjs/botio-files-pdfjs/private/12dce9dd347073e/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/Connection.js:70:32) at Session.send (file:///C:/pdfjs/botio-files-pdfjs/private/12dce9dd347073e/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/core/Session.js:134:42) at Session. (file:///C:/pdfjs/botio-files-pdfjs/private/12dce9dd347073e/node_modules/puppeteer-core/lib/esm/puppeteer/util/decorators.js:101:27) at WindowRealm.callFunction (file:///C:/pdfjs/botio-files-pdfjs/private/12dce9dd347073e/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/core/Realm.js:92:51) at WindowRealm. (file:///C:/pdfjs/botio-files-pdfjs/private/12dce9dd347073e/node_modules/puppeteer-core/lib/esm/puppeteer/util/decorators.js:101:27) at #evaluate (file:///C:/pdfjs/botio-files-pdfjs/private/12dce9dd347073e/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/Realm.js:134:42) at BidiFrameRealm.evaluateHandle (file:///C:/pdfjs/botio-files-pdfjs/private/12dce9dd347073e/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/Realm.js:101:36) 2) Reorganize Pages View Save a pdf should check that a save is triggered Message: ProtocolError: script.callFunction 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/12dce9dd347073e/node_modules/puppeteer-core/lib/esm/puppeteer/common/CallbackRegistry.js:99:14) at new Callback (file:///C:/pdfjs/botio-files-pdfjs/private/12dce9dd347073e/node_modules/puppeteer-core/lib/esm/puppeteer/common/CallbackRegistry.js:103:16) at CallbackRegistry.create (file:///C:/pdfjs/botio-files-pdfjs/private/12dce9dd347073e/node_modules/puppeteer-core/lib/esm/puppeteer/common/CallbackRegistry.js:22:26) at BidiConnection.send (file:///C:/pdfjs/botio-files-pdfjs/private/12dce9dd347073e/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/Connection.js:70:32) at Session.send (file:///C:/pdfjs/botio-files-pdfjs/private/12dce9dd347073e/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/core/Session.js:134:42) at Session. (file:///C:/pdfjs/botio-files-pdfjs/private/12dce9dd347073e/node_modules/puppeteer-core/lib/esm/puppeteer/util/decorators.js:101:27) at WindowRealm.callFunction (file:///C:/pdfjs/botio-files-pdfjs/private/12dce9dd347073e/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/core/Realm.js:92:51) at WindowRealm. (file:///C:/pdfjs/botio-files-pdfjs/private/12dce9dd347073e/node_modules/puppeteer-core/lib/esm/puppeteer/util/decorators.js:101:27) at #evaluate (file:///C:/pdfjs/botio-files-pdfjs/private/12dce9dd347073e/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/Realm.js:134:42) at BidiFrameRealm.evaluate (file:///C:/pdfjs/botio-files-pdfjs/private/12dce9dd347073e/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/Realm.js:104:36) Pending: 1) Reorganize Pages View Drag & Drop should reorder thumbnails after dropping two adjacent pages Fails consistently (issue #20814). 2) The pen-drawn shape must maintain correct curvature regardless of the page it is drawn on or whether the curve's endpoint lies within or beyond the page boundaries must retain correct curvature regardless of the page or the curve's endpoint location Chrome on Windows doesn't allow having elements outside the viewport. 3) PDF viewer Pinch-zoom keeps the content under the pinch centre fixed on the screen Touch events are not supported on devices without touch screen in Firefox. 4) Highlight Editor Select text with the pointer hovering an existing highlight must check that an existing highlight is ignored on hovering Fails consistently on Windows (issue #20136). 5) Highlight Editor Highlight and caret browsing must check that an highlight can be left with the keyboard Caret browsing mode cannot be used in Chrome. 465 specs, 2 failures, 5 pending specs Finished in 2731.998 seconds Randomized with seed 12208 (jasmine --random=true --seed=12208) Dynamically enable window occlusion 1 JavaScript warning: http://127.0.0.1:50170/build/generic/web/viewer.mjs, line 8111: Script terminated by timeout at: #pageHide@http://127.0.0.1:50170/build/generic/web/viewer.mjs:8111:3 Run 460 tests OHNOES! Some integration tests failed! 2 of 460 failed integration tests runtime was 2739.6 seconds [21:24:31] 'runIntegrationTest' errored after 46 min [21:24:31] Error: Running integration tests failed. at ChildProcess. (file:///C:/pdfjs/botio-files-pdfjs/private/12dce9dd347073e/gulpfile.mjs:733:16) at ChildProcess.emit (node:events:518:28) at ChildProcess.emit (node:domain:552:15) at maybeClose (node:internal/child_process:1101:16) at ChildProcess._handle.onexit (node:internal/child_process:304:5) at Process.callbackTrampoline (node:internal/async_hooks:130:17) [21:24:31] 'integrationtest' errored after 46 min !botio_message:+ **Integration Tests:** FAILED >> Updating local PDF cache