Closed
Bug 1479130
Opened 7 years ago
Closed 7 years ago
Dispatch an event when multiselection changes
Categories
(Firefox :: Tabbed Browser, defect, P5)
Firefox
Tabbed Browser
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.
Updated•7 years ago
|
Priority: -- → P5
| Comment hidden (mozreview-request) |
| Assignee | ||
Comment 2•7 years ago
|
||
There is already the TabSelect event, so I called this one TabMultiSelect. Other suggestions are welcome.
Assignee: nobody → oriol-bugzilla
Status: NEW → ASSIGNED
Comment 3•7 years ago
|
||
| mozreview-review | ||
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.
| Assignee | ||
Comment 4•7 years ago
|
||
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 5•7 years ago
|
||
| mozreview-review | ||
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+
Comment 6•7 years ago
|
||
Oriol, are you waiting on something else or is this ready to land?
Flags: needinfo?(oriol-bugzilla)
| Assignee | ||
Comment 7•7 years ago
|
||
I can't add checkin-needed from my phone and I'm away from my PC. You can land it
Flags: needinfo?(oriol-bugzilla)
Comment 8•7 years ago
|
||
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
Comment 10•7 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox63:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 63
You need to log in
before you can comment on or make changes to this bug.
Description
•