summaryrefslogtreecommitdiffstats
path: root/tests/auto/core/origins/resources/redirect.html
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/core/origins/resources/redirect.html')
-rw-r--r--tests/auto/core/origins/resources/redirect.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/auto/core/origins/resources/redirect.html b/tests/auto/core/origins/resources/redirect.html
new file mode 100644
index 000000000..603cb76f0
--- /dev/null
+++ b/tests/auto/core/origins/resources/redirect.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>redirect</title>
+ <script>
+ function addStylesheetLink(src) {
+ let link = document.createElement('link');
+ link.rel = 'stylesheet';
+ link.href = src;
+ document.getElementsByTagName("head")[0].appendChild(link);
+ }
+ </script>
+ </head>
+ <body>
+ Text
+ </body>
+</html>