Bug 1574122 - Provide a key for DOM Mutation breakpoint items r=jlast
authorDavid Walsh <dwalsh@mozilla.com>
Fri, 16 Aug 2019 16:56:03 +0000
changeset 488574 1d4db40e38dd5df66455abf59feb3c9c4ca1cbfc
parent 488573 6cea0df1bb7b9ef6c97993f58f97bb810cfe0057
child 488575 7c1def596e462a4a96cd5e187e4e40911f7c3f02
child 488715 a4c42f250ad1e33d8208df470b17190cf29f1312
push id92820
push userdwalsh@mozilla.com
push dateFri, 16 Aug 2019 18:26:03 +0000
treeherderautoland@1d4db40e38dd [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjlast
bugs1574122
milestone70.0a1
first release with
nightly linux32
1d4db40e38dd / 70.0a1 / 20190816215314 / files
nightly linux64
1d4db40e38dd / 70.0a1 / 20190816215314 / files
nightly mac
1d4db40e38dd / 70.0a1 / 20190816215314 / files
nightly win32
1d4db40e38dd / 70.0a1 / 20190816215314 / files
nightly win64
1d4db40e38dd / 70.0a1 / 20190816215314 / files
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
releases
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1574122 - Provide a key for DOM Mutation breakpoint items r=jlast Differential Revision: https://phabricator.services.mozilla.com/D42133
devtools/client/debugger/src/components/SecondaryPanes/DOMMutationBreakpoints.js
--- a/devtools/client/debugger/src/components/SecondaryPanes/DOMMutationBreakpoints.js
+++ b/devtools/client/debugger/src/components/SecondaryPanes/DOMMutationBreakpoints.js
@@ -44,17 +44,17 @@ class DOMMutationBreakpointsContents ext
     const {
       openElementInInspector,
       highlightDomElement,
       unHighlightDomElement,
       toggleBreakpoint,
       deleteBreakpoint,
     } = this.props;
     return (
-      <li>
+      <li key={breakpoint.id}>
         <input
           type="checkbox"
           checked={breakpoint.enabled}
           onChange={() => toggleBreakpoint(breakpoint.id, !breakpoint.enabled)}
         />
         <div className="dom-mutation-info">
           <div className="dom-mutation-label">
             {Rep({