Closed
Bug 1612338
Opened 5 years ago
Closed 5 years ago
Switch moveTabTo method to using tab as first argument
Categories
(SeaMonkey :: Tabbed Browser, task)
SeaMonkey
Tabbed Browser
Tracking
(seamonkey2.49esr unaffected, seamonkey2.53 fixed, seamonkey2.57esr fixed)
RESOLVED
FIXED
seamonkey 2.73
| Tracking | Status | |
|---|---|---|
| seamonkey2.49esr | --- | unaffected |
| seamonkey2.53 | --- | fixed |
| seamonkey2.57esr | --- | fixed |
People
(Reporter: iannbugzilla, Assigned: iannbugzilla)
Details
(Whiteboard: SM2.53.2)
Attachments
(1 file, 2 obsolete files)
|
7.74 KB,
patch
|
iannbugzilla
:
review+
iannbugzilla
:
approval-comm-release+
iannbugzilla
:
approval-comm-esr60+
|
Details | Diff | Splinter Review |
Internally we use a mixture of tab and position when calling moveTabTo method, we should switch to using tab internally and assume that is the default but keep compatibility for extensions with still accepting a first argument of type number.
[Approval Request Comment]
Regression caused by (bug #): none
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 #9123686 -
Flags: review?(frgrahl)
Attachment #9123686 -
Flags: approval-comm-release?
Attachment #9123686 -
Flags: approval-comm-esr60?
Missed one change
Attachment #9123686 -
Attachment is obsolete: true
Attachment #9123686 -
Flags: review?(frgrahl)
Attachment #9123686 -
Flags: approval-comm-release?
Attachment #9123686 -
Flags: approval-comm-esr60?
Attachment #9123687 -
Flags: review?(frgrahl)
Attachment #9123687 -
Flags: approval-comm-release?
Attachment #9123687 -
Flags: approval-comm-esr60?
Comment 3•5 years ago
•
|
||
Comment on attachment 9123687 [details] [diff] [review]
Make the switch v1.1
LGTM.
> var tabPos = this.tabContainer.selectedIndex;
> if (tabPos < this.browsers.length - 1) {
There are a bunch of small methods now only using the global "var tabPos" for one comparison. Should the compare be done directly to avoid allocation of said global var? r/a+ either way. Can also be done in a follow-up if desired
Attachment #9123687 -
Flags: review?(frgrahl)
Attachment #9123687 -
Flags: review+
Attachment #9123687 -
Flags: approval-comm-release?
Attachment #9123687 -
Flags: approval-comm-release+
Attachment #9123687 -
Flags: approval-comm-esr60?
Attachment #9123687 -
Flags: approval-comm-esr60+
Suggested change made, carrying forward r/a+
Attachment #9123687 -
Attachment is obsolete: true
Attachment #9133455 -
Flags: review+
Attachment #9133455 -
Flags: approval-comm-release+
Attachment #9133455 -
Flags: approval-comm-esr60+
Pushed by frgrahl@gmx.net:
https://hg.mozilla.org/comm-central/rev/8c6e06c57b4e
Switch moveTabTo method to using tab as first argument. r=frg
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Updated•5 years ago
|
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
•