Port bug 1497211: Apply Meta CSP to about:support
Categories
(Thunderbird :: General, task)
Tracking
(Not tracked)
People
(Reporter: Paenglab, Assigned: Paenglab)
Details
Attachments
(1 file, 1 obsolete file)
4.62 KB,
patch
|
darktrojan
:
review+
|
Details | Diff | Splinter Review |
Bug 1497211 added a CSP header to the page.
Assignee | ||
Comment 1•5 years ago
|
||
Comment 2•5 years ago
|
||
Comment on attachment 9077153 [details] [diff] [review] 1564965-meta-CSP-aboutSupport.patch Nice, have you tried it?
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/f975a8eb3c19
Port bug 1497211: Apply Meta CSP to about:support. r=jorgk
Updated•5 years ago
|
Comment 4•5 years ago
|
||
Backout:
https://hg.mozilla.org/comm-central/rev/ba31676a4f3d301d291a08ac9398b02827a149b8
Sorry, I had to back this out since it's causing test failures which I confirmed with a local backout first. Aceman offered to look into this further.
It's because that CSP line still does not allow all scripts:
Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”). support:173:17
It seems due to this the checkbox to reveal hidden data does not work in tests, which fail.
This works for me, converting some inline event handlers in element attributes to event listeners.
Try run:
https://treeherder.mozilla.org/#/jobs?repo=try-comm-central&revision=8294fcc2ac8d5267ea8d076b59ef2b6ae72d7075
Updated•5 years ago
|
Comment 7•5 years ago
|
||
Comment on attachment 9077476 [details] [diff] [review] 1564965.patch Nice work.
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/548774d8cc4a
Port bug 1497211: Apply Meta CSP to about:support. r=darktrojan
Comment 9•5 years ago
•
|
||
Please make sure you change the author when picking up someone else's patch. For the record, this HG trick is useful:
hg commit --amend -u"newuser <newuser@examle.com>"
Comment 10•5 years ago
|
||
Damn, I forgot the DONTBUILD option and since cancelling anything on the tree is broken, this will do a full build now :-(
Updated•5 years ago
|
Description
•