pdf.js/test/integration
Calixte Denizet 0520f2f0cb [Editor] In caret browsing mode, allow to select in pressing shift and arrow down (bug 1881802)
In implementing caret browsing mode in pdf.js, I didn't notice that selectstart isn't always triggered.
So this patch removes the use of selectstart and rely only on selectionchange.
In order to simplify the selection management, the selection code is moved in the AnnotationUIManager:
 - it simplifies the code;
 - it allows to have only one listener for selectionchange instead of having one by visible page
   for selectstart.
I had to add a delay in the integration tests for highlighting (there's a comment with an explanation),
it isn't really nice, but it's the only way I found and in real life there always is a delay between
press and release.
2024-02-25 15:35:30 +01:00
..
accessibility_spec.mjs Convert the integration test-files to JavaScript modules 2023-10-12 13:18:20 +02:00
annotation_spec.mjs Update puppeteer to version 22.0.0 2024-02-10 19:05:36 +01:00
caret_browsing_spec.mjs [Editor] Add the possibility to create an highlight from the context menu when some text is selected (bug 1867739) 2024-02-23 16:18:03 +01:00
copy_paste_spec.mjs Fix keyboard shortcuts on mac and for some tests make sure that all 2023-10-27 16:09:35 +02:00
find_spec.mjs Prevent duplicate names in unit/integration tests 2024-02-11 11:45:09 +01:00
freetext_editor_spec.mjs [Editor] Add the possibility to create an highlight from the context menu when some text is selected (bug 1867739) 2024-02-23 16:18:03 +01:00
highlight_editor_spec.mjs [Editor] In caret browsing mode, allow to select in pressing shift and arrow down (bug 1881802) 2024-02-25 15:35:30 +01:00
ink_editor_spec.mjs Use page.evaluateHandle when we want to await on document promises in integration tests 2023-12-07 17:00:12 +01:00
scripting_spec.mjs Update puppeteer to version 22.0.0 2024-02-10 19:05:36 +01:00
stamp_editor_spec.mjs Use page.evaluateHandle when we want to await on document promises in integration tests 2023-12-07 17:00:12 +01:00
test_utils.mjs Update puppeteer to version 22.0.0 2024-02-10 19:05:36 +01:00
text_field_spec.mjs Remove terminal white spaces when extracting text from annotation appearances 2024-01-09 10:42:53 +01:00