gecko-dev/toolkit/content/aboutRights.xhtml
Christoph Kerschbaumer 30285b4a58 Bug 1499354: Add object-src 'none' to the CSP of all about: pages. r=freddyb
Differential Revision: https://phabricator.services.mozilla.com/D46950

--HG--
extra : moz-landing-system : lando
2019-09-26 16:22:41 +00:00

85 lines
3.7 KiB
HTML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html [
<!ENTITY % htmlDTD PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
%htmlDTD;
]>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Security-Policy" content="default-src chrome:; object-src 'none'" />
<title data-l10n-id="rights-title"></title>
<link rel="stylesheet" href="chrome://global/skin/in-content/info-pages.css" type="text/css"/>
<link rel="stylesheet" href="chrome://global/skin/aboutRights.css" type="text/css"/>
<link rel="localization" href="branding/brand.ftl"/>
<link rel="localization" href="toolkit/about/aboutRights.ftl"/>
</head>
<body id="your-rights">
<div class="container">
<div class="rights-header">
<div>
<h1 data-l10n-id="rights-title"></h1>
<p data-l10n-id="rights-intro"></p>
</div>
</div>
<ul>
<li data-l10n-id="rights-intro-point-1"><a href="http://www.mozilla.org/MPL/" data-l10n-name="mozilla-public-license-link"></a></li>
<!-- Point 2 discusses Mozilla trademarks, and isn't needed when the build is unbranded.
- Point 4 discusses privacy policy, unbranded builds get a placeholder (for the vendor to replace)
- Point 5 discusses web service terms, unbranded builds gets a placeholder (for the vendor to replace) -->
<li data-l10n-id="rights-intro-point-2"><a href="http://www.mozilla.org/foundation/trademarks/policy.html" data-l10n-name="mozilla-trademarks-link"></a></li>
<li data-l10n-id="rights-intro-point-3"></li>
<li data-l10n-id="rights-intro-point-4"><a href="https://www.mozilla.org/legal/privacy/firefox.html" data-l10n-name="mozilla-privacy-policy-link"></a></li>
<li data-l10n-id="rights-intro-point-5"><a href="about:rights#webservices" id="showWebServices" data-l10n-name="mozilla-service-terms-link"></a></li>
<li data-l10n-id="rights-intro-point-6"></li>
</ul>
<div id="webservices-container">
<a name="webservices"/>
<h3 data-l10n-id="rights-webservices-header"></h3>
<p data-l10n-id="rights-webservices"><a href="about:rights#disabling-webservices" id="showDisablingWebServices" data-l10n-name="mozilla-disable-service-link"></a></p>
<div id="disabling-webservices-container" style="margin-left:40px;">
<a name="disabling-webservices"/>
<p data-l10n-id="rights-safebrowsing"></p>
<ul>
<li data-l10n-id="rights-safebrowsing-term-1"></li>
<li data-l10n-id="rights-safebrowsing-term-2"></li>
<li data-l10n-id="rights-safebrowsing-term-3"></li>
<li data-l10n-id="rights-safebrowsing-term-4"></li>
</ul>
<p data-l10n-id="rights-locationawarebrowsing"></p>
<ul>
<li data-l10n-id="rights-locationawarebrowsing-term-1"></li>
<li data-l10n-id="rights-locationawarebrowsing-term-2"></li>
<li data-l10n-id="rights-locationawarebrowsing-term-3"></li>
<li data-l10n-id="rights-locationawarebrowsing-term-4"></li>
</ul>
</div>
<ol>
<!-- Terms only apply to official builds, unbranded builds get a placeholder. -->
<li data-l10n-id="rights-webservices-term-1"></li>
<li data-l10n-id="rights-webservices-term-2"></li>
<li data-l10n-id="rights-webservices-term-3"></li>
<li data-l10n-id="rights-webservices-term-4"></li>
<li data-l10n-id="rights-webservices-term-5"></li>
<li data-l10n-id="rights-webservices-term-6"></li>
<li data-l10n-id="rights-webservices-term-7"></li>
</ol>
</div>
</div>
</body>
<script src="chrome://global/content/aboutRights.js"/>
</html>