Changeset 117442 in webkit
- Timestamp:
- May 17, 2012 6:32:09 AM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r117437 r117442 1 2012-05-17 Vivek Galatage <vivekgalatage@gmail.com> 2 3 Web Inspector: DOM Breakpoints Pane should allow to Remove All the breakpoints 4 https://bugs.webkit.org/show_bug.cgi?id=86716 5 6 Reviewed by Yury Semikhatsky. 7 8 Added a new context menu to provide Remove All DOM breakpoint option. 9 10 UI Feature. Tests not required. 11 12 * English.lproj/localizedStrings.js: 13 * inspector/front-end/DOMBreakpointsSidebarPane.js: 14 (WebInspector.DOMBreakpointsSidebarPane.prototype._removeAllBreakpoints): 15 (WebInspector.DOMBreakpointsSidebarPane.prototype._contextMenu): 16 1 17 2012-05-17 Ilya Tikhonovsky <loislo@chromium.org> 2 18 -
trunk/Source/WebCore/inspector/front-end/DOMBreakpointsSidebarPane.js
r105707 r117442 212 212 }, 213 213 214 _removeAllBreakpoints: function() 215 { 216 for (var id in this._breakpointElements) { 217 var element = this._breakpointElements[id]; 218 this._removeBreakpoint(element._node, element._type); 219 } 220 this._saveBreakpoints(); 221 }, 222 214 223 _removeBreakpoint: function(node, type) 215 224 { … … 234 243 } 235 244 contextMenu.appendItem(WebInspector.UIString("Remove Breakpoint"), removeBreakpoint.bind(this)); 245 contextMenu.appendItem(WebInspector.UIString(WebInspector.useLowerCaseMenuTitles() ? "Remove all DOM breakpoints" : "Remove All DOM Breakpoints"), this._removeAllBreakpoints.bind(this)); 236 246 contextMenu.show(event); 237 247 },
Note: See TracChangeset
for help on using the changeset viewer.