Firefox Screenshots is unable to capture anything due to "SecurityError: The operation is insecure" error
Categories
(Firefox :: Screenshots, defect)
Tracking
()
People
(Reporter: glibnes, Unassigned)
References
(Regression)
Details
(Keywords: regression, regressionwindow-wanted)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:71.0) Gecko/20100101 Firefox/71.0
Steps to reproduce:
Environment:
- OS: Ubuntu 18.04.03 LTS (Kernel: 5.0.0-29-generic)
- Firefox Nightly 71.0a1 (2019-10-05) (same problem occurs in previous daily versions)
- Profile: happens both on my "daily driver" as well as on a fresh profile
- Go to any page
- Try to capture the page's screenshot using the URLBar's interaction menu entry
Actual results:
- A GNOME notification pops up saying that "Firefox Screenshots was unable to perform this operation". The last sentence of that message says:
The operation is insecure.
- The URLBar's interaction menu entry's icon (the "take a screenshot" one) goes from white color to grey color.
- The page is now soft-locked. I can't interact with any of its elements and cannot scroll it down or up.
- I can unlock it though, by trying to capture a screenshot again. This time, the notification won't pop up, but the page is now interactive again. The menu entry's icon turns white again.
- The browser's console gets populated with these errors (Polish translation, I have no idea how to temporarily change interface's language to English):
Content Security Policy: Ignorowanie „'unsafe-inline'” w script-src lub style-src: określono „nonce-source” lub „hash-source”
Content Security Policy: Strona „https://bugzilla.mozilla.org” stosuje politykę „Report-Only” bez URI raportowania. Mechanizm CSP nie zablokuje ani nie zgłosi naruszeń tej polityki.
[WARNING] Unhandled error: <unavailable> undefined catcher.js:21:11
[WARNING] SecurityError: The operation is insecure. slides.js:52
[ERROR] Unhandled error:
[ERROR] Object { fromMakeError: true, name: "SecurityError", message: "The operation is insecure.", stack: "exports.display/this.slides</<@moz-extension://5e29b2dd-82f3-4c2e-a7a0-3078b98a80eb/onboarding/slides.js:52:15\nwatchFunction/this.catcher@moz-extension://5e29b2dd-82f3-4c2e-a7a0-3078b98a80eb/catcher.js:59:21\nEventListener.handleEvent*exports.display/this.slides<@moz-extension://5e29b2dd-82f3-4c2e-a7a0-3078b98a80eb/onboarding/slides.js:44:14\nexports.display@moz-extension://5e29b2dd-82f3-4c2e-a7a0-3078b98a80eb/onboarding/slides.js:24:12\nstart@moz-extension://5e29b2dd-82f3-4c2e-a7a0-3078b98a80eb/selector/uicontrol.js:307:35\nsetState@moz-extension://5e29b2dd-82f3-4c2e-a7a0-3078b98a80eb/selector/uicontrol.js:254:24\nexports.activate@moz-extension://5e29b2dd-82f3-4c2e-a7a0-3078b98a80eb/selector/uicontrol.js:804:15\nwatchFunction/this.catcher@moz-extension://5e29b2dd-82f3-4c2e-a7a0-3078b98a80eb/catcher.js:59:21\nthis.uicontrol<@moz-extension://5e29b2dd-82f3-4c2e-a7a0-3078b98a80eb/selector/uicontrol.js:939:42\n@moz-extension://5e29b2dd-82f3-4c2e-a7a0-3078b98a80eb/selector/uicontrol.js:942:3\n", code: 18, result: 2152923154, filename: "moz-extension://5e29b2dd-82f3-4c2e-a7a0-3078b98a80eb/onboarding/slides.js", lineNumber: 52, columnNumber: 0, data: null, … }
undefined catcher.js:21:11
Expected results:
- The screenshot procedure should succeed
- The page should remain interactive
Comment 1•5 years ago
|
||
Setting to NEW
I can confirm the error on Windows 10 as well but the page where I attempt a screenshot is not locked,, Win10 just pops up a side-bar Notification.
"Whoa, not sure what happened. Care to try again or take a shot on different page'.
The Operation is Insecure. "
Checking in the Browser Console I get:
1570281148029 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: mozillaAddons
Further Note:
- The screenshot seems work in my 'Dirty Profile' - It will gray-out and give me options to 'copy' 'save' or Cancel
- Testing with a clean New Profile, nothing changed.. I see the above errors and Screenshot does not work.
- Thinking it could be a 'cert' issue, I copied over the cert8.db and cert9.db into the New Clean profile from my 'Dirty Profile, - No Joy, still get the error and does not save the screenshot.
Comment 2•5 years ago
•
|
||
I can reproduce the issue on Nightly71.0a1 Windows10 with new profile.
Unhandled error: <unavailable> undefined catcher.js:21:11
unhandled moz-extension://6ba1bc1b-9e30-4399-90ee-b1d6b012f4a0/catcher.js:21
catcher moz-extension://6ba1bc1b-9e30-4399-90ee-b1d6b012f4a0/catcher.js:62
slides moz-extension://6ba1bc1b-9e30-4399-90ee-b1d6b012f4a0/onboarding/slides.js:44
display moz-extension://6ba1bc1b-9e30-4399-90ee-b1d6b012f4a0/onboarding/slides.js:24
start moz-extension://6ba1bc1b-9e30-4399-90ee-b1d6b012f4a0/selector/uicontrol.js:307
setState moz-extension://6ba1bc1b-9e30-4399-90ee-b1d6b012f4a0/selector/uicontrol.js:254
activate moz-extension://6ba1bc1b-9e30-4399-90ee-b1d6b012f4a0/selector/uicontrol.js:804
catcher moz-extension://6ba1bc1b-9e30-4399-90ee-b1d6b012f4a0/catcher.js:59
uicontrol moz-extension://6ba1bc1b-9e30-4399-90ee-b1d6b012f4a0/selector/uicontrol.js:939
<anonymous> moz-extension://6ba1bc1b-9e30-4399-90ee-b1d6b012f4a0/selector/uicontrol.js:942
SecurityError: The operation is insecure. slides.js:52
Unhandled error:
Object { fromMakeError: true, name: "SecurityError", message: "The operation is insecure.", stack: "exports.display/this.slides</<@moz-extension://6ba1bc1b-9e30-4399-90ee-b1d6b012f4a0/onboarding/slides.js:52:15\nwatchFunction/this.catcher@moz-extension://6ba1bc1b-9e30-4399-90ee-b1d6b012f4a0/catcher.js:59:21\nEventListener.handleEvent*exports.display/this.slides<@moz-extension://6ba1bc1b-9e30-4399-90ee-b1d6b012f4a0/onboarding/slides.js:44:14\nexports.display@moz-extension://6ba1bc1b-9e30-4399-90ee-b1d6b012f4a0/onboarding/slides.js:24:12\nstart@moz-extension://6ba1bc1b-9e30-4399-90ee-b1d6b012f4a0/selector/uicontrol.js:307:35\nsetState@moz-extension://6ba1bc1b-9e30-4399-90ee-b1d6b012f4a0/selector/uicontrol.js:254:24\nexports.activate@moz-extension://6ba1bc1b-9e30-4399-90ee-b1d6b012f4a0/selector/uicontrol.js:804:15\nwatchFunction/this.catcher@moz-extension://6ba1bc1b-9e30-4399-90ee-b1d6b012f4a0/catcher.js:59:21\nthis.uicontrol<@moz-extension://6ba1bc1b-9e30-4399-90ee-b1d6b012f4a0/selector/uicontrol.js:939:42\n@moz-extension://6ba1bc1b-9e30-4399-90ee-b1d6b012f4a0/selector/uicontrol.js:942:3\n", code: 18, result: 2152923154, filename: "moz-extension://6ba1bc1b-9e30-4399-90ee-b1d6b012f4a0/onboarding/slides.js", lineNumber: 52, columnNumber: 0, data: null, … }
undefined catcher.js:21:11
unhandled moz-extension://6ba1bc1b-9e30-4399-90ee-b1d6b012f4a0/catcher.js:21
<anonymous> moz-extension://6ba1bc1b-9e30-4399-90ee-b1d6b012f4a0/background/senderror.js:59
onMessage moz-extension://6ba1bc1b-9e30-4399-90ee-b1d6b012f4a0/background/communication.js:29
watchFunction moz-extension://6ba1bc1b-9e30-4399-90ee-b1d6b012f4a0/catcher.js:59
<anonymous> moz-extension://6ba1bc1b-9e30-4399-90ee-b1d6b012f4a0/background/startBackground.js:77
<anonymous> moz-extension://6ba1bc1b-9e30-4399-90ee-b1d6b012f4a0/background/startBackground.js:76
Regression window:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=a3d9784a3b3326edc67c95699227b5fa684183d9&tochange=858991b684efa86e069eb0a919d640781ccb12dd
Suspect:
c8a2c27a1128c4800c1fefc9fafd06204e48ec2a Sean Feng — Bug 1467970 - Unsupport cross docGroup adoption r=smaug
Updated•2 years ago
|
Description
•