Closed
Bug 998747
Opened 11 years ago
Closed 6 years ago
window.showModalDialog crashes mac os and firefox
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: jordi.chancel, Unassigned)
Details
(4 keywords)
Attachments
(1 file)
|
267 bytes,
text/html
|
Details |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:28.0) Gecko/20100101 Firefox/28.0 (Beta/Release)
Build ID: 20140314220517
Steps to reproduce:
- When you open too much window.showModalDialog ,
MAC OS crashes and firefox craches too.
code :
<body onload="javascript:crash();"></body>
<script>
function crash() {
var string1 = unescape("%u0000%udead");
for (i =0;i<10000;i++) {
string1+=string1+string1;
window.showModalDialog(string1, string1, "dialogHeight:300px; dialogLeft:200px;");
}
}
</script>
Actual results:
MAC OS CRASHES AND FIREFOX CRASHES TOO.
Expected results:
too much window.showModalDialog are opened.
| Reporter | ||
Comment 1•11 years ago
|
||
i have just tested this on mac os!
could you upload and attach your crash signature from about:crashes please?
Flags: needinfo?(jordi.chancel)
| Reporter | ||
Comment 3•11 years ago
|
||
firefox and mac os crashes but i don't view anything about this crash on about:crashes.
please test.
Flags: needinfo?(jordi.chancel)
Comment 4•11 years ago
|
||
Resource exhaustion
Group: core-security
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updated•11 years ago
|
Flags: firefox-backlog+
Updated•11 years ago
|
Component: Untriaged → DOM
Product: Firefox → Core
Comment 5•6 years ago
|
||
showModalDialog was disabled in 56 and removed later, see bug 1374460.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WORKSFORME
| Assignee | ||
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•