DevTools: extract model from DOMBreakpointsSidebarPane
- Extracts the domain logic from DOMBreakpointsSidebarPane into DOMBreakpointsModel
- Fixes a bug and added a test for toggling “on” a DOM breakpoint checkbox
- Fixes a minor bug where a DOM breakpoint on a leaf node (with no text) would not be
deleted when the DOM node is deleted. DOM breakpoints should be permanently deleted
when the DOM Node is deleted.
- Fixes missing DOM breakpoints bug when refreshing on sources panel:
https://bugs.chromium.org/p/chromium/issues/detail?id=634513
- Fixes duplicate DOM breakpoints bug when refreshing page:
https://bugs.chromium.org/p/chromium/issues/detail?id=634510
BUG=
627296