Closed
Bug 123409
Opened 23 years ago
Closed 22 years ago
optimization for nsWindowWatcher::OpenWindowJS
Categories
(Core Graveyard :: Embedding: APIs, enhancement)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: timeless, Assigned: adamlock)
Details
Attachments
(1 file, 1 obsolete file)
953 bytes,
patch
|
asa
:
approval+
|
Details | Diff | Splinter Review |
Comment on attachment 67787 [details] [diff] [review] only check windowmodal if we aren't sure if the child should be modal r=adamlock
Attachment #67787 -
Flags: review+
Updated•22 years ago
|
QA Contact: mdunn → depstein
Comment 4•22 years ago
|
||
+ PRBool weAreModal = chromeFlags & nsIWebBrowserChrome::CHROME_MODAL; This is a bad way to set a boolean. You could end up with non-low bits set in the variable. You want (chromeFlags & nsIWebBrowserChrome::CHROME_MODAL) != 0
i was tempted to use !!() but was concerned that the number of comments i'd get if i did that would exceed the number of lines added/removed in the patch...
Attachment #67787 -
Attachment is obsolete: true
Comment 6•22 years ago
|
||
Comment on attachment 74044 [details] [diff] [review] same patch w/ ()!=0 a=asa (on behalf of drivers) for checkin to the 1.0 trunk
Attachment #74044 -
Flags: approval+
fixed
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Comment 8•22 years ago
|
||
Timeless, seems like the wrong patch was checked in. It contains: PRBool weAreModal = chromeFlags & nsIWebBrowserChrome::CHROME_MODAL;
Comment 9•22 years ago
|
||
reopening. you need to create another patch
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 10•22 years ago
|
||
Ignore me. I see the later fixup checkin now ...
Status: REOPENED → RESOLVED
Closed: 22 years ago → 22 years ago
Resolution: --- → FIXED
Comment 11•22 years ago
|
||
verified against 3/15/02 Mozilla debug build 0.9.9 mozilla/embedding/components/windowwatcher/src/nsWindowWatcher.cpp
Status: RESOLVED → VERIFIED
Updated•5 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•