Closed Bug 75845 Opened 23 years ago Closed 23 years ago

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

Categories

(Core :: XUL, defect)

defect
Not set
critical

Tracking

()

RESOLVED FIXED
mozilla0.9.1

People

(Reporter: pollmann, Assigned: hyatt)

References

()

Details

Attachments

(3 files)

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)
Attached patch patch - hack fixSplinter Review
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.1
WORKSFORME in latest builds.  Hyatt, you fixed this, right?  :)
Severity: normal → blocker
Status: ASSIGNED → RESOLVED
Closed: 23 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
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.

Attachment

General

Creator:
Created:
Updated:
Size: