[lintian] 02/02: [CL] Add explicit test for packages including external fonts via the Typekit API via <script/> HTML tags.
This is an automated email from the git hooks/post-receive script.
lamby pushed a commit to branch master
in repository lintian.
commit 0d68e48e6424234f06cfb0873bc746e243577be3
Author: Chris Lamb <lamby@debian.org>
Date: Mon Aug 28 09:49:16 2017 +0100
[CL] Add explicit test for packages including external fonts via the Typekit API via <script/> HTML tags.
---
debian/changelog | 2 ++
.../debian/src/privacy-breach-generic/typekit.html | 7 +++++++
t/tests/files-privacybreach/tags | 1 +
3 files changed, 10 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 0f7a058..9a35397 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -125,6 +125,8 @@ lintian (2.5.53) UNRELEASED; urgency=medium
+ [CL] Add explicit test for packages including external fonts via
the Google Font API. Thanks to Ian Jackson for the report.
(Closes: #873434)
+ + [CL] Add explicit test for packages including external fonts via
+ the Typekit API via <script/> HTML tags.
-- Niels Thykier <niels@thykier.net> Sun, 23 Jul 2017 10:16:35 +0000
diff --git a/t/tests/files-privacybreach/debian/src/privacy-breach-generic/typekit.html b/t/tests/files-privacybreach/debian/src/privacy-breach-generic/typekit.html
new file mode 100644
index 0000000..713cfd5
--- /dev/null
+++ b/t/tests/files-privacybreach/debian/src/privacy-breach-generic/typekit.html
@@ -0,0 +1,7 @@
+<!DOCTYPE html>
+<html>
+<body>
+<script type="text/javascript" src="//use.typekit.net/uniquecodehere.js"></script>
+<script type="text/javascript">try{Typekit.load();}catch(e){}</script>
+</body>
+</html>
diff --git a/t/tests/files-privacybreach/tags b/t/tests/files-privacybreach/tags
index 0ff1ea9..0f3adbf 100644
--- a/t/tests/files-privacybreach/tags
+++ b/t/tests/files-privacybreach/tags
@@ -73,6 +73,7 @@ X: files-privacybreach: privacy-breach-generic usr/share/files-privacy-breach/pr
X: files-privacybreach: privacy-breach-generic usr/share/files-privacy-breach/privacy-breach-generic/object.html (https://1984.os/hellotrackme.swf)
X: files-privacybreach: privacy-breach-generic usr/share/files-privacy-breach/privacy-breach-generic/source.html (https://1984.os/tracking.mp3)
X: files-privacybreach: privacy-breach-generic usr/share/files-privacy-breach/privacy-breach-generic/track.html (http://1984.os/notracking.vtt)
+X: files-privacybreach: privacy-breach-generic usr/share/files-privacy-breach/privacy-breach-generic/typekit.html (//use.typekit.net/uniquecodehere.js)
X: files-privacybreach: privacy-breach-generic usr/share/files-privacy-breach/privacy-breach-generic/video.html (ftp://1984.os/tuxistrackingme.ogg)
X: files-privacybreach: privacy-breach-generic usr/share/files-privacy-breach/privacy-breach-generic/videoposter.html (ftp://1984.os/tuxistrackingme.ogg)
X: files-privacybreach: privacy-breach-generic usr/share/files-privacy-breach/privacy-breach-google-plus/asyncload.html (http://www.example.com)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: