Closed
Bug 311830
Opened 19 years ago
Closed 19 years ago
[FIX]Random window-related cleanups
Categories
(Core :: DOM: Core & HTML, defect, P3)
Tracking
()
RESOLVED
FIXED
mozilla1.9alpha1
People
(Reporter: bzbarsky, Assigned: bzbarsky)
References
Details
Attachments
(1 file, 1 obsolete file)
18.57 KB,
patch
|
Details | Diff | Splinter Review |
See review comments in bug 296639 comment 49.
![]() |
Assignee | |
Updated•19 years ago
|
Blocks: splitwindows
![]() |
Assignee | |
Comment 1•19 years ago
|
||
Most of this is straightforward cleanup. The one interesting bit (which needs
bryner's review, or someone else familiar with focus) is the change to
nsEventStateManager::PreHandleEvent in the NS_LOSTFOCUS case (the part that
says "@@ -711,32 +689,18 @@ nsEventStateManager::PreHandleEvent(nsPr"). The
change here was that I realized that ourGlobal is unused, and has been ever
since saari checked this code in. He copy/pasted the code from somewhere that
_did_ use ourGlobal to get a focus controller to suppress; that was the
NS_DEACTIVATE case at the time, and that code has since been removed
(NS_DEACTIVATE now just gets the focus controller from mDocument).
I believe the change I made completely preserves the existing behavior, but I'm
not sure whether that was correct to start with, so would like some advice on
that.
Attachment #199038 -
Flags: superreview?(jst)
Attachment #199038 -
Flags: review?(bryner)
![]() |
Assignee | |
Updated•19 years ago
|
Priority: -- → P3
Summary: Random window-related cleanups → [FIX]Random window-related cleanups
Target Milestone: --- → mozilla1.9alpha
Comment 2•19 years ago
|
||
Comment on attachment 199038 [details] [diff] [review]
Patch
sr=jst on these changes. I honestly don't understand focus well enough to answer your focus question...
Attachment #199038 -
Flags: superreview?(jst) → superreview+
![]() |
Assignee | |
Comment 3•19 years ago
|
||
jst, all good. That's where bryner's review comes in. ;)
Updated•19 years ago
|
Attachment #199038 -
Flags: review?(bryner) → review+
![]() |
Assignee | |
Comment 4•19 years ago
|
||
Attachment #199038 -
Attachment is obsolete: true
![]() |
Assignee | |
Comment 5•19 years ago
|
||
Fixed.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•