Closed Bug 1942021 Opened 7 months ago Closed 7 months ago

aboutRights has non-functioning margin-left due to CSP

Categories

(Toolkit :: General, defect, P5)

Desktop
All
defect

Tracking

()

RESOLVED FIXED
136 Branch
Tracking Status
firefox-esr128 --- wontfix
firefox134 --- wontfix
firefox135 --- wontfix
firefox136 --- fixed

People

(Reporter: Gijs, Assigned: Gijs)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

https://searchfox.org/mozilla-central/rev/b19c379ba7b6d4f25af090a66cec3facf8153ee3/toolkit/content/aboutRights.xhtml#86

<div id="disabling-webservices-container" style="margin-left: 40px">

doesn't work because of

https://searchfox.org/mozilla-central/rev/b19c379ba7b6d4f25af090a66cec3facf8153ee3/toolkit/content/aboutRights.xhtml#13

content="default-src chrome:; object-src 'none'"

and triggers:

Content-Security-Policy: The page’s settings blocked an inline style (style-src-attr) from being applied because it violates the following directive: “default-src chrome:”
Source: margin-left: 40px

in the devtools console.

There are a few other CSP style related errors as well that are less easy to track down. Also, the margin should probably be using inline-start...

Oops, wrong regressor.

Regressed by: 1453933
No longer regressed by: 1499354

Set release status flags based on info from the regressing bug 1453933

Assignee: nobody → gijskruitbosch+bugs
Status: NEW → ASSIGNED
See Also: → 1941998
Pushed by gijskruitbosch@gmail.com: https://hg.mozilla.org/integration/autoland/rev/c54e237cf6de fix CSP violations in about:rights and make the code nicer, r=darktrojan,desktop-theme-reviewers,dao
Status: ASSIGNED → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
Target Milestone: --- → 136 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: