Closed Bug 1742648 Opened 4 years ago Closed 3 years ago

Remove special case for handling pdf in subframes (such as printing a google document/sheet) so that they open directly in the pdf viewer

Categories

(Firefox :: Downloads Panel, enhancement)

enhancement
Points:
1

Tracking

()

VERIFIED FIXED
102 Branch
Tracking Status
firefox101 --- verified
firefox102 --- verified

People

(Reporter: enndeakin, Assigned: enndeakin)

References

(Blocks 1 open bug, Regressed 1 open bug)

Details

(Whiteboard: [fidefe-mr11-downloads])

Attachments

(1 file)

No description provided.
Blocks: 1733587
Whiteboard: [fidefe-mr11-downloads]
No longer blocks: 1733587
Depends on: 1719895

Apparently, the expected result here would be that Gdoc/Gsheet Print as pdf would not be treated as a download case, but rather directly opening as in-content attachment: assuming this applies only for the default action: Open In Firefox.

Actual Result now, given 101.0a1 (2022-04-13) is that the print Gdoc/Gsheet will trigger a download, afterwhich the file will be opened with the set handler, regardless if the action for PDF is set to be Open In Firefox. (bug 1719892 and bug 1719895 didn't fix this instance)

With bug 1756980 fixed, I think we can remove this specialcase now...

Flags: needinfo?(gijskruitbosch+bugs)
See Also: → 1762868
Assignee: nobody → enndeakin
Status: NEW → ASSIGNED
Summary: Figure out why printing a google document/sheet needs to be special cased to download instead of opening directly in the pdf viewer → Remove special case for handling pdf in subframes (such as printing a google document/sheet) so that they open directly in the pdf viewer
Flags: needinfo?(gijskruitbosch+bugs)
Pushed by neil@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0ac722cbe7c1 remove special case for downloading pdfs in subframes, r=mtigley
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 102 Branch
Points: --- → 1
Depends on: 1756980

Comment on attachment 9274656 [details]
Bug 1742648, remove special case for downloading pdfs in subframes, r=mtigley

Beta/Release Uplift Approval Request

  • User impact if declined: PDFs that open in subframes such as print/export from google doc/sheet/etc are downloaded into a separate tab rather than opened inline using the internal pdf viewer
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: No
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): This removes a workaround that was fixed by bug 1756980. That change for that bug is already in 101.
  • String changes made/needed: None
  • Is Android affected?: No
Attachment #9274656 - Flags: approval-mozilla-beta?

Comment on attachment 9274656 [details]
Bug 1742648, remove special case for downloading pdfs in subframes, r=mtigley

Approved for 101.0b4.

Attachment #9274656 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Flags: qe-verify+
Flags: needinfo?(adrian.florinescu)
QA Whiteboard: [qa-triaged]

Hello,

Managed to reproduce this issue with the affected build 101.0a1(20220412213655) on Windows 11.

Confirming this issue as verified fixed with 101.0b4(20220508185621) and 102.0a1(20220508190220) using macOS 12, Windows 11 and Ubuntu 20.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
Flags: needinfo?(adrian.florinescu)
Regressions: 1774427
No longer regressions: 1774427
Regressions: 1774427
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: