Changeset 141574 in webkit
- Timestamp:
- Feb 1, 2013 3:26:17 AM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r141571 r141574 1 2013-02-01 Andrey Adaikin <aandrey@chromium.org> 2 3 Web Inspector: fix jscompiler warnings 4 https://bugs.webkit.org/show_bug.cgi?id=108604 5 6 Reviewed by Pavel Feldman. 7 8 * inspector/front-end/ConsoleView.js: 9 (WebInspector.ConsoleGroup.prototype.addMessage): 10 * inspector/front-end/ContextMenu.js: 11 (WebInspector.ContextSubMenuItem): 12 * inspector/front-end/ImageView.js: 13 (WebInspector.ImageView.prototype._copyImageURL): 14 (WebInspector.ImageView.prototype._openInNewTab): 15 * inspector/front-end/NetworkPanel.js: 16 (WebInspector.NetworkLogView.prototype._clearBrowserCache): 17 (WebInspector.NetworkLogView.prototype._clearBrowserCookies): 18 * inspector/front-end/ResourcesPanel.js: 19 (WebInspector.IDBDatabaseTreeElement.prototype._refreshIndexedDB): 20 * inspector/front-end/ScriptsNavigator.js: 21 (WebInspector.SnippetsNavigatorView.prototype._handleEvaluateSnippet): 22 (WebInspector.SnippetsNavigatorView.prototype._handleRenameSnippet): 23 (WebInspector.SnippetsNavigatorView.prototype._handleRemoveSnippet): 24 (WebInspector.SnippetsNavigatorView.prototype._handleCreateSnippet): 25 * inspector/front-end/Toolbar.js: 26 (WebInspector.Toolbar.prototype._isDockedToBottom): 27 1 28 2013-02-01 Jae Hyun Park <jae.park@company100.net> 2 29 -
trunk/Source/WebCore/inspector/front-end/ConsoleView.js
r141269 r141574 821 821 groupElement.addStyleClass("collapsed"); 822 822 } else 823 this.messagesElement.insertBefore(element, node );823 this.messagesElement.insertBefore(element, node || null); 824 824 825 825 if (element.previousSibling && message.originatingCommand && element.previousSibling.command === message.originatingCommand) -
trunk/Source/WebCore/inspector/front-end/ContextMenu.js
r141269 r141574 98 98 { 99 99 WebInspector.ContextMenuItem.call(this, topLevelMenu, "subMenu", label, disabled); 100 /** @type {!Array.<!WebInspector.ContextMenuItem>} */ 100 101 this._items = []; 101 102 } … … 104 105 /** 105 106 * @param {string} label 106 * @param {function } handler107 * @param {function(?)} handler 107 108 * @param {boolean=} disabled 108 109 * @return {WebInspector.ContextMenuItem} … … 145 146 }, 146 147 148 /** 149 * @param {!WebInspector.ContextMenuItem} item 150 */ 147 151 _pushItem: function(item) 148 152 { -
trunk/Source/WebCore/inspector/front-end/ImageView.js
r132659 r141574 133 133 }, 134 134 135 _copyImageURL: function( event)135 _copyImageURL: function() 136 136 { 137 137 InspectorFrontendHost.copyText(this.resource.url); 138 138 }, 139 139 140 _openInNewTab: function( event)140 _openInNewTab: function() 141 141 { 142 142 InspectorFrontendHost.openInNewTab(this.resource.url); -
trunk/Source/WebCore/inspector/front-end/NetworkPanel.js
r141417 r141574 1090 1090 }, 1091 1091 1092 _clearBrowserCache: function( event)1092 _clearBrowserCache: function() 1093 1093 { 1094 1094 if (confirm(WebInspector.UIString("Are you sure you want to clear browser cache?"))) … … 1096 1096 }, 1097 1097 1098 _clearBrowserCookies: function( event)1098 _clearBrowserCookies: function() 1099 1099 { 1100 1100 if (confirm(WebInspector.UIString("Are you sure you want to clear browser cookies?"))) -
trunk/Source/WebCore/inspector/front-end/ResourcesPanel.js
r134031 r141574 1612 1612 }, 1613 1613 1614 _refreshIndexedDB: function( event)1614 _refreshIndexedDB: function() 1615 1615 { 1616 1616 this._model.refreshDatabaseNames(); -
trunk/Source/WebCore/inspector/front-end/ScriptsNavigator.js
r139454 r141574 217 217 /** 218 218 * @param {WebInspector.UISourceCode} uiSourceCode 219 * @param {Event} event 220 */ 221 _handleEvaluateSnippet: function(uiSourceCode, event) 219 */ 220 _handleEvaluateSnippet: function(uiSourceCode) 222 221 { 223 222 if (!uiSourceCode.isSnippet) … … 228 227 /** 229 228 * @param {WebInspector.UISourceCode} uiSourceCode 230 * @param {Event} event 231 */ 232 _handleRenameSnippet: function(uiSourceCode, event) 229 */ 230 _handleRenameSnippet: function(uiSourceCode) 233 231 { 234 232 this.dispatchEventToListeners(WebInspector.ScriptsNavigator.Events.ItemRenamingRequested, uiSourceCode); … … 237 235 /** 238 236 * @param {WebInspector.UISourceCode} uiSourceCode 239 * @param {Event} event 240 */ 241 _handleRemoveSnippet: function(uiSourceCode, event) 237 */ 238 _handleRemoveSnippet: function(uiSourceCode) 242 239 { 243 240 if (!uiSourceCode.isSnippet) … … 246 243 }, 247 244 248 /** 249 * @param {Event} event 250 */ 251 _handleCreateSnippet: function(event) 245 _handleCreateSnippet: function() 252 246 { 253 247 this._snippetCreationRequested(); -
trunk/Source/WebCore/inspector/front-end/Toolbar.js
r140543 r141574 102 102 _isDockedToBottom: function() 103 103 { 104 return WebInspector.dockController && WebInspector.dockController.isDockedToBottom();104 return !!WebInspector.dockController && WebInspector.dockController.isDockedToBottom(); 105 105 }, 106 106
Note: See TracChangeset
for help on using the changeset viewer.