Open Bug 1669111 Opened 4 years ago Updated 2 years ago

Add pdf highlighter tests

Categories

(Firefox :: PDF Viewer, task, P3)

task

Tracking

()

People

(Reporter: mcccs, Unassigned)

Details

(Whiteboard: [pdfjs-testing])

For example, verify if the counts found before and after highlighting are equal

What other things related to highlighting/pdf text find need tests?

Flags: needinfo?(enndeakin)

Pdf specific find doesn't have much in the way of tests as far as I know. That said, I believe it doesn't use the pdfjs find when used in firefox and instead uses the firefox findbar, which does have tests.

When enabling highlighting, the current and match count should be the same, and the current highlight should redraw properly as one selects the previous and next matches. The 'reached end of page' message should appear when wrapping and 'no matches' should be displayed when there aren't any matches.

Bug covers some changes I found that would be needed to properly support finding in nested frames.

Flags: needinfo?(enndeakin)
Status: UNCONFIRMED → NEW
Type: enhancement → task
Ever confirmed: true
Priority: -- → P3
Whiteboard: [pdfjs-testing]
You need to log in before you can comment on or make changes to this bug.