testing/mochitest/redirect.html
author Jonas Sicking <jonas@sicking.cc>
Tue, 24 Feb 2009 11:46:51 -0800
changeset 23414 223c4d40bb760fcd86507efaa2467d2ec5a775e6
parent 11713 d1d0847a66a5890a8225aa961b6ac1244afd6301
permissions -rw-r--r--
Bug 479521: Don't follow unsafe same-site to cross-site redirects. Also fix a bug where reusing a XHR object that had been used cross site could result in the second request being more restrictive than it should be. r/sr=jst

<html>
<head>
  <title>redirecting...</title>

  <script type="text/javascript" src="redirect.js"></script>

  <script type="text/javascript">
    redirect("chrome://mochikit/content/harness.xul");
  </script>
</head>
<body>
redirecting...
</body>
</html>