blob: 56d4ee29b931f3b2631fe4b6bbc4faadf4b193c7 [file] [log] [blame]
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<title>Checks that an XSLT-generated HTML doc does not circumvent third-party cookie rules</title>
<script>
if (window.testRunner) {
testRunner.waitUntilDone();
testRunner.dumpAsText();
testRunner.dumpChildFrames();
// Start with a clean state, as otherwise an expired cookie for this domain could affect behavior with CFNetwork.
// Can be removed once rdar://problem/10080130 is fixed.
if (testRunner.setPrivateBrowsingEnabled)
testRunner.setPrivateBrowsingEnabled(true);
testRunner.setBlockThirdPartyCookies(true);
}
</script>
<body>
<iframe src="http://localhost:8000/security/cookies/resources/set-a-cookie.php"></iframe>
</body>
</html>
</xsl:template>
</xsl:stylesheet>