Closed
Bug 520538
Opened 15 years ago
Closed 15 years ago
-new-tab about:blank should focus the location bar
Categories
(Firefox :: Shell Integration, defect)
Firefox
Shell Integration
Tracking
()
RESOLVED
FIXED
Firefox 3.7a1
People
(Reporter: dao, Assigned: dao)
References
Details
Attachments
(1 file, 1 obsolete file)
2.88 KB,
patch
|
Gavin
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•15 years ago
|
||
Attachment #404595 -
Flags: review?(gavin.sharp)
Comment 2•15 years ago
|
||
Won't this change behavior in the loadDivertedInBackground=true case (will now focus the window and select the tab)? Seems like perhaps we should just call focusAndSelectURLBar() (being re-added by bug 494373) if we're loading about:blank here?
Assignee | ||
Comment 3•15 years ago
|
||
I think we actually want to ignore loadDivertedInBackground for the new-tab command from bug 518666.
Assignee | ||
Comment 4•15 years ago
|
||
Attachment #404595 -
Attachment is obsolete: true
Attachment #405029 -
Flags: review?(gavin.sharp)
Attachment #404595 -
Flags: review?(gavin.sharp)
Comment 7•15 years ago
|
||
(In reply to comment #3)
> I think we actually want to ignore loadDivertedInBackground for the new-tab
> command from bug 518666.
I agree, but I'm having a hard time trading that off with breaking the loadDivertedInBackground pref for other -new-tab about:blank loads. Even though the impact may be really low (hidden pref -> few people using it, etc.), the inconsistency irks me. We could instead add a -focus for that command to use, perhaps?
Assignee | ||
Comment 8•15 years ago
|
||
I don't really see the point of loading about:blank in a background tab. It's probably not what people touching that hidden pref had in mind. For that matter, I can't even think uses of -new-tab about:blank that shouldn't be translated to "open a new tab".
Comment 9•15 years ago
|
||
Comment on attachment 405029 [details] [diff] [review]
test added
OK, you make a convincing case!
Attachment #405029 -
Flags: review?(gavin.sharp) → review+
Assignee | ||
Comment 10•15 years ago
|
||
Status: NEW → RESOLVED
Closed: 15 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3.7a1
You need to log in
before you can comment on or make changes to this bug.
Description
•