Closed
Bug 1612720
Opened 6 years ago
Closed 5 years ago
Port |Bug 461013 - get rid of |aTab.localName != "tab"| checks in removeAllTabsBut, removeTab and reloadTab| and tidy up
Categories
(SeaMonkey :: Tabbed Browser, task)
SeaMonkey
Tabbed Browser
Tracking
(seamonkey2.49esr wontfix, seamonkey2.53 fixed, seamonkey2.57esr fixed)
RESOLVED
FIXED
seamonkey 2.73
People
(Reporter: iannbugzilla, Assigned: iannbugzilla)
Details
(Whiteboard: SM2.53.2)
Attachments
(1 file, 1 obsolete file)
4.30 KB,
patch
|
iannbugzilla
:
review+
iannbugzilla
:
approval-comm-release+
iannbugzilla
:
approval-comm-esr60+
|
Details | Diff | Splinter Review |
Port changes from:
- Bug 461013 - get rid of |aTab.localName != "tab"| checks in removeAllTabsBut, removeTab and reloadTab.
Also some tidy up:
- menu.setAttribute("disabled", foo) -> menu.disabled = foo
- matching reloadTab method with Firefox
[Approval Request Comment]
Regression caused by (bug #): n/a
User impact if declined: none
Testing completed (on m-c, etc.): 2.53
Risk to taking this patch (and alternatives if risky): none
String changes made by this patch: none
Attachment #9123948 -
Flags: review?(frgrahl)
Attachment #9123948 -
Flags: approval-comm-release?
Attachment #9123948 -
Flags: approval-comm-esr60?
![]() |
||
Comment 2•5 years ago
•
|
||
Comment on attachment 9123948 [details] [diff] [review]
Port changes
LGTM
One minor thing. I would put parentheses around the logical operators in menuitem.disabled:
+ menuitem.disabled =
+ (tbattr.includes("tabbrowser-multiple") && !isMultiple) ||
+ (tbattr.includes("tabbrowser-tab") && !isTab);
Precedence of Logical Operators is right and && higher but find it more readable this way. r/a+ either way.
Attachment #9123948 -
Flags: review?(frgrahl)
Attachment #9123948 -
Flags: review+
Attachment #9123948 -
Flags: approval-comm-release?
Attachment #9123948 -
Flags: approval-comm-release+
Attachment #9123948 -
Flags: approval-comm-esr60?
Attachment #9123948 -
Flags: approval-comm-esr60+
With changes as suggested, carrying forward r/a+
Attachment #9123948 -
Attachment is obsolete: true
Attachment #9133477 -
Flags: review+
Attachment #9133477 -
Flags: approval-comm-release+
Attachment #9133477 -
Flags: approval-comm-esr60+
Pushed by frgrahl@gmx.net:
https://hg.mozilla.org/comm-central/rev/fd76d1b09482
Port |Bug 461013 - get rid of |aTab.localName != "tab"| checks in removeAllTabsBut, removeTab and reloadTab| and tidy up. r=frg
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
![]() |
||
Updated•5 years ago
|
status-seamonkey2.49esr:
--- → wontfix
status-seamonkey2.53:
--- → affected
status-seamonkey2.57esr:
--- → affected
Target Milestone: --- → seamonkey 2.73
Whiteboard: SM2.53.2
You need to log in
before you can comment on or make changes to this bug.
Description
•