Closed Bug 2081257 Opened 1 month ago Closed 27 days ago

Add PDF viewer tools to custom tabs

Categories

(GeckoView :: PDF Viewer, task)

All
Android
task

Tracking

(firefox161 fixed)

RESOLVED FIXED
161 Branch
Tracking Status
firefox161 --- fixed

People

(Reporter: olivia, Assigned: olivia)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fxdroid][group6])

Attachments

(1 external file)

PDF Viewer tools are not available in custom tabs, to test:

adb  shell am start -a android.intent.action.VIEW -p org.mozilla.fenix -d "https://mozilla.github.io/pdf.js/web/compressed.tracemonkey-pldi-09.pdf" --es android.support.customtabs.extra.SESSION x

When added, should adjust the UI test verifyPDFViewerInACustomTabTest as well to include a test.

Bug 1842558 has some oddness in this area as well with custom tabs and PWAs. Probably ought to be treated as a separate story.

See Also: → 1842558
Assignee: nobody → ohall

Patch enables the PDF viewers on custom tabs by moving initialization from
BrowserFragment to BaseBrowserFragment. Other changes are to support the shift (mostly accomodating
looking for a custom tab id).

Pushed by ohall@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/e77aa0c90530 https://hg.mozilla.org/integration/autoland/rev/f212af328e6c Add PDF viewer tools to custom tabs r=jonalmeida,android-reviewers,mobiletest-reviewers,aaronmt
Status: NEW → RESOLVED
Closed: 27 days ago
Resolution: --- → FIXED
Target Milestone: --- → 161 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: