mask-image CSS property does not load image bundled with extension
Categories
(Core :: CSS Parsing and Computation, defect, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr60 | --- | unaffected |
| firefox62 | --- | unaffected |
| firefox63 | --- | disabled |
| firefox64 | --- | disabled |
| firefox65 | --- | verified |
People
(Reporter: ngonzale, Assigned: bradwerth)
References
Details
(Keywords: regression)
Attachments
(2 files)
Comment 1•7 years ago
|
||
| Assignee | ||
Comment 2•7 years ago
|
||
Comment 3•7 years ago
|
||
Comment 4•7 years ago
|
||
Updated•7 years ago
|
Comment 5•7 years ago
|
||
Updated•7 years ago
|
Comment 6•7 years ago
|
||
Comment 7•7 years ago
|
||
Comment 8•7 years ago
|
||
Comment 9•7 years ago
|
||
Updated•7 years ago
|
| Reporter | ||
Comment 10•7 years ago
|
||
| Assignee | ||
Comment 11•7 years ago
|
||
Updated•7 years ago
|
Comment 12•7 years ago
|
||
Comment 13•7 years ago
|
||
| Assignee | ||
Comment 14•7 years ago
|
||
| Assignee | ||
Updated•7 years ago
|
Comment 15•7 years ago
|
||
Updated•7 years ago
|
| Assignee | ||
Comment 16•7 years ago
|
||
| Assignee | ||
Comment 17•7 years ago
|
||
| Assignee | ||
Comment 18•7 years ago
|
||
Comment 19•7 years ago
|
||
Comment 20•7 years ago
|
||
| bugherder | ||
Updated•7 years ago
|
Comment 21•7 years ago
|
||
Updated•7 years ago
|
Comment 22•7 years ago
|
||
Comment 23•7 years ago
|
||
Comment 24•7 years ago
|
||
Comment 25•7 years ago
|
||
Comment 26•7 years ago
|
||
Comment 27•7 years ago
|
||
Comment 28•7 years ago
|
||
Comment 29•7 years ago
|
||
Updated•7 years ago
|
Comment 30•7 months ago
•
|
||
(In reply to Nicolás González-Deleito from comment #0)
I develop an extension that displays a pie menu on a page for navigation
purposes.
For reference, it looks like this is the actual extension that the reporter was referencing:
https://addons.mozilla.org/en-US/firefox/addon/easygestures-n/
Linking since we may want to re-test after we address bug 1970468.
Though also, at first glance:
- In a local build where I essentially backed out the patch here, the latest version of this "easyGestures N" extension doesn't show any obvious clipping or UI-not-showing-up issues (hooray!). (In this build, I am able to trigger the originally-described issue with the attached
mask-image.zipextension though, which makes sense.) - Having said that, it also looks like this extension might issuenot be supported anymore and might not be fully-functional anymore (independent of this bug) -- its last update was 2.5 years ago, and when I install it in Nightly and e.g. try to use it to add a bookmark (by middle-clicking on example.org, and then right-clicking to open the second part of the menu, and then clicking the star icon in the chart), the menu disappears without bookmarking the page, and this shows up in my terminal:
JavaScript error: moz-extension://be948024-dd53-4336-a5e1-b54d1b8dd0f2/background/eGActions.js, line 846: TypeError: can't access property "create", browser.bookmarks is undefined
Comment 31•7 months ago
|
||
(In reply to Tomislav Jovanovic :zombie from comment #9)
As a workaround, and for best future compatibility, you could add the image
to
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/
manifest.json/web_accessible_resources
Aha, it looks like they opted to do this. The latest easyGestures N version has this in its manifest:
"web_accessible_resources": [
"content/*.svg"
],
That probably explains (in part at least) why I'm not seeing any trouble with that extension when locally reverting this bug's patch.
| Reporter | ||
Comment 32•7 months ago
|
||
(In reply to Daniel Holbert [:dholbert] from comment #30)
- Having said that, it also looks like this extension might issuenot be supported anymore and might not be fully-functional anymore (independent of this bug) -- its last update was 2.5 years ago, and when I install it in Nightly and e.g. try to use it to add a bookmark (by middle-clicking on example.org, and then right-clicking to open the second part of the menu, and then clicking the star icon in the chart), the menu disappears without bookmarking the page, and this shows up in my terminal:
JavaScript error: moz-extension://be948024-dd53-4336-a5e1-b54d1b8dd0f2/background/eGActions.js, line 846: TypeError: can't access property "create", browser.bookmarks is undefined
The extension is supported and works without problem. The problem that you encountered is likely due to the "bookmarks" optional permission which you need to grant explicitly ;-)
Comment 33•7 months ago
•
|
||
(In reply to Nicolás González-Deleito from comment #32)
The extension is supported and works without problem. The problem that you encountered is likely due to the "bookmarks" optional permission which you need to grant explicitly ;-)
Ah, gotcha - thanks for clarifying that. Yup, I see that in the add-on's preferences page - there are a bunch of opt-in permissions there, which seem to be needed to get various bits of functionality working. So the the breakage I observed at the end of comment 30 was just due to lack-of-granting-those-permissions, rather than being due to some sort of API change in Firefox (which is what I'd initially assumed).
In any case: the good news takeaway is that, per comment 31, I think the latest easyGestures N version will continue working even if we do something along the lines of backing out this bug's patch, based on observations from poking at it, and based on the web_accessible_resources usage per comment 31.
Description
•