Closed Bug 1249247 Opened 8 years ago Closed 8 years ago

Firefox crashes with minimal HTML when using materialize-css datepicker

Categories

(Firefox :: Untriaged, defect)

44 Branch
x86_64
Linux
defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 1246447

People

(Reporter: bugzilla, Unassigned)

Details

(Keywords: crash, testcase)

Crash Data

I can reproducibly crash Firefox 44 with this minimal HTML snippet:

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.5/css/materialize.min.css">
  </head>
  <body>
    <form>
      <input type="date" name="foobar">
    </form>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.5/js/materialize.min.js"></script>
    <script>$('[name="foobar"]').pickadate();</script>
  </body>
</html>

How to reproduce:

1. Load this page, click the date input.
2. Materialize.css opens a modal dialog element.
3. Firefox crashes during opening. Sometimes I can open and close the dialog 2 to 3 times, but it mostly crashes on first try.

Prerequisites:

* The CSS file must be there (not necessarily from the CDN)
* Both JS files must be there (ditto)
* when jQuery is loaded in version 2.2.0, Materialize doesn't open any dialog for whatever reason, so no bug. 1.8.3 crashes reliably, though.
* There must be a <form> ancestor to the <input> (not necessarily as parent)

Accompanying crash report:

https://crash-stats.mozilla.com/report/index/0095a81f-b6a4-4435-87ff-f4f082160218
WFM in Fx44.0.2 & 45.0b6 & 47.0a1 (2016-02-16) on Win10.
Severity: normal → critical
Crash Signature: [@ mozilla::a11y::DocAccessible::ARIAAttributeChanged ]
Keywords: crash, testcase
Note you have to make sure accessibility is active (since accessibility code seems to cause the crash). You can achieve this by running Windows Narrator along with Firefox.
I think this is a dupe of an earlier bug report, let's converge there. (Thanks Loic)
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.