blob: c2eb5136712b915b8670508c00625269964a79b5 [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 allows first-party cookies</title>
<script>
if (window.testRunner) {
testRunner.waitUntilDone();
testRunner.dumpAsText();
testRunner.dumpChildFramesAsText();
// 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.setAlwaysAcceptCookies(false);
}
</script>
<body>
<iframe src="http://127.0.0.1:8000/security/cookies/resources/set-a-cookie.php"></iframe>
</body>
</html>
</xsl:template>
</xsl:stylesheet>