Files
firefox/devtools/client/responsive.html/components
J. Ryan Stinnett c0e4a35b99 Bug 1412359 - Filter to matching device on remove. r=gl
The local device removal path used by RDM had a bug in its `findIndex` call
which caused it to always return `true` for the first device.

Effectively this meant that each separate device removal button always removed
the first device!  This would lead to all sorts of user confusion and UI
divergence.

Here we clean this up by allowing the caller (RDM in this case) to specify via a
callback which device is intended for removal.

MozReview-Commit-ID: 22VwEDZAXOa
2017-10-30 11:00:55 -05:00
..