bugzilla.mozilla.org has resumed normal operation. Attachments prior to 2014 will be unavailable for a few days. This is tracked in Bug 1475801.
Please report any other irregularities here.

Malformed xform crashes Firefox

RESOLVED INVALID

Status

Core Graveyard
XForms
RESOLVED INVALID
12 years ago
2 years ago

People

(Reporter: Elliotte Rusty Harold, Unassigned)

Tracking

({crash})

1.8 Branch
PowerPC
Mac OS X
crash

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

12 years ago
User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.0.8) Gecko/20061025 Firefox/1.5.0.8
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.0.8) Gecko/20061025 Firefox/1.5.0.8

The attached file crashes Firefox reliably with the MNozilla XForms plugin 0.7 installed. 

Reproducible: Always

Steps to Reproduce:
Open attached file.
(Reporter)

Comment 1

12 years ago
Bugzilla is acting up and won't let me attach the file. Here's the code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:xforms="http://www.w3.org/2002/xforms">
<head>
	<title>Hello XForms</title>

<xforms:model 
    xmlns:xs="http://www.w3.org/2001/XMLSchema" 
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    schema="cc.xsd">
  <xforms:instance>
    <CreditCardInfo xmlns="">
      <Name />
      <Number />
      <CVV2 />
      <Expiration xsi:type="xs:date"/>
      <Address1 />
      <Address2 />
      <City />
      <State />
      <Zip />
    </CreditCardInfo>
  </xforms:instance>
  <xforms:submission action="http://example.com/submit" method="post" id="submit" includenamespaceprefixes=""/>
</xforms:model>


</head>
<body>

<p>To order your collector's item Reebo and Zooti dolls simply fill in your credit card information:</p>

<xforms:input ref="Name">
  <xforms:label>Name as it appears on the credit card:</xforms:label>
</xforms:input>

<xforms:range ref="Name">
  <xforms:label>Range

<xforms:input ref="Number" id="ccnumber">
  <xforms:label>Credit Card Number:</xforms:label>
</xforms:input>

<xforms:input ref="CVV2">
  <xforms:label>CVV2:</xforms:label>
</xforms:input>

<xforms:input ref="Expiration" xsi:type="xs:date"     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
>
  <xforms:label>Expiration date:</xforms:label>
</xforms:input>

<xforms:input ref="City">
  <xforms:label>City:</xforms:label>
</xforms:input>

<xforms:input ref="Address1">
  <xforms:label>Address Line 1:</xforms:label>
</xforms:input>

<xforms:input ref="Address2">
  <xforms:label>Address Line 2:</xforms:label>
</xforms:input>

<xforms:select1 ref="State">
  <xforms:label>State:</xforms:label>
    <xforms:item>
      <xforms:label>AA</xforms:label>
      <xforms:value>AA</xforms:value> 
    </xforms:item>
    <xforms:item>
      <xforms:label>AK</xforms:label>
      <xforms:value>AK</xforms:value> 
    </xforms:item>
    <xforms:item>
      <xforms:label>CA</xforms:label>
      <xforms:value>CA</xforms:value> 
    </xforms:item>
    <xforms:item>
      <xforms:label>NY</xforms:label>
      <xforms:value>NY</xforms:value> 
    </xforms:item>
    <!-- more states follow -->
</xforms:select1>

<xforms:input ref="Zip" id="zip">
  <xforms:label>Zip code:</xforms:label>
</xforms:input>

<xforms:submit submission="submit">
  <xforms:label>Buy Now!</xforms:label>
</xforms:submit>

</body>
</html>
Assignee: general → nobody
Component: General → General
Product: Mozilla Application Suite → Firefox
QA Contact: general → general
Version: unspecified → 1.5.0.x Branch
Firefox v1.5.x is not supported anymore.

R.Invalid.

Reopen if you can reproduce with Firefox v2.0.0.14 and Mozilla XForms extension v0.8.4.
Component: General → XForms
Product: Firefox → Core
QA Contact: general → xforms
Version: 1.5.0.x Branch → 1.8 Branch
Status: UNCONFIRMED → RESOLVED
Last Resolved: 10 years ago
Keywords: crash
Resolution: --- → INVALID

Updated

10 years ago
Attachment #248757 - Attachment mime type: text/html → application/xhtml+xml

Comment 4

10 years ago
attached testcase doesn't crash in FF 2.0.0.14 with Mozilla XForms 0.8.5 so leaving the testcase closed.
(Assignee)

Updated

2 years ago
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.