[Pkg-mozext-commits] [requestpolicy] 03/10: add an iframe test to testInlineRedirect, see #561
David Prévot
taffit at moszumanska.debian.org
Sun May 10 03:19:37 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository requestpolicy.
commit 75fbd6ad6b53f503ed90e0ec013ae4f50c067f87
Author: Martin Kimmerle <dev at 256k.de>
Date: Wed May 6 19:34:39 2015 +0200
add an iframe test to testInlineRedirect, see #561
---
tests/content/redirect-iframe.html | 24 ++++++++++++++++++++++
.../tests/testRedirect/testInlineRedirect.js | 1 +
2 files changed, 25 insertions(+)
diff --git a/tests/content/redirect-iframe.html b/tests/content/redirect-iframe.html
new file mode 100644
index 0000000..1ffa4bf
--- /dev/null
+++ b/tests/content/redirect-iframe.html
@@ -0,0 +1,24 @@
+<!doctype html>
+<html>
+ <head>
+ <meta charset="utf-8" />
+ </head>
+ <body>
+
+ <p>
+ This page contains iframes. The URLs of their `src` attributes
+ redirect to another page.
+ </p>
+
+ <!--
+ Note: The `?random=123` string is (probably) needed because of bug #476.
+ -->
+
+ <iframe src="redirect-http-location-header.php?random=123">
+ </iframe>
+
+ <iframe src="redirect-http-location-header-png.php?random=123">
+ </iframe>
+
+ </body>
+</html>
diff --git a/tests/mozmill/tests/testRedirect/testInlineRedirect.js b/tests/mozmill/tests/testRedirect/testInlineRedirect.js
index d0e1937..f21458a 100644
--- a/tests/mozmill/tests/testRedirect/testInlineRedirect.js
+++ b/tests/mozmill/tests/testRedirect/testInlineRedirect.js
@@ -17,6 +17,7 @@ var rpUtils = require(rpRootDir + "lib/rp-utils");
var testURLPrePath = "http://www.maindomain.test/";
var urlsWithInlineRedirect = [
"redirect-inline-image.html",
+ "redirect-iframe.html",
];
--
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