Closed Bug 215049 Opened 22 years ago Closed 22 years ago

Form Submit from XSL file does nothing then crashes moz [@ nsGenericHTMLElement::GetLayoutHistoryAndKey ]

Categories

(Core :: XSLT, defect)

x86
All
defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 212793

People

(Reporter: marshall, Assigned: peterv)

Details

(Keywords: crash, testcase)

Crash Data

Attachments

(3 files)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 When try to submit a form which lies in an xsl stylesheet it does not submit and when you close mozilla it crashes. Reproducible: Always Steps to Reproduce: 1. create a dummy xml file and link the following stylesheet to it. 2. make style.xsl 3. copy code into style.xsl <?xml version="1.0" encoding="iso-8859-1"?> <xsl:stylesheet version="1.0" xmlns="http://www.w3.org/1999/xhtml" xmlns:html="http://www.w3.org/1999/xhtml" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" exclude-result-prefixes="html" > <xsl:output method="xml" indent="yes" encoding="iso-8859-1" /> <xsl:template match="/"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>..:Home Page:..</title> <link rel="stylesheet" type="text/css" href="style.css"></link> <script src="tools.js" type="text/javascript"></script> </head> <body bgcolor="#FFFFFF"> <table class="borderpic" width="600" height="107" border="0" cellpadding="10" cellspacing="0" align="center" > <tr> <td height="27" colspan="4" align="left" valign="top" class="regfont"> <table width="600" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="600" class="header"> <table width="600" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="600" class="header"> <form name="f" action="javascript: location.replace('http://www.wiscs.org')"> Search <input class="nputbox" type="text" name="q" size="35" autocomplete="off"></input> <input class="nputbox" type="submit" value="Search 3"></input><input type="hidden" name="start" value="0"></input> </form> </td> </tr> </table> </td> </tr> </table> </body> </html> Expected Results: submit form should take you to a new page but it does not. mozilla and phoenix crashes after you try to close it.
do you crash with 1.5a too (or Firebird 0.6.1) ? I remember there were XML/XSL fixes after 1.4 If so, please post Talkback ID "mozilla/bin/components/talkback.exe"
Tested in 1.5a and it didn't work either. Talkback gave me the Incident # TB22464950Z
can you attach both files (via create a new attachment) and remove all unnecessary code (such as tools.js, style.css) that still crash for you ?
Assignee: form-submission → peterv
Severity: normal → critical
Component: Form Submission → XSLT
Keywords: crash, stackwanted
QA Contact: ashishbhatt → keith
Whiteboard: TB22464950Z
Attached file test xml file
open this page up in the browser and try to click search.
this is the stylesheet containing the form to be submitted.
Didn't find dupes, marking NEW. Leaving component 'XSLT' as XSL is involved (althought stack doesn't really reflect something specific to XSL ?).
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: stackwantedtestcase
OS: Windows XP → All
Summary: Form Submit from XSL file does nothing then crashes moz → Form Submit from XSL file does nothing then crashes moz [@ nsGenericHTMLElement::GetLayoutHistoryAndKey ]
Whiteboard: TB22464950Z
I found the dupe. jag, get your butt up. *** This bug has been marked as a duplicate of 212793 ***
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Attachment #129174 - Attachment mime type: text/xsl → text/xml
Marshall, can you really produce the crash with the attached testcase? I can only produce a crash if i stick an <input type="file"> in there.
Crash Signature: [@ nsGenericHTMLElement::GetLayoutHistoryAndKey ]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: