diff options
Diffstat (limited to 'tests/auto/core/origins/resources/redirect.html')
-rw-r--r-- | tests/auto/core/origins/resources/redirect.html | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/auto/core/origins/resources/redirect.html b/tests/auto/core/origins/resources/redirect.html index bc4a9b80e..603cb76f0 100644 --- a/tests/auto/core/origins/resources/redirect.html +++ b/tests/auto/core/origins/resources/redirect.html @@ -2,7 +2,14 @@ <html> <head> <title>redirect</title> - <link rel="stylesheet" href="redirect:redirect-secure/resources/redirect.css"> + <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 |