1
0
Fork 0
firefox/dom/security/test/csp/file_xslt_inherits_csp.xsl
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

26 lines
819 B
XML

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.1">
<xsl:output method="html"/>
<xsl:variable name="title" select="/root/t"/>
<xsl:template match="/">
<html>
<head>
<title>
<xsl:value-of select="$title"/>
</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
</head>
<body>
<p>
Below is some inline JavaScript generating some red text.
</p>
<p id="bug"/>
<script>
document.body.append("JS DID EXCECUTE");
</script>
<a onClick='document.body.append("JS DID EXCECUTE");' href="#">link with lineOnClick</a>
</body>
</html>
</xsl:template>
</xsl:stylesheet>