Open Bug 1620992 Opened 4 years ago Updated 8 months ago

Consider allowing to take screenshot on about: and moz-extension:// pages

Categories

(Firefox :: Screenshots, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: wtds.trabalho, Unassigned)

References

(Depends on 1 open bug)

Details

(Whiteboard: [screenshots-extension])

Attachments

(2 files)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

Steps to reproduce:

  • See site with outdated certificate
  • Open certificate viewer tool
  • Try to print
  • I'm do print to create issues and try to solve the problem

Actual results:

  • No way to print certificate info or page parts of the certificate viewer
  • Print tool doesn't work with browser native pages

Expected results:

  • Make print and other tools working in browser pages and certificate viewer
  • Ways to print parts of the certificate viewer.

Thanks!

Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:73.0) Gecko/20100101 Firefox/73.0

Hi,

I will move this enhancement over to a component so developers can take a look over it. If this is not the correct component please feel free to change it to an appropriate one.
Also please see: https://bugzilla.mozilla.org/show_bug.cgi?id=1553524

Thanks for the report.

Status: UNCONFIRMED → NEW
Component: Untriaged → Security
Ever confirmed: true
See Also: → cert-viewer
Version: 68 Branch → Trunk

Are you using Firefox 68 ESR? Since Firefox 71 has a new certificate viewer (bug 1553524) that opens the certificate in a normal HTML page, which can be printed. And indeed I just successfully "printed" the certificate for bugzilla to a PDF file.

Flags: needinfo?(wtds.trabalho)

Yes I'm can use the new HTML certificate viewer.

But the point is: the Firefox new screenshoot/printscreen tools doesn't work with certificate viewer and other browser pages.

I've cited the Firefox Screenshot tool because I've tried to screenshot/printscreen certain part of the new Certificate Viewer Page.

In my case I've tried to take a printscreen/screenshoot the expiration dates block for example.

But thinking out the box. Why not allow to use browser tools in internal browser pages or native HTML pages? Like the use of printscreen/screenshoot tool in Certificate viewer page.

Thanks!

Flags: needinfo?(wtds.trabalho) → needinfo?(evilpies)

Extension page example. Because in native certificate viewer page: I can't use tools and I can't see the tools list in the urlbar.

Thanks!

Firefox Screenshots is not available on about: and moz-extension:// pages.
For about:certificate we needed to file another bug: "Consider showing page actions menu on secureInternalUIWhitelist pages"
Full page screenshots are available via devtools (enable it in devtools settings), printing is possible via main menu. Information can also be shared as link, paste this into your address bar:

about:certificate?cert=MIIG2DCCBcCgAwIBAgIQBrqFY5TDn4dkP2hCYQgpIzANBgkqhkiG9w0BAQsFADBNMQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMScwJQYDVQQDEx5EaWdpQ2VydCBTSEEyIFNlY3VyZSBTZXJ2ZXIgQ0EwHhcNMTkwNDE1MDAwMDAwWhcNMjEwNTI2MTIwMDAwWjCBiTELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDU1vdW50YWluIFZpZXcxGzAZBgNVBAoTEk1vemlsbGEgRm91bmRhdGlvbjEPMA0GA1UECxMGV2ViT3BzMR8wHQYDVQQDDBYqLmJ1Z3ppbGxhLm1vemlsbGEub3JnMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArow7gPSlGVLFRkHuVlTShaPeuWQqjQ0%2FeyYDN5YpWhOrz%2BZJJ2ANbMLokUAWk4RzbpjM6Qz2Myhc%2F2teMZ1A0C4v2zTpAx446arO5X9u56cCX9OUvFVyuJJmGYPZUrKYxsDSotb1NsM16UwXJqpMq3X6mqw2o2cnXmxzPdAYpm59ham6gj3J7fD61MqLFjlBYFwsZioXj1vAxpgKqSjBsk2%2FVR6OLoE6PSVofZC8NcSUzW0TwQBydpuayrrszSU0Llww%2FJGXzU8WdHtNoseVI%2BomncYBAgz7KrjzcL6hHTIU3XcxiKVrpupJKvb%2Fqs31qqk0PY4KhtgyIgcuJEd9UQIDAQABo4IDdTCCA3EwHwYDVR0jBBgwFoAUD4BhHIIxYdUvKOeNRji0LOHG2eIwHQYDVR0OBBYEFMgI4%2FQblbnQEf3GY1%2BuP%2FVYj9PtMDcGA1UdEQQwMC6CFiouYnVnemlsbGEubW96aWxsYS5vcmeCFG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YBberOgOzW6sRBc4L0na4UU%2BKrk2U886UAb3LujEV0lsYSEY1QSteDwsOoBrp%2BuvFRTp2InBuThs4pFsiv9kuXclVzDAGySj4dzp30d8tbQkCAUw7C29C79Fv1C5qfPrmAESrciIxpg0X40KPMbp1ZWVbd4%3D
Component: Security → Screenshots
Flags: needinfo?(evilpies)
Summary: Certificate Viewer - I can't print parts of the page using browser native print tool → Consider allowing to take screenshot on about: and moz-extension:// pages
Depends on: 1696573
Priority: -- → P3

The (in-progress) browser component implementation of Screenshots would remove most of the technical constraints preventing screenshots to be available on about: and moz-extension:// pages. That just leaves user expectation, privacy and security questions - i.e. is this a thing we want, and on all or just some subset of internal URLs?

Severity: normal → S3

This works today if you flip the screenshots.browser.component.enabled pref to true. We're tracking an initial nightly-only release of this work in bug 1789727 and its dependencies.

Whiteboard: [screenshots-extension]
You need to log in before you can comment on or make changes to this bug.