Closed Bug 729566 Opened 12 years ago Closed 12 years ago

alert() in window.onresize crashes Firefox

Categories

(Firefox :: Untriaged, defect)

10 Branch
x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 626963

People

(Reporter: ts, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:10.0.2) Gecko/20100101 Firefox/10.0.2
Build ID: 20120216100510

Steps to reproduce:

The following html crashes Firefox directly upon opening on some systems, others crash on resizing the window.

<!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">
<head>
<title>Test</title>

<script type="text/javascript">
    window.onresize = function () {
        alert("gg");
    };
</script>
</head>
<body>
&nbsp;
</body>
</html>

Tested on Windows (8.0.1)
Mac & Linux (x64) (10.0.2)


Actual results:

Firefox freezes and crashes upon closing.


Expected results:

No Crash :)
Do you have crash report IDs?
Are you seeing a crash, or just failure to paint?  If the latter, duplicate of bug 626963.
This is a dupe of bug 626963. The behavior that I'm seeing is the same.

Removing security sensitive flag.
Group: core-security
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.