Summary: Only show "Break on..." menu if backend supports DOM breakpoints. Need to add a check to DOMTreeElement.
Created attachment 304086 [details] Patch
Comment on attachment 304086 [details] Patch r=me
Comment on attachment 304086 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=304086&action=review > Source/WebInspectorUI/UserInterface/Controllers/DOMBreakpointTreeController.js:47 > + console.assert(WebInspector.domDebuggerManager.supported); I feel like it would be much simpler and less mistake prone in future changes if we added the support check inside this function instead of at the call sites. Considering the fact that multiple separators in a row in a context menu are collapsed, I think this may be the better (and possibly more centralized) approach.
Comment on attachment 304086 [details] Patch Clearing flags on attachment: 304086 Committed r213744: <http://trac.webkit.org/changeset/213744>
All reviewed patches have been landed. Closing bug.