Closed
Bug 498841
Opened 17 years ago
Closed 17 years ago
gURLBar.timeout shouldn't be set in BrowserStartup
Categories
(Firefox :: Address Bar, defect)
Firefox
Address Bar
Tracking
()
RESOLVED
FIXED
Firefox 3.6a1
People
(Reporter: dao, Assigned: dao)
References
Details
Attachments
(1 file)
|
2.88 KB,
patch
|
Gavin
:
review+
|
Details | Diff | Splinter Review |
browserStartup is the wrong place for this, as the urlbar doesn't necessarily exist on startup.
| Assignee | ||
Updated•17 years ago
|
Assignee: nobody → dao
| Assignee | ||
Comment 1•17 years ago
|
||
Attachment #383654 -
Flags: review?(gavin.sharp)
| Assignee | ||
Updated•17 years ago
|
Summary: browser.urlbar.delay shouldn't be read & gURLBar.timeout shouldn't be set in browserStartup → gURLBar.timeout shouldn't be set in browserStartup
| Assignee | ||
Updated•17 years ago
|
Summary: gURLBar.timeout shouldn't be set in browserStartup → gURLBar.timeout shouldn't be set in BrowserStartup
Comment 2•17 years ago
|
||
Comment on attachment 383654 [details] [diff] [review]
patch
While you're touching this code:
>+ document.documentElement.getAttribute("chromehidden").indexOf("toolbar") != -1) {
|toolbar.visible| would be so much easier to read...
Comment 3•17 years ago
|
||
(In reply to comment #2)
> >+ document.documentElement.getAttribute("chromehidden").indexOf("toolbar") != -1) {
>
> |toolbar.visible| would be so much easier to read...
IIRC that's not the same test, though I don't recall the distinction.
Updated•17 years ago
|
Attachment #383654 -
Flags: review?(gavin.sharp) → review+
| Assignee | ||
Comment 4•17 years ago
|
||
I don't think there's a difference... I recall researching this for bug 470051. A quick search now leads to this:
http://mxr.mozilla.org/mozilla-central/source/dom/base/nsBarProps.cpp#165
http://mxr.mozilla.org/mozilla-central/source/xpfe/appshell/src/nsXULWindow.cpp#2093
I won't change it in this bug, though.
| Assignee | ||
Comment 5•17 years ago
|
||
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3.6a1
You need to log in
before you can comment on or make changes to this bug.
Description
•