[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[lintian] 01/02: Add explicit test for packages including external fonts via the Google Font API. Thanks to Ian Jackson for the report. (Closes: #873434)



This is an automated email from the git hooks/post-receive script.

lamby pushed a commit to branch master
in repository lintian.

commit 636a4cebc93f5321e482563ec0dd00a40fa01a0f
Author: Chris Lamb <lamby@debian.org>
Date:   Mon Aug 28 09:47:41 2017 +0100

    Add explicit test for packages including external fonts via the Google Font API. Thanks to Ian Jackson for the report. (Closes: #873434)
---
 debian/changelog                                                  | 5 +++++
 .../debian/src/privacy-breach-generic/googlefontapi.html          | 8 ++++++++
 t/tests/files-privacybreach/tags                                  | 1 +
 3 files changed, 14 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 8d141bb..0f7a058 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -121,6 +121,11 @@ lintian (2.5.53) UNRELEASED; urgency=medium
       outputting symbols in a different format on ppc64el.
       (Closes: #869750)
 
+  * t/tests/files-privacybreach/*:
+    + [CL] Add explicit test for packages including external fonts via
+      the Google Font API. Thanks to Ian Jackson for the report.
+      (Closes: #873434)
+
  -- Niels Thykier <niels@thykier.net>  Sun, 23 Jul 2017 10:16:35 +0000
 
 lintian (2.5.52) unstable; urgency=medium
diff --git a/t/tests/files-privacybreach/debian/src/privacy-breach-generic/googlefontapi.html b/t/tests/files-privacybreach/debian/src/privacy-breach-generic/googlefontapi.html
new file mode 100644
index 0000000..bd64037
--- /dev/null
+++ b/t/tests/files-privacybreach/debian/src/privacy-breach-generic/googlefontapi.html
@@ -0,0 +1,8 @@
+<!DOCTYPE html>
+<html>
+<body>
+<style type="text/css">
+   @import url("http://fonts.googleapis.com/css?family=Open+Sans";);
+</style>
+</body>
+</html>
diff --git a/t/tests/files-privacybreach/tags b/t/tests/files-privacybreach/tags
index 1a8c601..0ff1ea9 100644
--- a/t/tests/files-privacybreach/tags
+++ b/t/tests/files-privacybreach/tags
@@ -64,6 +64,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/externalimg.xml (http://1984.ow/bigbrotheriswatchingyou.png)
 X: files-privacybreach: privacy-breach-generic usr/share/files-privacy-breach/privacy-breach-generic/frame.html (http://1984.os/trackme_frame_c.htm)
 X: files-privacybreach: privacy-breach-generic usr/share/files-privacy-breach/privacy-breach-generic/genericwebsite.html (http://www.example.com/trackme.js)
+X: files-privacybreach: privacy-breach-generic usr/share/files-privacy-breach/privacy-breach-generic/googlefontapi.html (http://fonts.googleapis.com/css?family=open+sans)
 X: files-privacybreach: privacy-breach-generic usr/share/files-privacy-breach/privacy-breach-generic/iframe.html (http://1984.ow/bigbrotheriswatchingyou.html)
 X: files-privacybreach: privacy-breach-generic usr/share/files-privacy-breach/privacy-breach-generic/import.css (http://1984.wo/importtracking.css)
 X: files-privacybreach: privacy-breach-generic usr/share/files-privacy-breach/privacy-breach-generic/importcss.html (http://trackme.css/track.css)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git


Reply to: