Closed
Bug 1198828
Opened 9 years ago
Closed 9 years ago
Superfluous bind(this) in network-panel.js
Categories
(DevTools :: Netmonitor, defect)
DevTools
Netmonitor
Tracking
(firefox43 fixed)
RESOLVED
FIXED
Firefox 43
Tracking | Status | |
---|---|---|
firefox43 | --- | fixed |
People
(Reporter: Gijs, Assigned: Gijs)
Details
Attachments
(1 file)
1.19 KB,
patch
|
pbro
:
review+
|
Details | Diff | Splinter Review |
https://dxr.mozilla.org/mozilla-central/rev/f61c3cc0eb8b7533818e7379ccc063b611015d9d/browser/devtools/webconsole/network-panel.js#327 a.addEventListener("mousedown", this._longStringClick.bind(this, aItem)); |this| is the same |this| that function got bound to in the panel's constructor (because of the arrow function in which this addEventListener call happens: function NetworkPanel(aParent, aHttpActivity, aWebConsoleFrame) { ... this._longStringClick = this._longStringClick.bind(this);
Assignee | ||
Comment 1•9 years ago
|
||
Reviewboard's hg is down, so splinter it is. (Patrick, please forward as appropriate...)
Assignee: nobody → gijskruitbosch+bugs
Status: NEW → ASSIGNED
Attachment #8652933 -
Flags: review?(pbrosset)
Updated•9 years ago
|
Attachment #8652933 -
Flags: review?(pbrosset) → review+
Comment 3•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/dcb1e80534cf
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 43
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•