Closed Bug 1447051 Opened 6 years ago Closed 6 years ago

about:preferences shows "Preview on Nightly" when 'Disable built-in PDF viewer' policy is active

Categories

(Firefox :: Enterprise Policies, defect)

60 Branch
defect
Not set
normal

Tracking

()

VERIFIED FIXED
Firefox 61
Tracking Status
firefox60 --- verified
firefox61 --- verified

People

(Reporter: Abe_LV, Assigned: bytesized)

References

Details

Attachments

(1 file)

Steps to reproduce:
screen capture- https://testing-1.tinytake.com/sf/MjQ1MDAwNF83NDAxNjIw

1- Use  "DisableBuiltinPDFViewer": true policy
2- Go to about:preferences ->Applications
3- observe the action for the PDF content type

Actual result:
"Preview in Nightly" option is still available

Expected Result:

"Preview in Nightly" option should be hidden

Note- a previously opened pdf tab becomes a blank page when the policy is set to active.
Flags: needinfo?(ksteuber)
Assignee: nobody → ksteuber
Flags: needinfo?(ksteuber)
Attachment #8960283 - Flags: review?(felipc)
Attachment #8960283 - Flags: review?(bdahl)
Comment on attachment 8960283 [details]
Bug 1447051 - about:preferences should not offer to Preview PDFs when the DisableBuiltinPDFViewer policy is active

https://reviewboard.mozilla.org/r/229048/#review234814
Attachment #8960283 - Flags: review?(felipc) → review+
Comment on attachment 8960283 [details]
Bug 1447051 - about:preferences should not offer to Preview PDFs when the DisableBuiltinPDFViewer policy is active

https://reviewboard.mozilla.org/r/229048/#review234876
Attachment #8960283 - Flags: review?(bdahl) → review+
Pushed by ksteuber@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/3226b1ae25d6
about:preferences should not offer to Preview PDFs when the DisableBuiltinPDFViewer policy is active r=bdahl,Felipe
https://hg.mozilla.org/mozilla-central/rev/3226b1ae25d6
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 61
Comment on attachment 8960283 [details]
Bug 1447051 - about:preferences should not offer to Preview PDFs when the DisableBuiltinPDFViewer policy is active

Approval Request Comment
[Feature/Bug causing the regression]: Enterprise Policy Engine
[User impact if declined]: about:preferences will indicate that PDFs will be previewed within Firefox even if that feature is disabled by policy.
[Is this code covered by automated tests?]: The policy has tests to ensure that it is functioning properly. There is not a test to ensure that this particular UI element displays properly.
[Has the fix been verified in Nightly?]: Yes
[Needs manual test from QE? If yes, steps to reproduce]: Abe will be verifying this fix.
[List of other uplifts needed for the feature/fix]: None
[Is the change risky?]: No
[Why is the change risky/not risky?]: Patch only affects whether the PDF handler is enabled in the UI and change has no effect if the policy engine is inactive or if the DisableBuiltinPDFViewer policy is inactive.
[String changes made/needed]: None
Attachment #8960283 - Flags: approval-mozilla-beta?
Comment on attachment 8960283 [details]
Bug 1447051 - about:preferences should not offer to Preview PDFs when the DisableBuiltinPDFViewer policy is active

enterprise policy fix for beta60
Attachment #8960283 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
We tested this and it is now verified as fixed. about:preferences does not show 'Preview in Nightly' with this policy.
Status: RESOLVED → VERIFIED
We also tested this on beta builds and it is verified as fixed.
Test cases and runs are here- https://testrail.stage.mozaws.net/index.php?/plans/view/8760
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: