summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Carl <danielcarl@gmx.de>2014-11-27 22:57:27 +0100
committerDaniel Carl <danielcarl@gmx.de>2014-11-27 22:59:15 +0100
commit0891851d1fe6245c179f4001d2bbe4bd14974383 (patch)
treedcb90fb51950d21925f287fd66d9c3397b9cb912
parent279c46e6a2384017fe841bc46c4ce3a9844b5e3e (diff)
Added manual tests for HSTS uri change in iFrame (#146).
-rw-r--r--.gitignore1
-rw-r--r--tests/manual/146-hsts-iframe.html15
2 files changed, 16 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 619fd38..0d7d2d5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,3 +8,4 @@ src/config.h
tests/*
!tests/Makefile
!tests/*.c
+!tests/manual/
diff --git a/tests/manual/146-hsts-iframe.html b/tests/manual/146-hsts-iframe.html
new file mode 100644
index 0000000..2142561
--- /dev/null
+++ b/tests/manual/146-hsts-iframe.html
@@ -0,0 +1,15 @@
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>iFrame URI change by HSTS (#146)</title>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+</head>
+<body>
+ <p>
+ The hsts domain used in iFrame with http must not lead to load the
+ iframe content as page.
+ </p>
+ <iframe src="http://github.com/fanglingsu/vimb" width="600" height="400">
+ Github
+ </iframe>
+</body>
+</html>