mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-26 02:17:34 +09:00
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
This commit is contained in:
commit
dcd9973243
150858 changed files with 23884658 additions and 0 deletions
28
dom/xslt/crashtests/545927.html
Normal file
28
dom/xslt/crashtests/545927.html
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
<html>
|
||||
<head>
|
||||
<script>
|
||||
function main()
|
||||
{
|
||||
xml=document.implementation.createDocument('', '', null);
|
||||
xml.appendChild(doc=xml.createElement('root'));
|
||||
|
||||
var p = new DOMParser();
|
||||
text = '<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">';
|
||||
text += '<xsl:template match="/">';
|
||||
text += '<body>';
|
||||
text += '<xsl:number value="2147483648" format="i"/>';
|
||||
text += '</body>';
|
||||
text += '</xsl:template>';
|
||||
text += '</xsl:stylesheet>';
|
||||
xsl=p.parseFromString(text, 'text/xml');
|
||||
|
||||
xsltProcessor=new XSLTProcessor();
|
||||
xsltProcessor.importStylesheet(xsl);
|
||||
d = xsltProcessor.transformToFragment(xml, document);
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body onload="main()">
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue