Closed
Bug 257650
Opened 21 years ago
Closed 21 years ago
window.close() causes crash when used in XSL document [@ nsGenericElement::InsertChildAt ]
Categories
(Firefox :: General, defect)
Tracking
()
VERIFIED
DUPLICATE
of bug 240592
People
(Reporter: coff, Assigned: bugzilla)
Details
(Keywords: crash)
Crash Data
Attachments
(1 file)
364 bytes,
text/xsl
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3
Using window.close() javascript function from within a XSL stylesheet causes
Firefox crash.
Reproducible: Always
Steps to Reproduce:
test.xml contents:
<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type='text/xsl' href='test.xsl'?>
<Anything>
blabla...
</Anything>
test.xsl contents:
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html"/>
<xsl:template match="/Anything">
<html><head></head><body>
<script type="text/JavaScript">
<![CDATA[
window.close();
]]>
</script></body></html>
</xsl:template>
</xsl:stylesheet>
test.htm:
some file from which test.xml is opened in a new window with window.open
('test.xml','Wizard','toolbar=0,direction=0,status=0,menubar=0,scrollbar=0
scrolling=no, width=500,height=450,top=50,left=50')
Actual Results:
Mozilla crashed.
Expected Results:
Window should close.
Comment 1•21 years ago
|
||
20040829/aviary/W2K -> TB709211X
Trunk SeaMonkey build doesn't crash, it just producing JS error:
Error: uncaught exception: [Exception... "Component returned failure code:
0x80004005 (NS_ERROR_FAILURE) [nsIControllers.removeController]" nsresult:
"0x80004005 (NS_ERROR_FAILURE)" location: "JS frame ::
chrome://navigator/content/navigator.js :: Shutdown :: line 742" data: no]
Assignee: bugs → firefox
Component: JavaScript Console → General
Keywords: crash,
talkbackid
QA Contact: firefox.js-console → firefox.general
Whiteboard: TB709211X
Comment 2•21 years ago
|
||
that error has been happening for months and is of no interest to anyone.
Stack Trace
firefox.exe + 0x16163a (0x0056163a)
firefox.exe + 0x161d70 (0x00561d70)
firefox.exe + 0x1e610a (0x005e610a)
firefox.exe + 0x41a196 (0x0081a196)
firefox.exe + 0x40a62f (0x0080a62f)
firefox.exe + 0x4095bb (0x008095bb)
please crash again when talkback is working better
Keywords: talkbackid
Whiteboard: TB709211X
Comment 4•21 years ago
|
||
I crashed with FF093 and stacks look better:
nsGenericElement::InsertChildAt
[d:/builds/tinderbox/firefox-0.9.3/WINNT_5.0_Clobber/mozilla/content/base/src/nsGenericElement.cpp,
line 2490]
nsGenericElement::doInsertBefore
[d:/builds/tinderbox/firefox-0.9.3/WINNT_5.0_Clobber/mozilla/content/base/src/nsGenericElement.cpp,
line 2857]
nsHTMLDivElement::AppendChild
[d:/builds/tinderbox/firefox-0.9.3/WINNT_5.0_Clobber/mozilla/content/html/content/src/nsHTMLDivElement.cpp,
line 62]
txEndElement::execute
[d:/builds/tinderbox/firefox-0.9.3/WINNT_5.0_Clobber/mozilla/extensions/transformiix/source/xslt/txInstructions.cpp,
line 487]
txXSLTProcessor::execute
[d:/builds/tinderbox/firefox-0.9.3/WINNT_5.0_Clobber/mozilla/extensions/transformiix/source/xslt/txXSLTProcessor.cpp,
line 99]
txMozillaXSLTProcessor::setStylesheet
[d:/builds/tinderbox/firefox-0.9.3/WINNT_5.0_Clobber/mozilla/extensions/transformiix/source/xslt/txMozillaXSLTProcessor.cpp,
line 667]
Timeless: dupe of bug 240592?
There are 73 incidents with signature, most with Aviary Firefox:
http://talkback-public.mozilla.org/talkback/fastfind.jsp?search=1&searchby=stacksig&match=contains&searchfor=nsGenericElement%3A%3AInsertChildAt
Summary: window.close() causes crash when used in XSL document → window.close() causes crash when used in XSL document [@ nsGenericElement::InsertChildAt ]
*** This bug has been marked as a duplicate of 240592 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
Updated•21 years ago
|
Status: RESOLVED → VERIFIED
Updated•14 years ago
|
Crash Signature: [@ nsGenericElement::InsertChildAt ]
You need to log in
before you can comment on or make changes to this bug.
Description
•