Closed Bug 348980 Opened 18 years ago Closed 13 years ago

window.onresize=alert() makes browser pane resizing to run forever

Categories

(Other Applications :: DOM Inspector, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 626963

People

(Reporter: maris.nartiss, Unassigned)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.5) Gecko/20060731 Ubuntu/dapper-security Firefox/1.5.0.5 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.5) Gecko/20060731 Ubuntu/dapper-security Firefox/1.5.0.5 When resizing browser pane in DOM inspector, it fires window.onresize event (that's correct). Problems start if this event produces some modal dialog(?) i.e. alert(). Browser pane bar (that is used for resizing) looses focus and does not receive mouseup event that should mark end of resizing. Thus future mouse overs continue to resize browser pane, thus emiting window.onresize events and so on without any chance to use DOM inspector without closing and opening it's window. Reproducible: Always Steps to Reproduce: 1. In DOM inspector load page with window.onresize=function(){alert('foo')}; 2. Try to resize browser pane; 3. After closing alert(), try to move mouse from browsers pane to node tree. Actual Results: I'm unable to reach any DOM inspector controls with mouse. Expected Results: As UI lock by modal dialogs(?) is another bug, it would be enough, that before firing window.onresize event there wuold be emited mouseup event to browser pane element. (I'm just user, dunno how DOM inspector works, so - my suggestion is just hypotetical)
I fail to see, frankly, how this is a bug on Inspector.
Whiteboard: DUPEME
Assignee: dom-inspector → nobody
QA Contact: timeless → dom-inspector
Attached file Testcase
Test case, that shows bug with Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.4) Gecko/20070627 Firefox/2.0.0.4 And it's a bug in inspector, as it does not properly manages mouse events if browser pane is visible.
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
Whiteboard: DUPEME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: