Closed Bug 1479130 Opened 7 years ago Closed 7 years ago

Dispatch an event when multiselection changes

Categories

(Firefox :: Tabbed Browser, defect, P5)

defect

Tracking

()

RESOLVED FIXED
Firefox 63
Tracking Status
firefox63 --- fixed

People

(Reporter: Oriol, Assigned: Oriol)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

This is necessary for bug 1474440.
Priority: -- → P5
There is already the TabSelect event, so I called this one TabMultiSelect. Other suggestions are welcome.
Assignee: nobody → oriol-bugzilla
Status: NEW → ASSIGNED
Comment on attachment 8995702 [details] Bug 1479130 - Dispatch TabMultiSelect event when multiselection changes https://reviewboard.mozilla.org/r/260088/#review267168 ::: browser/base/content/tabbrowser.js:156 (Diff revision 1) > + _multiSelectChangeAdditions: new Set(), > + > + _multiSelectChangeRemovals: new Set(), Please use a WeakSet for these.
I need to check the size and that's more difficult for weaksets. I clear the sets at the next tick so weaksets don't seem worth
Comment on attachment 8995702 [details] Bug 1479130 - Dispatch TabMultiSelect event when multiselection changes https://reviewboard.mozilla.org/r/260088/#review267558 Okay, I'm fine with it as-is, I just wanted a WeakSet to be on the safer side. It is possible to get the length of a WeakSet but it's more work.
Attachment #8995702 - Flags: review?(jaws) → review+
Oriol, are you waiting on something else or is this ready to land?
Flags: needinfo?(oriol-bugzilla)
I can't add checkin-needed from my phone and I'm away from my PC. You can land it
Flags: needinfo?(oriol-bugzilla)
We're sorry, Autoland could not rebase your commits for you automatically. Please manually rebase your commits and try again. hg error in cmd: hg rebase -s bc324ccca4aaee50f137e6adb4ff41109a082c2c -d 8236a828c129: rebasing 476659:bc324ccca4aa "Bug 1479130 - Dispatch TabMultiSelect event when multiselection changes r=jaws" (tip) merging browser/base/content/tabbrowser.js merging browser/base/content/tabbrowser.xml merging browser/base/content/test/tabs/browser.ini warning: conflicts while merging browser/base/content/tabbrowser.js! (edit, then use 'hg resolve --mark') unresolved conflicts (see hg resolve, then hg rebase --continue)
Pushed by jwein@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/4ecde963891e Dispatch TabMultiSelect event when multiselection changes
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 63
Depends on: 1499340
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: