[PATCH 4 of 4 website] downloads: replace inline scripts with an onload function

Kevin Bullock kbullock+mercurial at ringworld.org
Wed May 10 13:24:13 EDT 2017


> On May 10, 2017, at 12:22, Kevin Bullock <kbullock+mercurial at ringworld.org> wrote:
> 
> # HG changeset patch
> # User Kevin Bullock <kbullock+mercurial at ringworld.org>
> # Date 1494436785 18000
> #      Wed May 10 12:19:45 2017 -0500
> # Node ID f194cff8d65af231bf2cb1780daaecef2b0ed3d3
> # Parent  130a8e2a946d71eaf031420fa43e9a0d0f7a6e8d
> downloads: replace inline scripts with an onload function

I neglected to mention in the commit message that this allows us to improve our Content-Security-Policy usage (we should be able to remove 'unsafe-inline').

pacem in terris / мир / शान्ति / ‎‫سَلاَم‬ / 平和
Kevin R. Bullock



More information about the Mercurial-devel mailing list