Closed
Bug 1098246
Opened 11 years ago
Closed 11 years ago
Enhance browser_pdfjs_navigation.js to navigate using arrows keys
Categories
(Firefox :: PDF Viewer, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: cosmin-malutan, Assigned: cosmin-malutan)
References
Details
(Whiteboard: [pdfjs-c-testing])
Attachments
(1 file)
|
3.81 KB,
patch
|
mossop
:
review+
|
Details | Diff | Splinter Review |
https://moztrap.mozilla.org/manage/case/8120/
In order to have full coverage for the moztrap above:
Step 3, we have to navigate trough document using arrow keys, "Page Down", "Page Up", "End" and "Home" from keyboard.
https://github.com/mozilla/gecko-dev/blob/master/browser/extensions/pdfjs/test/browser_pdfjs_navigation.js
| Assignee | ||
Comment 1•11 years ago
|
||
I think we can have in same bug step 8:
> Click on "Presentation Mode" button to enter in full screen mode, allow to enter in full screen, scroll through pages and use context menu.
But this needs to be investigated.
| Assignee | ||
Comment 2•11 years ago
|
||
For this enhancement I had to first set the scale size to "page-fit" otherwise scrolling using keys won't change a full page.
When I try to click the presentation mode button I get the following warning in console:
>Request for full-screen was denied because Element.mozRequestFullScreen() was not called from inside a short running user-generated event handler
On the first search I found-out that we can't enter in fullscreen mode trough an automated script:
http://stackoverflow.com/questions/9454125/javascript-request-fullscreen-is-unreliable#answer-9747340
Now even if we can enter in the full-screen, we should test the navigation in fullscreen mode in a diffrent test becassue in fullscreen we can navigate only by using keys and whithout the naviagation elements(buttons/outline/page number). So it makes sense for me to take care of requirements from comment 0.
Assignee: nobody → cosmin.malutan
Status: NEW → ASSIGNED
Attachment #8533715 -
Flags: review?(dtownsend+bugmail)
Updated•11 years ago
|
Attachment #8533715 -
Flags: review?(dtownsend+bugmail) → review+
Comment 4•11 years ago
|
||
Keywords: checkin-needed
Whiteboard: [pdfjs-c-testing] → [pdfjs-c-testing][fixed-in-fx-team]
| Assignee | ||
Updated•11 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [pdfjs-c-testing][fixed-in-fx-team] → [pdfjs-c-testing]
You need to log in
before you can comment on or make changes to this bug.
Description
•