Closed
Bug 297149
Opened 20 years ago
Closed 20 years ago
crash if xsl get a document.write js
Categories
(Firefox :: General, defect)
Tracking
()
VERIFIED
DUPLICATE
of bug 202765
People
(Reporter: xiaopeng, Unassigned)
Details
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; MyIE2)
Build Identifier: firefox 1.0.3
Take these file:
1.xml:
<?xml version="1.0" encoding="gb2312" ?>
<?xml-stylesheet type="text/xsl" href="1.xsl" ?>
<test>
</test>
1.xsl:
<?xml version="1.0" encoding="gb2312" ?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="html" encoding="gb2312"/>
<xsl:template match="/test">
<HTML>
<BODY bgcolor="red">
123<BR />
<SCRIPT language="javascript">
document.write("111111");
</SCRIPT>
</BODY>
</HTML>
</xsl:template>
</xsl:stylesheet>
then browser 1.xml with firefox, firefox will crash!
Reproducible: Always
Steps to Reproduce:
1. edit 1.xml and 1.xsl as which in detail
2. browser 1.xml with firefox
Actual Results:
firefox crash
*** This bug has been marked as a duplicate of 202765 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Updated•20 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•