blob: ab44ac9e94db495c0cb0fb3f9df536aade6e5bd5 [file] [log] [blame]
<html>
<head>
<link rel="stylesheet" type="text/css"
href="http://localhost:8000/resources/redirect.py?url=http://localhost:8000/security/resources/cssStyle.css">
<script>
if (window.testRunner)
testRunner.dumpAsText();
function log(msg) {
document.getElementById('console').innerHTML = msg;
}
window.onload = function() {
log(document.styleSheets[0].href);
}
</script>
</head>
<body>
A style sheet's href should be the original URL, not the final URL, of the
redirect chain:
<div id="console">Waiting...</div>
</body>
</html>