Web Inspector: all native breakpoints should inherit from NativeBreakpoint DOM, EventListener and XHR breakpoints should be subclasses of NativeBreakpoint. Stuff that depends on breakpoint type, should be implemented in corresponding subclass.
Created attachment 70112 [details] Patch.
Comment on attachment 70112 [details] Patch. View in context: https://bugs.webkit.org/attachment.cgi?id=70112&action=review > WebCore/inspector/InspectorDOMAgent.cpp:781 > + pair<long, long> breakpoint = m_idToBreakpoint.take(breakpointId); Could you typedef this in header so that we knew what is going on. > WebCore/inspector/front-end/BreakpointManager.js:138 > + if (!(nodeId in this._domPathCache)) Please add // FIXME:
Committed r69567: <http://trac.webkit.org/changeset/69567>