Closed
Bug 420259
Opened 16 years ago
Closed 7 years ago
Browser hangs if Flash triggers onerror handler that alerts
Categories
(Core Graveyard :: Plug-ins, defect)
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: mozilla, Unassigned)
References
()
Details
(Keywords: hang)
Attachments
(4 files)
Embedding a Flash movie (regardless of its content) into a cross-domain iframe generates an error: "Permission denied to call Location.toString()". I don't know why this is, but it is annoying but relatively harmless in itself. However, if the page sets a window.onerror handler and that handler displays an alert dialog box, the browser hangs and cannot be closed. Steps to reproduce: 1) On a Mac, visit http://crypto.stanford.edu/~collinj/test/ff3freeze 2) Try to click the "OK" button Expected results: Dialog is dismissed. Actual results: Alert dialog cannot be dismissed. We've only been able to reproduce this on the Mac so far. I tested Firefox 3 beta 3, and the latest nightly; both had the same behavior. I also tested Gran Paradiso alpha 1, which crashed. Firefox 2 does not appear to have this bug.
could you please provide a sampler.app profiled stack trace, or use kill -4 {firefox-pid} to trick a crash report?
Component: OS Integration → Plug-ins
Keywords: hang
Product: Firefox → Core
QA Contact: os.integration → plugins
Reporter | ||
Comment 2•16 years ago
|
||
(In reply to comment #1) > could you please provide a sampler.app profiled stack trace, or use kill -4 > {firefox-pid} to trick a crash report? Here's a crash report generated with kill -4.
Comment 3•16 years ago
|
||
I can reproduce this (with today's Minefield nightly, on OS X 10.5.2). At some point (hopefully today) I'll post a gdb trace of all stacks made using a Minefield build with debug symbols. I'll also look for a regression range.
Comment 4•16 years ago
|
||
This doesn't happen on Windows (with yesterday's Minefield nightly).
Comment 5•16 years ago
|
||
> I'll also look for a regression range.
Collin, if you don't mind (and have time) you could do this yourself.
Just test older nightlies until you find out between which two
nightlies the problem started happening.
Comment 6•16 years ago
|
||
OK, here are two traces made using gdb with a Minefile build that has debug symbols. I pulled the code for this build this morning, so it's more-or-less equivalent to today's nightly. The first trace was made just before clicking on the OK button. The second was made just afterwards. You'll notice that they appear to be identical. I've also found the regression range for this bug: It doesn't happen with the 2007-07-18-04-trunk and previous Minefield nightlies. It does happen with the 2007-07-19-04-trunk and later Minefield nightlies. The problem's symptoms aren't always exactly the same. Sometimes you don't see the alert dialog. But the Flash "movie" doesn't load, and the "hang" occurs when you try to reload it. Other times you do see the alert dialog. It's hard to tell which patches might have caused (or triggered) this bug. But I can think of two (with the more likely one listed first): bug 386799 (landed 2007-07-18 07:40) bug 364786 (landed 2007-07-18 07:22)
Comment 7•16 years ago
|
||
Comment 8•16 years ago
|
||
Interestingly, the problem doesn't happen with today's Camino nightly.
Flags: blocking1.9?
Reporter | ||
Comment 9•16 years ago
|
||
Not sure if this is helpful, but here is the source code for the SWF movie in the test case. It doesn't do anything.
Reporter | ||
Updated•16 years ago
|
Attachment #306568 -
Attachment description: Contents of Flash movie → Source code of SWF file
Comment 10•16 years ago
|
||
Thanks, it might be.
Comment 11•16 years ago
|
||
Not a blocker, unless this is a pattern that's extremely common on the web, which I see no evidence of so far.
Flags: wanted1.9.0.x+
Flags: blocking1.9?
Flags: blocking1.9+
Comment 12•16 years ago
|
||
Fixing flag, as per comment 11 I think jst meant to minus this ...
Flags: blocking1.9+ → blocking1.9-
Comment 13•16 years ago
|
||
please open venkman and enable chrome debugging. it sounds like an exception happens while trying to process the OK button in the alert dialog.
Comment 14•16 years ago
|
||
Possibly related to bug 436473 and bug 442442.
Comment 15•13 years ago
|
||
(In reply to comment #14) > Possibly related to bug 436473 and bug 442442. fixed now that bug 436473 is fixed?
Severity: normal → critical
Comment 16•13 years ago
|
||
The testcase does not do anything on my Mac except display a gray rectangle. No alert box appears.
Comment 17•7 years ago
|
||
This website isn´t accessable anymore.
Severity: critical → normal
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
Updated•2 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•