Closed Bug 1437445 Opened 6 years ago Closed 6 years ago

JavaScript error "missing host permission for the tab"

Categories

(Firefox :: Screenshots, defect)

defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE
Tracking Status
firefox60 --- affected

People

(Reporter: gfritzsche, Unassigned)

Details

Attachments

(1 file)

Screenshots is currently not working for me on Firefox Nightly & Release (both latest).
Clicking the screenshots button, i get an error in the console:
> Error: Missing host permission for the tab     undefined

There is no stack available.

Possibly related to (?):
https://github.com/mozilla-services/screenshots/issues/2978
needinfo for heads-up.
Flags: needinfo?(jhirsch)
I have tested this issue on Windows 7 x64, Arch Linux and Mac 10.12 with latest Nightly (60.0a1) build, but I can reproduce this issue only on Test Pilot and AMO websites.

@Georg, can you reproduce this issue on any websites or Screenshots is not working only on some specific websites?
Ah! I was using this on a chrome page, specifically about:telemetry.
Thanks for the ping. Yup, about: pages aren't accessible to page actions. Github issue 2978 hides this error from users, but the error still appears in the console. I can't dupe to Github, so I'll just mark it as incomplete.
Status: NEW → RESOLVED
Closed: 6 years ago
Flags: needinfo?(jhirsch)
Resolution: --- → INCOMPLETE
Can we make this more clear in the UI then?
It was surprising to me that the screenshots button is available, but doesn't result in any action.
Flags: needinfo?(jhirsch)
Sure, I think the right fix would be to disable the page action on non-http(s) pages, and it seems like this would be easy enough to do.

Filed in Github as https://github.com/mozilla-services/screenshots/issues/4121.
Flags: needinfo?(jhirsch)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: