Closed
Bug 1443833
Opened 8 years ago
Closed 8 years ago
Remove unused gBrowser.tabContextMenu property
Categories
(Firefox :: Tabbed Browser, enhancement, P3)
Firefox
Tabbed Browser
Tracking
()
RESOLVED
FIXED
Firefox 60
| Tracking | Status | |
|---|---|---|
| firefox60 | --- | fixed |
People
(Reporter: dao, Assigned: boghdady5, Mentored)
Details
(Keywords: good-first-bug, Whiteboard: [lang=js])
Attachments
(1 file, 1 obsolete file)
|
431 bytes,
patch
|
dao
:
review+
|
Details | Diff | Splinter Review |
This is unused, we should remove it:
https://hg.mozilla.org/mozilla-central/annotate/f27d7eca013d/browser/base/content/tabbrowser.js#l259
| Reporter | ||
Comment 2•8 years ago
|
||
(In reply to Omar from comment #1)
> Hi, I'm new here, can I get assigned this bug?? Thanks
Sure, and please let me know if you have questions.
Assignee: nobody → boghdady5
Status: NEW → ASSIGNED
Is it enough to just delete the property? (Because I already have a patch ready for that) or do I need to delete the attribute context menu from tab container too?
| Reporter | ||
Comment 4•8 years ago
|
||
(In reply to Omar from comment #3)
> Is it enough to just delete the property? (Because I already have a patch
> ready for that) or do I need to delete the attribute context menu from tab
> container too?
Just the gBrowser property.
Alright I removed it I just need to figure out the patch submitting process I'll have it posted up in the next couple of hours
Attachment #8957376 -
Flags: review?(dao+bmo)
| Reporter | ||
Comment 7•8 years ago
|
||
Comment on attachment 8957376 [details] [diff] [review]
A patch for bug #1443833
> get visibleTabs() {
> if (!this._visibleTabs)
> this._visibleTabs = Array.filter(this.tabs,
> tab => !tab.hidden && !tab.closing);
> return this._visibleTabs;
>- },
Looks like you accidentally removed this line. Can you please submit a new patch without this? Thanks!
Attachment #8957376 -
Flags: review?(dao+bmo)
Attachment #8957376 -
Attachment is obsolete: true
Attachment #8957558 -
Flags: review?(dao+bmo)
| Reporter | ||
Comment 10•8 years ago
|
||
Comment on attachment 8957558 [details] [diff] [review]
removed getContextMenu without the extra bracket removed
Looks good, thanks!
Attachment #8957558 -
Flags: review?(dao+bmo) → review+
Comment 11•8 years ago
|
||
Pushed by dgottwald@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/696b0f84b342
Remove unused gBrowser.tabContextMenu property. r=dao
Comment 12•8 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 60
You need to log in
before you can comment on or make changes to this bug.
Description
•