xslt-test.sub.xml (589B)
1 <?xml version="1.0" encoding="UTF-8"?> 2 <?xml-stylesheet href="https://{{host}}:{{ports[https][0]}}/fetch/metadata/resources/record-header.py?file=xslt-same-origin{{GET[token]}}" type="text/xsl" ?> 3 <!-- Only testing same-origin XSLT because same-site and cross-site XSLT is blocked. --> 4 5 <!-- postMessage parent back when the resources are loaded --> 6 <script xmlns="http://www.w3.org/1999/xhtml"><![CDATA[ 7 setTimeout(function(){ 8 if (window.opener) 9 window.opener.postMessage("", "*"); 10 if (window.top != window) 11 window.top.postMessage("", "*");}, 100); 12 ]]></script>