[Pkg-mozext-commits] [requestpolicy] 84/100: added a mozmill test against #351, which currently fails
David Prévot
taffit at moszumanska.debian.org
Fri Dec 12 22:57:02 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository requestpolicy.
commit 5a6ed47ae87c34a84de3cba0807fac5390b45f45
Author: Martin Kimmerle <dev at 256k.de>
Date: Fri Nov 7 20:14:37 2014 +0100
added a mozmill test against #351, which currently fails
---
tests/content/redirect-http-location-header-png.php | 4 ++++
tests/content/redirect-links.html | 4 +++-
tests/content/subdirectory/1px.png | Bin 0 -> 172 bytes
3 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/tests/content/redirect-http-location-header-png.php b/tests/content/redirect-http-location-header-png.php
new file mode 100644
index 0000000..5f900dd
--- /dev/null
+++ b/tests/content/redirect-http-location-header-png.php
@@ -0,0 +1,4 @@
+<?php
+ header('Location: http://www.otherdomain.test/subdirectory/1px.png');
+ header('Content-Type: image/png');
+?>
diff --git a/tests/content/redirect-links.html b/tests/content/redirect-links.html
index 9f75973..abeea29 100644
--- a/tests/content/redirect-links.html
+++ b/tests/content/redirect-links.html
@@ -26,7 +26,9 @@
<a href="redirect-meta-tag-07-different-formatting-delayed.html"
class="redirectShouldBeAllowed">link 10</a><br />
<a href="redirect-meta-tag-09-relative.html"
- class="redirectShouldBeAllowed">link 11</a>
+ class="redirectShouldBeAllowed">link 11</a><br />
+
+ <a href="redirect-http-location-header-png.php">link 12</a>
</p>
</body>
diff --git a/tests/content/subdirectory/1px.png b/tests/content/subdirectory/1px.png
new file mode 100644
index 0000000..4951e21
Binary files /dev/null and b/tests/content/subdirectory/1px.png differ
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/requestpolicy.git
More information about the Pkg-mozext-commits
mailing list