Closed
Bug 719850
Opened 13 years ago
Closed 13 years ago
Web Console should be checked according to the selected tab
Categories
(Firefox :: Menus, defect)
Firefox
Menus
Tracking
()
RESOLVED
FIXED
Firefox 12
People
(Reporter: scoobidiver, Assigned: rogerio.rag)
References
Details
(Keywords: regression)
Attachments
(1 file, 1 obsolete file)
|
3.05 KB,
patch
|
dao
:
review+
|
Details | Diff | Splinter Review |
When you open a Web Console in a tab, the Web Console menu is checked and stays checked as long as you haven't closed it.
When you switch to a tab without an open Web console, it should be unchecked.
| Assignee | ||
Updated•13 years ago
|
Assignee: nobody → rogerio.rag
| Assignee | ||
Comment 1•13 years ago
|
||
We verified the existence of a web console opened in current tab.
Attachment #590980 -
Flags: review?(dao)
Comment 2•13 years ago
|
||
Comment on attachment 590980 [details] [diff] [review]
Patch to this bug.
>+function onShowWebDeveloperMenu() {
please rename this to onWebDeveloperMenuShowing
>+ gBrowser.selectedTab.linkedBrowser.ownerDocument.getElementById("Tools:WebConsole").setAttribute("checked", HUDConsoleUI.getOpenHUD() != null);
'gBrowser.selectedTab.linkedBrowser.ownerDocument' is the same as 'document'
General approach looks good!
Attachment #590980 -
Flags: review?(dao) → review-
| Assignee | ||
Comment 3•13 years ago
|
||
We made the suggested changes.
Attachment #590980 -
Attachment is obsolete: true
Attachment #591057 -
Flags: review?(dao)
Comment 4•13 years ago
|
||
Comment on attachment 591057 [details] [diff] [review]
The second version to this bug reviewed by dao.
thanks!
Attachment #591057 -
Flags: review?(dao) → review+
Updated•13 years ago
|
Keywords: checkin-needed
Comment 5•13 years ago
|
||
Keywords: checkin-needed
Target Milestone: --- → Firefox 12
Comment 6•13 years ago
|
||
landed a second time with the right author name:
http://hg.mozilla.org/integration/mozilla-inbound/rev/aa5578d6b29f
Comment 7•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•