Modal dialog followed by page load -> browser locks up.

RESOLVED FIXED in mozilla0.9.1

Status

()

Core
XUL
--
critical
RESOLVED FIXED
17 years ago
17 years ago

People

(Reporter: Eric Pollmann, Assigned: David Hyatt)

Tracking

Trunk
mozilla0.9.1
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(3 attachments)

(Reporter)

Description

17 years ago
This issue was split out of bug 64702.

Scenario:
  A modal dialog pops up (e.g, a javascript alert), while simultaneously a load
happens in the window behind the modal dialog.

Problem:
  When the load completes in the window behind the modal dialog, the window
behind is given focus, which prevents the modal dialog from acting on events.
Unfortunately, since the modal dialog has a grab on events, nothing can be done
with the browser and it must be killed.

Expected behavior:
  When the load completes in the window behind the modal dialog, the window
behind should not be given focus.

I'll attach a test case that does not crash in today's build, and a patch that
fixes the problem, but not in the right way.  (Both from bug 64702)
(Reporter)

Comment 1

17 years ago
Created attachment 30689 [details] [diff] [review]
reduced non-crasher testcase
(Reporter)

Comment 2

17 years ago
Created attachment 30691 [details]
reduced non-crasher testcase [html this time :) ]
(Reporter)

Comment 3

17 years ago
Created attachment 30693 [details] [diff] [review]
patch - hack fix
(Assignee)

Updated

17 years ago
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.1
(Reporter)

Comment 4

17 years ago
WORKSFORME in latest builds.  Hyatt, you fixed this, right?  :)
Severity: normal → blocker
Status: ASSIGNED → RESOLVED
Last Resolved: 17 years ago
Component: XP Toolkit/Widgets: XUL → ActiveX Wrapper
OS: Windows NT → All
QA Contact: jrgm
Hardware: PC → All
Resolution: --- → FIXED
Summary: Modal dialog followed by page load -> browser locks up.
Target Milestone: mozilla0.9.1 → M1

Updated

17 years ago
Severity: blocker → critical
Component: ActiveX Wrapper → XP Toolkit/Widgets
QA Contact: jrgm
Summary: Modal dialog followed by page load -> browser locks up.
Target Milestone: M1 → mozilla0.9.1
You need to log in before you can comment on or make changes to this bug.