Unreviewed, strip trailing whitespace in the Web Inspector frontend (*.js and *.css).
authorapavlov@chromium.org <apavlov@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 8 Sep 2011 12:15:53 +0000 (12:15 +0000)
committerapavlov@chromium.org <apavlov@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 8 Sep 2011 12:15:53 +0000 (12:15 +0000)
* inspector/front-end/ApplicationCacheItemsView.js:
* inspector/front-end/AuditResultView.js:
* inspector/front-end/BinarySearch.js:
* inspector/front-end/CSSStyleModel.js:
* inspector/front-end/ConsoleMessage.js:
* inspector/front-end/ConsoleModel.js:
* inspector/front-end/ConsoleView.js:
* inspector/front-end/CookieItemsView.js:
* inspector/front-end/CookieParser.js:
* inspector/front-end/DOMAgent.js:
* inspector/front-end/DOMStorage.js:
* inspector/front-end/DOMStorageItemsView.js:
* inspector/front-end/DataGrid.js:
* inspector/front-end/Database.js:
* inspector/front-end/DatabaseQueryView.js:
* inspector/front-end/DetailedHeapshotGridNodes.js:
* inspector/front-end/DetailedHeapshotView.js:
* inspector/front-end/ElementsTreeOutline.js:
* inspector/front-end/EmptyView.js:
* inspector/front-end/EventListenersSidebarPane.js:
* inspector/front-end/ExtensionCommon.js:
* inspector/front-end/GoToLineDialog.js:
* inspector/front-end/HeapSnapshot.js:
* inspector/front-end/HeapSnapshotProxy.js:
* inspector/front-end/HeapSnapshotWorkerDispatcher.js:
* inspector/front-end/ImageView.js:
* inspector/front-end/InjectedFakeWorker.js:
* inspector/front-end/InspectorFrontendHostStub.js:
* inspector/front-end/MetricsSidebarPane.js:
* inspector/front-end/NetworkManager.js:
* inspector/front-end/NetworkPanel.js:
* inspector/front-end/ObjectPropertiesSection.js:
* inspector/front-end/PartialQuickSort.js:
* inspector/front-end/ProfileView.js:
* inspector/front-end/ProfilesPanel.js:
* inspector/front-end/RemoteObject.js:
* inspector/front-end/Resource.js:
* inspector/front-end/ResourceCategory.js:
* inspector/front-end/ResourceHTMLView.js:
* inspector/front-end/ResourceHeadersView.js:
* inspector/front-end/ResourceJSONView.js:
* inspector/front-end/ResourceTimingView.js:
* inspector/front-end/ResourceTreeModel.js:
* inspector/front-end/ResourceView.js:
* inspector/front-end/ResourcesPanel.js:
* inspector/front-end/SearchController.js:
* inspector/front-end/SettingsScreen.js:
* inspector/front-end/ShortcutsScreen.js:
* inspector/front-end/SourceCSSTokenizer.js:
* inspector/front-end/SourceHTMLTokenizer.js:
* inspector/front-end/SourceJavaScriptTokenizer.js:
* inspector/front-end/StatusBarButton.js:
* inspector/front-end/TextEditorModel.js:
* inspector/front-end/TimelineGrid.js:
* inspector/front-end/View.js:
* inspector/front-end/heapProfiler.css:
* inspector/front-end/inspector.css:
* inspector/front-end/inspector.js:
* inspector/front-end/inspectorSyntaxHighlight.css:
* inspector/front-end/networkPanel.css:
* inspector/front-end/treeoutline.js:
* inspector/front-end/utilities.js:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@94754 268f45cc-cd09-0410-ab3c-d52691b4dbfc

63 files changed:
Source/WebCore/ChangeLog
Source/WebCore/inspector/front-end/ApplicationCacheItemsView.js
Source/WebCore/inspector/front-end/AuditResultView.js
Source/WebCore/inspector/front-end/BinarySearch.js
Source/WebCore/inspector/front-end/CSSStyleModel.js
Source/WebCore/inspector/front-end/ConsoleMessage.js
Source/WebCore/inspector/front-end/ConsoleModel.js
Source/WebCore/inspector/front-end/ConsoleView.js
Source/WebCore/inspector/front-end/CookieItemsView.js
Source/WebCore/inspector/front-end/CookieParser.js
Source/WebCore/inspector/front-end/DOMAgent.js
Source/WebCore/inspector/front-end/DOMStorage.js
Source/WebCore/inspector/front-end/DOMStorageItemsView.js
Source/WebCore/inspector/front-end/DataGrid.js
Source/WebCore/inspector/front-end/Database.js
Source/WebCore/inspector/front-end/DatabaseQueryView.js
Source/WebCore/inspector/front-end/DetailedHeapshotGridNodes.js
Source/WebCore/inspector/front-end/DetailedHeapshotView.js
Source/WebCore/inspector/front-end/ElementsTreeOutline.js
Source/WebCore/inspector/front-end/EmptyView.js
Source/WebCore/inspector/front-end/EventListenersSidebarPane.js
Source/WebCore/inspector/front-end/ExtensionCommon.js
Source/WebCore/inspector/front-end/GoToLineDialog.js
Source/WebCore/inspector/front-end/HeapSnapshot.js
Source/WebCore/inspector/front-end/HeapSnapshotProxy.js
Source/WebCore/inspector/front-end/HeapSnapshotWorkerDispatcher.js
Source/WebCore/inspector/front-end/ImageView.js
Source/WebCore/inspector/front-end/InjectedFakeWorker.js
Source/WebCore/inspector/front-end/InspectorFrontendHostStub.js
Source/WebCore/inspector/front-end/MetricsSidebarPane.js
Source/WebCore/inspector/front-end/NetworkManager.js
Source/WebCore/inspector/front-end/NetworkPanel.js
Source/WebCore/inspector/front-end/ObjectPropertiesSection.js
Source/WebCore/inspector/front-end/PartialQuickSort.js
Source/WebCore/inspector/front-end/ProfileView.js
Source/WebCore/inspector/front-end/ProfilesPanel.js
Source/WebCore/inspector/front-end/RemoteObject.js
Source/WebCore/inspector/front-end/Resource.js
Source/WebCore/inspector/front-end/ResourceCategory.js
Source/WebCore/inspector/front-end/ResourceHTMLView.js
Source/WebCore/inspector/front-end/ResourceHeadersView.js
Source/WebCore/inspector/front-end/ResourceJSONView.js
Source/WebCore/inspector/front-end/ResourceTimingView.js
Source/WebCore/inspector/front-end/ResourceTreeModel.js
Source/WebCore/inspector/front-end/ResourceView.js
Source/WebCore/inspector/front-end/ResourcesPanel.js
Source/WebCore/inspector/front-end/SearchController.js
Source/WebCore/inspector/front-end/SettingsScreen.js
Source/WebCore/inspector/front-end/ShortcutsScreen.js
Source/WebCore/inspector/front-end/SourceCSSTokenizer.js
Source/WebCore/inspector/front-end/SourceHTMLTokenizer.js
Source/WebCore/inspector/front-end/SourceJavaScriptTokenizer.js
Source/WebCore/inspector/front-end/StatusBarButton.js
Source/WebCore/inspector/front-end/TextEditorModel.js
Source/WebCore/inspector/front-end/TimelineGrid.js
Source/WebCore/inspector/front-end/View.js
Source/WebCore/inspector/front-end/heapProfiler.css
Source/WebCore/inspector/front-end/inspector.css
Source/WebCore/inspector/front-end/inspector.js
Source/WebCore/inspector/front-end/inspectorSyntaxHighlight.css
Source/WebCore/inspector/front-end/networkPanel.css
Source/WebCore/inspector/front-end/treeoutline.js
Source/WebCore/inspector/front-end/utilities.js

index 0508599..0e1d733 100644 (file)
@@ -1,3 +1,70 @@
+2011-09-08  Alexander Pavlov  <apavlov@chromium.org>
+
+        Unreviewed, strip trailing whitespace in the Web Inspector frontend (*.js and *.css).
+
+        * inspector/front-end/ApplicationCacheItemsView.js:
+        * inspector/front-end/AuditResultView.js:
+        * inspector/front-end/BinarySearch.js:
+        * inspector/front-end/CSSStyleModel.js:
+        * inspector/front-end/ConsoleMessage.js:
+        * inspector/front-end/ConsoleModel.js:
+        * inspector/front-end/ConsoleView.js:
+        * inspector/front-end/CookieItemsView.js:
+        * inspector/front-end/CookieParser.js:
+        * inspector/front-end/DOMAgent.js:
+        * inspector/front-end/DOMStorage.js:
+        * inspector/front-end/DOMStorageItemsView.js:
+        * inspector/front-end/DataGrid.js:
+        * inspector/front-end/Database.js:
+        * inspector/front-end/DatabaseQueryView.js:
+        * inspector/front-end/DetailedHeapshotGridNodes.js:
+        * inspector/front-end/DetailedHeapshotView.js:
+        * inspector/front-end/ElementsTreeOutline.js:
+        * inspector/front-end/EmptyView.js:
+        * inspector/front-end/EventListenersSidebarPane.js:
+        * inspector/front-end/ExtensionCommon.js:
+        * inspector/front-end/GoToLineDialog.js:
+        * inspector/front-end/HeapSnapshot.js:
+        * inspector/front-end/HeapSnapshotProxy.js:
+        * inspector/front-end/HeapSnapshotWorkerDispatcher.js:
+        * inspector/front-end/ImageView.js:
+        * inspector/front-end/InjectedFakeWorker.js:
+        * inspector/front-end/InspectorFrontendHostStub.js:
+        * inspector/front-end/MetricsSidebarPane.js:
+        * inspector/front-end/NetworkManager.js:
+        * inspector/front-end/NetworkPanel.js:
+        * inspector/front-end/ObjectPropertiesSection.js:
+        * inspector/front-end/PartialQuickSort.js:
+        * inspector/front-end/ProfileView.js:
+        * inspector/front-end/ProfilesPanel.js:
+        * inspector/front-end/RemoteObject.js:
+        * inspector/front-end/Resource.js:
+        * inspector/front-end/ResourceCategory.js:
+        * inspector/front-end/ResourceHTMLView.js:
+        * inspector/front-end/ResourceHeadersView.js:
+        * inspector/front-end/ResourceJSONView.js:
+        * inspector/front-end/ResourceTimingView.js:
+        * inspector/front-end/ResourceTreeModel.js:
+        * inspector/front-end/ResourceView.js:
+        * inspector/front-end/ResourcesPanel.js:
+        * inspector/front-end/SearchController.js:
+        * inspector/front-end/SettingsScreen.js:
+        * inspector/front-end/ShortcutsScreen.js:
+        * inspector/front-end/SourceCSSTokenizer.js:
+        * inspector/front-end/SourceHTMLTokenizer.js:
+        * inspector/front-end/SourceJavaScriptTokenizer.js:
+        * inspector/front-end/StatusBarButton.js:
+        * inspector/front-end/TextEditorModel.js:
+        * inspector/front-end/TimelineGrid.js:
+        * inspector/front-end/View.js:
+        * inspector/front-end/heapProfiler.css:
+        * inspector/front-end/inspector.css:
+        * inspector/front-end/inspector.js:
+        * inspector/front-end/inspectorSyntaxHighlight.css:
+        * inspector/front-end/networkPanel.css:
+        * inspector/front-end/treeoutline.js:
+        * inspector/front-end/utilities.js:
+
 2011-09-07  Andrey Kosyakov  <caseq@chromium.org>
 
         Web Inspector: trying to scroll mouse wheel when in TextViewer's gutter pane causes EventException::DISPATCH_REQUEST_ERR
index 4a3e8ed..808e941 100644 (file)
@@ -79,7 +79,7 @@ WebInspector.ApplicationCacheItemsView = function(treeElement, appcacheDomain)
     this.divider.style.display = "none";
     this.statusIcon.style.display = "none";
     this.statusMessage.style.display = "none";
-    
+
 }
 
 WebInspector.ApplicationCacheItemsView.prototype = {
index 5771684..1c3b034 100644 (file)
@@ -82,7 +82,7 @@ WebInspector.AuditCategoryResultPane.prototype = {
     _appendResult: function(parentTreeElement, result)
     {
         var title = "";
-        
+
         if (typeof result.value === "string") {
             title = result.value;
             if (result.violationCount)
index fdeda1e..19e2a91 100644 (file)
@@ -65,6 +65,6 @@ function insertionIndexForObjectInListSortedByFunction(anObject, aList, aFunctio
         // Return the first occurance of an item in the list.
         while (index > 0 && aFunction(anObject, aList[index - 1]) === 0)
             index--;
-        return index;        
+        return index;
     }
 }
index 80bb442..af9ec10 100644 (file)
@@ -713,7 +713,7 @@ WebInspector.CSSStyleModelResourceBinding.prototype = {
             var url = this._styleSheetIdToURL[styleSheetId];
             if (!url)
                 return;
-    
+
             var resource = WebInspector.resourceForURL(url);
             if (!resource)
                 return;
index c7bd1b6..a1d4c8c 100644 (file)
@@ -38,7 +38,7 @@ WebInspector.ConsoleStackFrame = function()
     this.lineNumber = undefined;
     this.columnNumber = undefined;
 }
-                    
+
 /**
  * @constructor
  * @param {Array.<WebInspector.ConsoleStackFrame>=} stackTrace
@@ -83,7 +83,7 @@ WebInspector.ConsoleMessage.prototype = {
 
         this._formattedMessage = document.createElement("span");
         this._formattedMessage.className = "console-message-text source-code";
-        
+
         var messageText;
         switch (this.type) {
             case WebInspector.ConsoleMessage.MessageType.Trace:
index 82dc1b9..9e21f2c 100644 (file)
@@ -51,7 +51,7 @@ WebInspector.ConsoleModel.prototype = {
     {
         if (WebInspector.settings.monitoringXHREnabled.get())
             ConsoleAgent.setMonitoringXHREnabled(true);
-    
+
         // There is no console agent for workers yet.
         if (!WebInspector.WorkerManager.isWorkerFrontend())
             ConsoleAgent.enable(this._setConsoleMessageExpiredCount.bind(this));
index d384dfd..8b129ed 100644 (file)
@@ -299,7 +299,7 @@ WebInspector.ConsoleView.prototype = {
 
         delete this.commandSincePreviousMessage;
         delete this.previousMessage;
-        
+
         this.dispatchEventToListeners(WebInspector.ConsoleView.Events.ConsoleCleared);
     },
 
index 6b5a3d9..519b4e5 100644 (file)
@@ -45,7 +45,7 @@ WebInspector.CookieItemsView = function(treeElement, cookieDomain)
 
     this._emptyView = new WebInspector.EmptyView(WebInspector.UIString("This site has no cookies."));
     this._emptyView.show(this.element);
-    
+
     this.element.addEventListener("contextmenu", this._contextMenu.bind(this), true);
 }
 
@@ -154,7 +154,7 @@ WebInspector.CookieItemsView.prototype = {
     {
         this._update();
     },
-    
+
     _contextMenu: function()
     {
         if (!this._cookies.length) {
index f428547..f841ff3 100644 (file)
@@ -30,9 +30,9 @@
 
 // Ideally, we would rely on platform support for parsing a cookie, since
 // this would save us from any potential inconsistency. However, exposing
-// platform cookie parsing logic would require quite a bit of additional 
+// platform cookie parsing logic would require quite a bit of additional
 // plumbing, and at least some platforms lack support for parsing Cookie,
-// which is in a format slightly different from Set-Cookie and is normally 
+// which is in a format slightly different from Set-Cookie and is normally
 // only required on the server side.
 
 /**
@@ -71,7 +71,7 @@ WebInspector.CookieParser.prototype = {
         for (var kv = this._extractKeyValue(); kv; kv = this._extractKeyValue()) {
             if (this._lastCookie)
                 this._lastCookie.addAttribute(kv.key, kv.value);
-            else 
+            else
                 this._addCookie(kv, WebInspector.Cookie.Type.Response);
             if (this._advanceAndCheckCookieDelimiter())
                 this._flushCookie();
@@ -106,7 +106,7 @@ WebInspector.CookieParser.prototype = {
         // Many browsers/platforms do not support this, however (see http://webkit.org/b/16699
         // and http://crbug.com/12361). The logic below matches latest versions of IE, Firefox,
         // Chrome and Safari on some old platforms. The latest version of Safari supports quoted
-        // cookie values, though. 
+        // cookie values, though.
         var keyValueMatch = /^[ \t]*([^\s=;]+)[ \t]*(?:=[ \t]*([^;\n]*))?/.exec(this._input);
         if (!keyValueMatch) {
             console.log("Failed parsing cookie header before: " + this._input);
index 81d30ad..9d7fa07 100644 (file)
@@ -243,7 +243,7 @@ WebInspector.DOMNode.prototype = {
     {
         if (!node)
             return false;
-    
+
         var currentNode = node.parentNode;
         while (currentNode) {
             if (this === currentNode)
@@ -350,7 +350,7 @@ WebInspector.DOMNode.prototype = {
 
     moveTo: function(targetNode, anchorNode, callback)
     {
-        DOMAgent.moveTo(this.id, targetNode.id, anchorNode ? anchorNode.id : undefined, callback); 
+        DOMAgent.moveTo(this.id, targetNode.id, anchorNode ? anchorNode.id : undefined, callback);
     }
 }
 
@@ -600,7 +600,7 @@ WebInspector.DOMAgent.prototype = {
         if (node)
             this.dispatchEventToListeners(WebInspector.DOMAgent.Events.InspectElementRequested, node);
     },
-     
+
     performSearch: function(query, searchResultCollector, searchSynchronously)
     {
         this._searchResultCollector = searchResultCollector;
index b82345d..35cd997 100644 (file)
@@ -56,12 +56,12 @@ WebInspector.DOMStorage.prototype = {
     {
         DOMStorageAgent.getDOMStorageEntries(this._id, callback);
     },
-    
+
     setItem: function(key, value, callback)
     {
         DOMStorageAgent.setDOMStorageItem(this._id, key, value, callback);
     },
-    
+
     removeItem: function(key, callback)
     {
         DOMStorageAgent.removeDOMStorageItem(this._id, key, callback);
@@ -70,7 +70,7 @@ WebInspector.DOMStorage.prototype = {
 
 /**
  * @constructor
- * @implements {DOMStorageAgent.Dispatcher} 
+ * @implements {DOMStorageAgent.Dispatcher}
  */
 WebInspector.DOMStorageDispatcher = function()
 {
index 22ce5ba..95e4a13 100644 (file)
@@ -128,7 +128,7 @@ WebInspector.DOMStorageItemsView.prototype = {
     {
         this.update();
     },
-    
+
     _editingCallback: function(editingNode, columnIdentifier, oldText, newText)
     {
         var domStorage = this.domStorage;
@@ -140,10 +140,10 @@ WebInspector.DOMStorageItemsView.prototype = {
         } else {
             domStorage.setItem(editingNode.data[0], newText);
         }
-        
+
         this.update();
     },
-    
+
     _deleteCallback: function(node)
     {
         if (!node || node.isCreationNode)
@@ -151,7 +151,7 @@ WebInspector.DOMStorageItemsView.prototype = {
 
         if (this.domStorage)
             this.domStorage.removeItem(node.data[0]);
-            
+
         this.update();
     }
 }
index 22c8958..0f32aa7 100644 (file)
@@ -39,9 +39,9 @@ WebInspector.DataGrid = function(columns, editCallback, deleteCallback)
 
     this._dataTable.addEventListener("mousedown", this._mouseDownInDataTable.bind(this), true);
     this._dataTable.addEventListener("click", this._clickInDataTable.bind(this), true);
-    
+
     this._dataTable.addEventListener("contextmenu", this._contextMenuInDataTable.bind(this), true);
-    
+
     // FIXME: Add a createCallback which is different from editCallback and has different
     // behavior when creating a new node.
     if (editCallback) {
@@ -50,7 +50,7 @@ WebInspector.DataGrid = function(columns, editCallback, deleteCallback)
     }
     if (deleteCallback)
         this._deleteCallback = deleteCallback;
-    
+
     this.aligned = {};
 
     this._scrollContainer = document.createElement("div");
@@ -159,12 +159,12 @@ WebInspector.DataGrid.prototype = {
     {
         return this._refreshCallback;
     },
-        
+
     set refreshCallback(refreshCallback)
     {
         this._refreshCallback = refreshCallback;
     },
-    
+
     _ondblclick: function(event)
     {
         if (this._editing || this._editingNode)
@@ -218,7 +218,7 @@ WebInspector.DataGrid.prototype = {
     {
         // FIXME: We need more column identifiers here throughout this function.
         // Not needed yet since only editable DataGrid is DOM Storage, which is Key - Value.
-        
+
         // FIXME: Better way to do this than regular expressions?
         var columnIdentifier = parseInt(element.className.match(/\b(\d+)-column\b/)[1]);
 
@@ -265,7 +265,7 @@ WebInspector.DataGrid.prototype = {
 
         // Update the text in the datagrid that we typed
         this._editingNode.data[columnIdentifier] = newText;
-        
+
         // Make the callback - expects an editing node (table row), the column number that is being edited,
         // the text that used to be there, and the new text.
         this._editCallback(this._editingNode, columnIdentifier, textBeforeEditing, newText);
@@ -282,7 +282,7 @@ WebInspector.DataGrid.prototype = {
         delete this._editing;
         this._editingNode = null;
     },
-    
+
     get sortColumnIdentifier()
     {
         if (!this._sortColumnCell)
@@ -415,10 +415,10 @@ WebInspector.DataGrid.prototype = {
     updateWidths: function()
     {
         var headerTableColumns = this._headerTableColumnGroup.children;
-        
+
         var tableWidth = this._dataTable.offsetWidth;
         var numColumns = headerTableColumns.length;
-        
+
         // Do not attempt to use offsetes if we're not attached to the document tree yet.
         if (!this._columnWidthsInitialized && this.element.offsetWidth) {
             // Give all the columns initial widths now so that during a resize,
@@ -506,7 +506,7 @@ WebInspector.DataGrid.prototype = {
 
     get scrollContainer()
     {
-        return this._scrollContainer;        
+        return this._scrollContainer;
     },
 
     isScrolledToLastRow: function()
@@ -526,7 +526,7 @@ WebInspector.DataGrid.prototype = {
         var left = 0;
         var previousResizer = null;
 
-        // Make n - 1 resizers for n columns. 
+        // Make n - 1 resizers for n columns.
         for (var i = 0; i < numColumns - 1; i++) {
             var resizer = this.resizers[i];
 
@@ -890,7 +890,7 @@ WebInspector.DataGrid.prototype = {
         } else
             gridNode.select();
     },
-    
+
     _contextMenuInDataTable: function(event)
     {
         var contextMenu = new WebInspector.ContextMenu();
@@ -910,7 +910,7 @@ WebInspector.DataGrid.prototype = {
             if (this.dataGrid._deleteCallback && gridNode !== this.creationNode)
                 contextMenu.appendItem(WebInspector.UIString("Delete"), this._deleteCallback.bind(this, gridNode));
         }
-        
+
         contextMenu.show(event);
     },
 
@@ -935,7 +935,7 @@ WebInspector.DataGrid.prototype = {
                 gridNode.expand();
         }
     },
-    
+
     get resizeMethod()
     {
         if (typeof this._resizeMethod === "undefined")
@@ -947,7 +947,7 @@ WebInspector.DataGrid.prototype = {
     {
         this._resizeMethod = method;
     },
-    
+
     _startResizerDragging: function(event)
     {
         this.currentResizer = event.target;
@@ -956,13 +956,13 @@ WebInspector.DataGrid.prototype = {
         WebInspector.elementDragStart(this.lastResizer, this._resizerDragging.bind(this),
             this._endResizerDragging.bind(this), event, "col-resize");
     },
-    
+
     _resizerDragging: function(event)
     {
         var resizer = this.currentResizer;
         if (!resizer)
             return;
-        
+
         // Constrain the dragpoint to be within the containing div of the
         // datagrid.
         var dragPoint = event.clientX - this.element.totalOffsetLeft();
@@ -974,7 +974,7 @@ WebInspector.DataGrid.prototype = {
         var leftEdgeOfPreviousColumn = 0;
         for (var i = 0; i < leftCellIndex; i++)
             leftEdgeOfPreviousColumn += firstRowCells[i].offsetWidth;
-        
+
         // Differences for other resize methods
         if (this.resizeMethod == WebInspector.DataGrid.ResizeMethod.Last) {
             rightCellIndex = this.resizers.length;
@@ -982,9 +982,9 @@ WebInspector.DataGrid.prototype = {
             leftEdgeOfPreviousColumn += firstRowCells[leftCellIndex].offsetWidth - firstRowCells[0].offsetWidth;
             leftCellIndex = 0;
         }
-        
+
         var rightEdgeOfNextColumn = leftEdgeOfPreviousColumn + firstRowCells[leftCellIndex].offsetWidth + firstRowCells[rightCellIndex].offsetWidth;
-        
+
         // Give each column some padding so that they don't disappear.
         var leftMinimum = leftEdgeOfPreviousColumn + this.ColumnResizePadding;
         var rightMaximum = rightEdgeOfNextColumn - this.ColumnResizePadding;
@@ -1005,16 +1005,16 @@ WebInspector.DataGrid.prototype = {
         event.preventDefault();
         this.dispatchEventToListeners("width changed");
     },
-    
+
     _endResizerDragging: function(event)
     {
         WebInspector.elementDragEnd(event);
         this.currentResizer = null;
         this.dispatchEventToListeners("width changed");
     },
-    
+
     ColumnResizePadding: 10,
-    
+
     CenterResizerOverBorderAdjustment: 3,
 }
 
index ecca97c..ffb476f 100644 (file)
@@ -87,7 +87,7 @@ WebInspector.Database.prototype = {
         }
         DatabaseAgent.getDatabaseTableNames(this._id, sortingCallback);
     },
-    
+
     executeSql: function(query, onSuccess, onError)
     {
         function callback(error, success, transactionId)
@@ -108,7 +108,7 @@ WebInspector.Database.prototype = {
 
 /**
  * @constructor
- * @implements {DatabaseAgent.Dispatcher} 
+ * @implements {DatabaseAgent.Dispatcher}
  */
 WebInspector.DatabaseDispatcher = function()
 {
@@ -131,7 +131,7 @@ WebInspector.DatabaseDispatcher.prototype = {
     {
         if (!WebInspector.DatabaseDispatcher._callbacks[transactionId])
             return;
-    
+
         var callback = WebInspector.DatabaseDispatcher._callbacks[transactionId].onSuccess;
         delete WebInspector.DatabaseDispatcher._callbacks[transactionId];
         if (callback)
index 111246f..92ecc67 100644 (file)
@@ -82,7 +82,7 @@ WebInspector.DatabaseQueryView.prototype = {
                     return;
             }
         }
-        
+
         function tableNamesCallback(tableNames)
         {
             accumulateMatches(tableNames.map(function(name) { return name + " " }));
@@ -145,7 +145,7 @@ WebInspector.DatabaseQueryView.prototype = {
         if (dataGrid) {
             dataGrid.element.addStyleClass("inline");
             this._appendQueryResult(trimmedQuery, dataGrid.element);
-            dataGrid.autoSizeColumns(5);            
+            dataGrid.autoSizeColumns(5);
         }
 
         if (trimmedQuery.match(/^create /i) || trimmedQuery.match(/^drop table /i))
index fa791a6..761012c 100644 (file)
@@ -155,7 +155,7 @@ WebInspector.HeapSnapshotGridNode.prototype = {
             }
             this._saveChildren();
             this.removeChildren();
+
             function afterPopulate()
             {
                 for (var i = 0, l = this.children.length; i < l; ++i) {
@@ -595,7 +595,7 @@ WebInspector.HeapSnapshotDiffNode.prototype = {
     calculateDiff: function(dataGrid, callback)
     {
         var diff = dataGrid.snapshot.createDiff(this._name);
-        
+
         function diffCalculated(diffResult)
         {
             diff.dispose();
index 200c80b..0096651 100644 (file)
@@ -272,7 +272,7 @@ WebInspector.HeapSnapshotDiffDataGrid.prototype = {
             this.dispatchEventToListeners("sorting complete");
             return;
         }
-        this.populateChildren();        
+        this.populateChildren();
     },
 
     populateChildren: function()
@@ -414,7 +414,7 @@ WebInspector.HeapSnapshotRetainingPathsList.prototype = {
     {
         if (this._state)
             this._state.cancel();
-    }, 
+    },
 
     _sortFields: function(sortColumn, sortAscending)
     {
@@ -985,7 +985,7 @@ WebInspector.DetailedHeapshotView.prototype = {
         }
         this.views[viewIndex].grid.addEventListener("sorting complete", sortingComplete, this);
         this.viewSelectElement.selectedIndex = viewIndex;
-        this._changeView({target: {selectedIndex: viewIndex}});      
+        this._changeView({target: {selectedIndex: viewIndex}});
     },
 
     _changeView: function(event)
@@ -1173,7 +1173,7 @@ WebInspector.DetailedHeapshotView.prototype = {
         height = Number.constrain(height, Preferences.minConsoleHeight, this.element.clientHeight - Preferences.minConsoleHeight);
         this.viewsContainer.style.bottom = (height + this.retainmentViewHeader.clientHeight) + "px";
         this.retainmentView.element.style.height = height + "px";
-        this.retainmentViewHeader.style.bottom = height + "px";        
+        this.retainmentViewHeader.style.bottom = height + "px";
     },
 
     _updateBaseOptions: function()
index 57b2b62..c3c4124 100644 (file)
@@ -291,7 +291,7 @@ WebInspector.ElementsTreeOutline.prototype = {
     {
         if (!this._nodeBeingDragged)
             return false;
-        
+
         var treeElement = this._treeElementFromEvent(event);
         if (!this._isValidDragSourceOrTarget(treeElement))
             return false;
@@ -1213,7 +1213,7 @@ WebInspector.ElementsTreeElement.prototype = {
             for (var i = 0; i < attributes.length; ++i) {
                 if (attributes[i].name !== attributeName)
                     continue;
-                    
+
                 if (moveDirection === "backward") {
                     if (i === 0)
                         this._startEditingTagName();
index 441ddc4..b08e068 100644 (file)
@@ -42,7 +42,7 @@ WebInspector.EmptyView.prototype = {
         this.element.className = "storage-empty-view";
         this.element.textContent = this._text;
     },
-    
+
     set text(text)
     {
         this._text = text;
index fd2543f..2eb8649 100644 (file)
@@ -91,7 +91,7 @@ WebInspector.EventListenersSidebarPane.prototype = {
                 }
                 section.addListener(eventListener);
             }
-            
+
             if (sectionNames.length === 0) {
                 var div = document.createElement("div");
                 div.className = "info";
index dc21020..a502caf 100644 (file)
@@ -30,7 +30,7 @@
 
 WebInspector.commonExtensionSymbols = function(apiPrivate)
 {
-    
+
     if (!apiPrivate.audits)
         apiPrivate.audits = {};
 
index da6b148..eebd43a 100644 (file)
@@ -47,7 +47,7 @@ WebInspector.GoToLineDialog = function(view)
     this._input.setAttribute("size", 6);
     var blurHandler = this._onBlur.bind(this);
     this._input.addEventListener("blur", blurHandler, false);
-    
+
 
     var go = dialogWindow.createChild("button");
     go.textContent = WebInspector.UIString("Go");
index 6cb2331..9040ea3 100644 (file)
@@ -155,7 +155,7 @@ WebInspector.HeapSnapshotLoader.prototype = {
             this._json = this._json.slice(closingBracketIndex);
             this._state = "parse-nodes";
             this.pushJSONChunk("");
-            break;          
+            break;
         }
         case "parse-nodes": {
             if (this._parseNodes())
@@ -760,7 +760,7 @@ WebInspector.HeapSnapshot.prototype = {
 
         var dominatedIndexFrom = this._getDominatedIndex(node.nodeIndex);
         var dominatedIndexTo = this._getDominatedIndex(node._nextNodeIndex);
-        return new WebInspector.HeapSnapshotArraySlice(this, "_dominatedNodes", dominatedIndexFrom, dominatedIndexTo);        
+        return new WebInspector.HeapSnapshotArraySlice(this, "_dominatedNodes", dominatedIndexFrom, dominatedIndexTo);
     },
 
     aggregates: function(sortedIndexes)
@@ -926,7 +926,7 @@ WebInspector.HeapSnapshot.prototype = {
         var nodePosition = this._findNodePositionInIndex(nodeIndex);
         return this._dominatedIndex[nodePosition];
     },
-  
+
     _markInvisibleEdges: function()
     {
         // Mark hidden edges of global objects as invisible.
@@ -1304,7 +1304,7 @@ WebInspector.HeapSnapshotPathFinder.prototype = {
     {
         if (filter)
             filter = eval("(function(){return " + filter + "})()");
-        this._rootChildren = this._fillRootChildren(filter);  
+        this._rootChildren = this._fillRootChildren(filter);
         this._reset();
     },
 
@@ -1464,7 +1464,7 @@ WebInspector.HeapSnapshotsDiff.prototype = {
         var i = 0, l = this._baseIds.length;
         var j = 0, m = indexes.length;
         var diff = { addedCount: 0, removedCount: 0, addedSize: 0, removedSize: 0 };
-           
+
         var nodeB = new WebInspector.HeapSnapshotNode(this._snapshot, indexes[j]);
         while (i < l && j < m) {
             var nodeAId = this._baseIds[i];
@@ -1475,10 +1475,10 @@ WebInspector.HeapSnapshotsDiff.prototype = {
             } else if (nodeAId > nodeB.id) {
                 diff.addedCount++;
                 diff.addedSize += nodeB.selfSize;
-                nodeB.nodeIndex = indexes[++j];                
+                nodeB.nodeIndex = indexes[++j];
             } else {
                 ++i;
-                nodeB.nodeIndex = indexes[++j];                
+                nodeB.nodeIndex = indexes[++j];
             }
         }
         while (i < l) {
index 6aa1e61..44a0544 100644 (file)
@@ -197,7 +197,7 @@ WebInspector.HeapSnapshotWorker.prototype = {
 
     _postMessage: function(message)
     {
-        this._worker.postMessage(message);      
+        this._worker.postMessage(message);
     }
 };
 
index 1f32ec2..d62cc43 100644 (file)
@@ -70,7 +70,7 @@ WebInspector.HeapSnapshotWorkerDispatcher.prototype = {
                 var object = this._objects[data.objectId];
                 var result = object[data.methodName].apply(object, data.methodArguments);
                 if (result)
-                    this._objects[data.newObjectId] = result;            
+                    this._objects[data.newObjectId] = result;
                 this._postMessage({callId: data.callId, result: !!result});
                 break;
             }
index 68c7518..691548a 100644 (file)
@@ -86,7 +86,7 @@ WebInspector.ImageView.prototype = {
                 { name: WebInspector.UIString("File size"), value: Number.bytesToString(resourceSize) },
                 { name: WebInspector.UIString("MIME type"), value: this.resource.mimeType }
             ];
-    
+
             infoListElement.removeChildren();
             for (var i = 0; i < imageProperties.length; ++i) {
                 var dt = document.createElement("dt");
index 7176844..d65b208 100644 (file)
@@ -175,7 +175,7 @@ FakeWorker.prototype = {
         var listeners = this._listeners;
         for (var i = 0; i < listeners.length; ++i) {
             if (listeners[i].originalCallback === callback &&
-                listeners[i].type === type && 
+                listeners[i].type === type &&
                 listeners[i].useCapture === Boolean(useCapture)) {
                 this.channel.port2.removeEventListener(type, listeners[i], useCapture);
                 listeners[i] = listeners[listeners.length - 1];
index ff328d9..e7a80b7 100644 (file)
@@ -138,7 +138,7 @@ WebInspector.InspectorFrontendHostStub.prototype = {
         var builder = new WebKitBlobBuilder();
         builder.append(content);
         var blob = builder.getBlob("application/octet-stream");
-    
+
         var fr = new FileReader();
         fr.onload = function(e) {
             // Force download
index 78d9a7b..5030707 100644 (file)
@@ -82,7 +82,7 @@ WebInspector.MetricsSidebarPane.prototype = {
         // "style" attribute might have changed. Update metrics unless they are being edited.
         if (!this._isEditingMetrics)
             this._innerUpdate();
-    },    
+    },
 
     _getPropertyValueAsPx: function(style, propertyName)
     {
index eeb7006..abc4fb4 100644 (file)
@@ -39,7 +39,7 @@ WebInspector.NetworkManager = function()
     if (WebInspector.settings.cacheDisabled.get())
         NetworkAgent.setCacheDisabled(true);
     NetworkAgent.enable();
-    
+
     WebInspector.settings.cacheDisabled.addChangeListener(this._cacheDisabledSettingChanged.bind(this));
 }
 
@@ -59,7 +59,7 @@ WebInspector.NetworkManager.prototype = {
             else
                 callback(content, content && contentEncoded);
         }
-        // FIXME: https://bugs.webkit.org/show_bug.cgi?id=61363 We should separate NetworkResource (NetworkPanel resource) 
+        // FIXME: https://bugs.webkit.org/show_bug.cgi?id=61363 We should separate NetworkResource (NetworkPanel resource)
         // from ResourceRevision (ResourcesPanel/ScriptsPanel resource) and request content accordingly.
         if (resource.requestId)
             NetworkAgent.getResourceContent(resource.requestId, callbackWrapper);
@@ -71,7 +71,7 @@ WebInspector.NetworkManager.prototype = {
     {
         return this._dispatcher._inflightResourcesByURL[url];
     },
-    
+
     _cacheDisabledSettingChanged: function(event)
     {
         NetworkAgent.setCacheDisabled(event.data);
index 8d2eb27..31cd48f 100644 (file)
@@ -749,17 +749,17 @@ WebInspector.NetworkLogView.prototype = {
     _appendResource: function(resource)
     {
         this._resources.push(resource);
-        
-        // In case of redirect request id is reassigned to a redirected 
-        // resource and we need to update _resourcesById ans search results. 
+
+        // In case of redirect request id is reassigned to a redirected
+        // resource and we need to update _resourcesById ans search results.
         if (this._resourcesById[resource.requestId]) {
             var oldResource = resource.redirects[resource.redirects.length - 1];
             this._resourcesById[oldResource.requestId] = oldResource;
-            
+
             this._updateSearchMatchedListAfterRequestIdChanged(resource.requestId, oldResource.requestId);
         }
         this._resourcesById[resource.requestId] = resource;
-        
+
         this._resourcesByURL[resource.url] = resource;
 
         // Pull all the redirects of the main resource upon commit load.
@@ -1228,11 +1228,11 @@ WebInspector.NetworkLogView.prototype = {
         this._clearSearchMatchedList();
         this.dispatchEventToListeners(WebInspector.NetworkLogView.EventTypes.SearchCountUpdated, 0);
     },
-    
+
     revealAndHighlightResource: function(resource)
     {
         this._removeAllNodeHighlights();
-        
+
         var node = this._resourceGridNode(resource);
         if (node) {
             this._dataGrid.element.focus();
@@ -1240,7 +1240,7 @@ WebInspector.NetworkLogView.prototype = {
             this._highlightNode(node);
         }
     },
-    
+
     _removeAllNodeHighlights: function(node, decoration)
     {
         if (this._highlightedNode) {
@@ -1248,7 +1248,7 @@ WebInspector.NetworkLogView.prototype = {
             delete this._highlightedNode;
         }
     },
-    
+
     _highlightNode: function(node)
     {
         node.element.addStyleClass("highlighted-row");
@@ -1322,7 +1322,7 @@ WebInspector.NetworkPanel.prototype = {
     {
         if (!this._viewingResourceMode)
             return;
-        
+
         var preferredWidth = WebInspector.Panel.prototype.preferredSidebarWidth.call(this);
         if (typeof(preferredWidth) === "undefined")
             preferredWidth = 200;
@@ -2009,7 +2009,7 @@ WebInspector.NetworkDataGridNode.prototype = {
                 this._appendSubtitle(this._initiatorCell, WebInspector.UIString("Redirect"));
             } else if (initiator.type === "script") {
                 var topFrame = initiator.stackTrace[0];
-                // This could happen when resource loading was triggered by console. 
+                // This could happen when resource loading was triggered by console.
                 if (!topFrame.url) {
                     this._initiatorCell.addStyleClass("network-dim-cell");
                     this._initiatorCell.setTextAndTitle(WebInspector.UIString("Other"));
index a01bd6a..9626c76 100644 (file)
@@ -61,14 +61,14 @@ WebInspector.ObjectPropertiesSection.prototype = {
     {
         if (!rootTreeElementConstructor)
             rootTreeElementConstructor = this.treeElementConstructor;
-            
+
         if (!rootPropertyComparer)
             rootPropertyComparer = WebInspector.ObjectPropertiesSection.CompareProperties;
-            
+
         if (this.extraProperties)
             for (var i = 0; i < this.extraProperties.length; ++i)
                 properties.push(this.extraProperties[i]);
-                
+
         properties.sort(rootPropertyComparer);
 
         this.propertiesTreeOutline.removeChildren();
@@ -90,7 +90,7 @@ WebInspector.ObjectPropertiesSection.prototype = {
 
 WebInspector.ObjectPropertiesSection.prototype.__proto__ = WebInspector.PropertiesSection.prototype;
 
-WebInspector.ObjectPropertiesSection.CompareProperties = function(propertyA, propertyB) 
+WebInspector.ObjectPropertiesSection.CompareProperties = function(propertyA, propertyB)
 {
     var a = propertyA.name;
     var b = propertyB.name;
@@ -186,7 +186,7 @@ WebInspector.ObjectPropertyTreeElement.prototype = {
         var separatorElement = document.createElement("span");
         separatorElement.className = "separator";
         separatorElement.textContent = ": ";
-        
+
         this.valueElement = document.createElement("span");
         this.valueElement.className = "value";
 
index 0f4fd3b..9e685b1 100644 (file)
@@ -36,7 +36,7 @@ Object.defineProperty(Array.prototype, "sortRange", { value: function(comparator
         array[i1] = array[i2];
         array[i2] = temp;
     }
-     
+
     function partition(array, comparator, left, right, pivotIndex)
     {
         var pivotValue = array[pivotIndex];
@@ -51,7 +51,7 @@ Object.defineProperty(Array.prototype, "sortRange", { value: function(comparator
         swap(array, right, storeIndex);
         return storeIndex;
     }
-     
+
     function quickSortFirstK(array, comparator, left, right, k)
     {
         if (right <= left)
index 8d18587..2a03f83 100644 (file)
@@ -87,12 +87,12 @@ WebInspector.CPUProfileView = function(profile)
             return;
         self.profile.head = profile.head;
         self._assignParentsInProfile();
-      
+
         self.profileDataGridTree = self.bottomUpProfileDataGridTree;
         self.profileDataGridTree.sort(WebInspector.ProfileDataGridTree.propertyComparator("selfTime", false));
-     
+
         self.refresh();
-     
+
         self._updatePercentButton();
     }
 
index 07c24e3..12ba0ed 100644 (file)
@@ -261,10 +261,10 @@ WebInspector.ProfilesPanel.prototype = {
             var part1 = document.createElement("span");
             part1.textContent = message.substr(0, buttonPos);
             container.appendChild(part1);
-     
+
             var button = new WebInspector.StatusBarButton(profileType.buttonTooltip, profileType.buttonStyle, profileType.buttonCaption);
             container.appendChild(button.element);
-       
+
             var part2 = document.createElement("span");
             part2.textContent = message.substr(buttonPos + 2);
             container.appendChild(part2);
@@ -534,7 +534,7 @@ WebInspector.ProfilesPanel.prototype = {
                 // incremented twice as often as it's displayed
                 title += " " + WebInspector.UIString("Run %d", (groupNumber + 1) / 2);
         }
-        
+
         return title;
     },
 
index 58580c0..a53c295 100644 (file)
@@ -243,7 +243,7 @@ WebInspector.RemoteObjectProperty = function(name, value, descriptor)
     this.enumerable = descriptor ? !!descriptor.enumerable : true;
     this.writable = descriptor ? !!descriptor.writable : true;
     if (descriptor && descriptor.wasThrown)
-        this.wasThrown = true; 
+        this.wasThrown = true;
 }
 
 WebInspector.RemoteObjectProperty.fromPrimitiveValue = function(name, value)
index e71f18f..979a676 100644 (file)
@@ -541,7 +541,7 @@ WebInspector.Resource.prototype = {
                 break;
         }
     },
-    
+
     get redirectSource()
     {
         if (this.redirects && this.redirects.length > 0)
@@ -758,7 +758,7 @@ WebInspector.Resource.prototype = {
 
     addMessage: function(msg)
     {
-        if (!msg.isErrorOrWarning() || !msg.message) 
+        if (!msg.isErrorOrWarning() || !msg.message)
             return;
 
         if (!this._messages)
index a7bd41c..c477687 100644 (file)
@@ -6,13 +6,13 @@
  * are met:
  *
  * 1.  Redistributions of source code must retain the above copyright
- *     notice, this list of conditions and the following disclaimer. 
+ *     notice, this list of conditions and the following disclaimer.
  * 2.  Redistributions in binary form must reproduce the above copyright
  *     notice, this list of conditions and the following disclaimer in the
- *     documentation and/or other materials provided with the distribution. 
+ *     documentation and/or other materials provided with the distribution.
  * 3.  Neither the name of Apple Computer, Inc. ("Apple") nor the names of
  *     its contributors may be used to endorse or promote products derived
- *     from this software without specific prior written permission. 
+ *     from this software without specific prior written permission.
  *
  * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY
  * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
index 9c91f75..0663bcb 100644 (file)
@@ -54,7 +54,7 @@ WebInspector.ResourceHTMLView.prototype = {
 
     _createIFrame: function()
     {
-        // We need to create iframe again each time because contentDocument 
+        // We need to create iframe again each time because contentDocument
         // is deleted when iframe is removed from its parent.
         this.element.removeChildren();
         var iframe = document.createElement("iframe");
index c87bea7..39ff081 100644 (file)
@@ -8,13 +8,13 @@
  * are met:
  *
  * 1.  Redistributions of source code must retain the above copyright
- *     notice, this list of conditions and the following disclaimer. 
+ *     notice, this list of conditions and the following disclaimer.
  * 2.  Redistributions in binary form must reproduce the above copyright
  *     notice, this list of conditions and the following disclaimer in the
- *     documentation and/or other materials provided with the distribution. 
+ *     documentation and/or other materials provided with the distribution.
  * 3.  Neither the name of Apple Computer, Inc. ("Apple") nor the names of
  *     its contributors may be used to endorse or promote products derived
- *     from this software without specific prior written permission. 
+ *     from this software without specific prior written permission.
  *
  * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY
  * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
@@ -53,7 +53,7 @@ WebInspector.ResourceHeadersView = function(resource)
     this._statusCodeTreeElement = new TreeElement("", null, false);
     this._statusCodeTreeElement.selectable = false;
     this._headersTreeOutline.appendChild(this._statusCodeTreeElement);
-     
+
     this._requestHeadersTreeElement = new TreeElement("", null, true);
     this._requestHeadersTreeElement.expanded = true;
     this._requestHeadersTreeElement.selectable = false;
@@ -129,12 +129,12 @@ WebInspector.ResourceHeadersView.prototype = {
         if (!urlFragment)
             return;
 
-        var sectionTitle = WebInspector.UIString("URL fragment"); 
+        var sectionTitle = WebInspector.UIString("URL fragment");
 
         this._urlFragmentTreeElement.removeChildren();
         this._urlFragmentTreeElement.listItemElement.removeChildren();
         this._urlFragmentTreeElement.listItemElement.appendChild(document.createTextNode(sectionTitle));
-        
+
         var title = "<div class=\"header-name\">#:</div>";
         title += "<div class=\"header-value source-code\">" + urlFragment.escapeHTML() + "</div>";
 
@@ -143,7 +143,7 @@ WebInspector.ResourceHeadersView.prototype = {
         fragmentTreeElement.selectable = false;
         this._urlFragmentTreeElement.appendChild(fragmentTreeElement);
     },
-    
+
     _refreshFormData: function()
     {
         this._formDataTreeElement.hidden = true;
@@ -177,7 +177,7 @@ WebInspector.ResourceHeadersView.prototype = {
     _decodeURIComponent: function(value)
     {
         var errorDecoding = false;
-        
+
         if (value.indexOf("%") >= 0) {
             try {
                 value = decodeURIComponent(value);
@@ -190,17 +190,17 @@ WebInspector.ResourceHeadersView.prototype = {
         var valueEscaped = value.escapeHTML();
         if (errorDecoding)
             valueEscaped += " <span class=\"error-message\">" + WebInspector.UIString("(unable to decode value)").escapeHTML() + "</span>";
-        
-        return valueEscaped; 
+
+        return valueEscaped;
     },
-    
+
     _refreshParms: function(title, parms, parmsTreeElement)
     {
         parmsTreeElement.removeChildren();
 
         parmsTreeElement.listItemElement.removeChildren();
         parmsTreeElement.listItemElement.appendChild(document.createTextNode(title));
-        
+
         var headerCount = document.createElement("span");
         headerCount.addStyleClass("header-count");
         headerCount.textContent = WebInspector.UIString(" (%d)", parms.length);
@@ -252,10 +252,10 @@ WebInspector.ResourceHeadersView.prototype = {
             additionalRow = {header: "(Key3)", value: this._resource.webSocketRequestKey3};
         if (this._showRequestHeadersText)
             this._refreshHeadersText(WebInspector.UIString("Request Headers"), this._resource.requestHeadersText, this._requestHeadersTreeElement);
-        else 
+        else
             this._refreshHeaders(WebInspector.UIString("Request Headers"), this._resource.sortedRequestHeaders, additionalRow, this._requestHeadersTreeElement);
 
-        if (this._resource.requestHeadersText) { 
+        if (this._resource.requestHeadersText) {
             var toggleButton = this._createHeadersToggleButton(this._showRequestHeadersText);
             toggleButton.addEventListener("click", this._toggleRequestHeadersText.bind(this));
             this._requestHeadersTreeElement.listItemElement.appendChild(toggleButton);
@@ -273,7 +273,7 @@ WebInspector.ResourceHeadersView.prototype = {
             this._refreshHeadersText(WebInspector.UIString("Response Headers"), this._resource.responseHeadersText, this._responseHeadersTreeElement);
         else
             this._refreshHeaders(WebInspector.UIString("Response Headers"), this._resource.sortedResponseHeaders, additionalRow, this._responseHeadersTreeElement);
-        
+
         if (this._resource.responseHeadersText) {
             var toggleButton = this._createHeadersToggleButton(this._showResponseHeadersText);
             toggleButton.addEventListener("click", this._toggleResponseHeadersText.bind(this));
@@ -300,7 +300,7 @@ WebInspector.ResourceHeadersView.prototype = {
 
             var statusTextEscaped = this._resource.statusCode + " " + this._resource.statusText.escapeHTML();
             statusCodeImage = "<img class=\"resource-status-image\" src=\"" + statusImageSource + "\" title=\"" + statusTextEscaped + "\">";
-    
+
             requestMethodElement.titleHTML = "<div class=\"header-name\">" + WebInspector.UIString("Request Method") + ":</div>" +
                 "<div class=\"header-value source-code\">" + this._resource.requestMethod + "</div>";
 
@@ -312,12 +312,12 @@ WebInspector.ResourceHeadersView.prototype = {
                 statusCodeImage + "<div class=\"header-value source-code\">" + statusTextEscaped + fromCacheSpan + "</div>";
         }
     },
-    
+
     _refreshHeadersTitle: function(title, headersTreeElement, isHeadersTextShown, headersLength)
     {
         headersTreeElement.listItemElement.removeChildren();
         headersTreeElement.listItemElement.appendChild(document.createTextNode(title));
-        
+
         if (!isHeadersTextShown) {
             var headerCount = document.createElement("span");
             headerCount.addStyleClass("header-count");
@@ -325,11 +325,11 @@ WebInspector.ResourceHeadersView.prototype = {
             headersTreeElement.listItemElement.appendChild(headerCount);
         }
     },
-    
+
     _refreshHeaders: function(title, headers, additionalRow, headersTreeElement)
     {
         headersTreeElement.removeChildren();
-        
+
         var length = headers.length;
         this._refreshHeadersTitle(title, headersTreeElement, false, length);
         headersTreeElement.hidden = !length;
@@ -353,17 +353,17 @@ WebInspector.ResourceHeadersView.prototype = {
             headersTreeElement.appendChild(headerTreeElement);
         }
     },
-    
+
     _refreshHeadersText: function(title, headersText, headersTreeElement)
     {
         headersTreeElement.removeChildren();
-        
+
         this._refreshHeadersTitle(title, headersTreeElement, true);
         var headerTreeElement = new TreeElement(null, null, false);
         headerTreeElement.selectable = false;
         headersTreeElement.appendChild(headerTreeElement);
         headerTreeElement.listItemElement.addStyleClass("headers-text");
-        
+
         var headersTextElement = document.createElement("span");
         headersTextElement.addStyleClass("header-value");
         headersTextElement.addStyleClass("source-code");
@@ -390,7 +390,7 @@ WebInspector.ResourceHeadersView.prototype = {
         button.textContent = title;
         return button;
     },
-    
+
     _createHeadersToggleButton: function(isHeadersTextShown)
     {
         var toggleTitle = isHeadersTextShown ? WebInspector.UIString("view parsed") : WebInspector.UIString("view source");
index a0adc75..f91a182 100644 (file)
@@ -60,8 +60,8 @@ WebInspector.ResourceJSONView.parseJSONP = function(text)
     var end = text.lastIndexOf(")");
     if (start == -1 || end == -1 || end < start)
         return;
-    
-    var prefix = text.substring(0, start + 1); 
+
+    var prefix = text.substring(0, start + 1);
     var suffix = text.substring(end);
     var text = text.substring(start + 1, end);
 
index 2f13e93..cb36d4d 100644 (file)
@@ -110,7 +110,7 @@ WebInspector.ResourceTimingView.createTimingTable = function(resource)
     var sendStart = resource.timing.sendStart;
     if (resource.timing.sslStart !== -1)
         sendStart += resource.timing.sslEnd - resource.timing.sslStart;
+
     addRow(WebInspector.UIString("Sending"), "sending", resource.timing.sendStart, resource.timing.sendEnd);
     addRow(WebInspector.UIString("Waiting"), "waiting", resource.timing.sendEnd, resource.timing.receiveHeadersEnd);
     addRow(WebInspector.UIString("Receiving"), "receiving", (resource.responseReceivedTime - resource.timing.requestTime) * 1000, (resource.endTime - resource.timing.requestTime) * 1000);
index 46c5205..8975f0c 100644 (file)
@@ -44,7 +44,7 @@ WebInspector.ResourceTreeModel = function(networkManager)
 
     this.frontendReused();
     InspectorBackend.registerPageDispatcher(new WebInspector.PageDispatcher(this));
-    
+
     this._pendingConsoleMessages = {};
 }
 
@@ -142,10 +142,10 @@ WebInspector.ResourceTreeModel.prototype = {
             frame.parentId = frame.parentId || "";
             this._frameIds[frame.id] = frame;
         }
-        // Dispatch frame navigated event to clients prior to filling it with the resources. 
+        // Dispatch frame navigated event to clients prior to filling it with the resources.
         this.dispatchEventToListeners(WebInspector.ResourceTreeModel.EventTypes.FrameNavigated, { frame: frame, loaderId: loaderId, isMainFrame: isMainFrame });
 
-        // Fill frame with retained resources (the ones loaded using new loader). 
+        // Fill frame with retained resources (the ones loaded using new loader).
         var resourcesForFrame = this._resourcesByFrameId[frame.id];
         if (resourcesForFrame) {
             for (var url in resourcesForFrame)
@@ -204,7 +204,7 @@ WebInspector.ResourceTreeModel.prototype = {
             this._unbindResourceURL(resource);
             return;
         }
-                
+
         if (resource.finished)
             this._addResourceToFrame(resource);
     },
@@ -280,7 +280,7 @@ WebInspector.ResourceTreeModel.prototype = {
         {
             resource.clearErrorsAndWarnings();
         }
-        
+
         this._pendingConsoleMessages = {};
         this.forAllResources(callback);
     },
@@ -293,7 +293,7 @@ WebInspector.ResourceTreeModel.prototype = {
     _bindResourceURL: function(resource)
     {
         this._resourcesByURL[resource.url] = resource;
-        
+
         this._addPendingConsoleMessagesToResource(resource);
     },
 
@@ -410,7 +410,7 @@ WebInspector.PageDispatcher.prototype = {
     domContentEventFired: function(time)
     {
         this._resourceTreeModel.dispatchEventToListeners(WebInspector.ResourceTreeModel.EventTypes.DOMContentLoaded, time);
-      
+
         // FIXME: the only client is HAR, fix it there.
         WebInspector.mainResourceDOMContentTime = time;
     },
index bcb5297..ed10121 100644 (file)
@@ -101,7 +101,7 @@ WebInspector.ResourceSourceFrame.prototype = {
             var mimeType = WebInspector.ResourceSourceFrame.mimeTypeForResource(this.resource);
             callback(mimeType, text);
         }
-        
+
         this.resource.requestContent(contentLoaded.bind(this));
     },
 
index a60e616..885133d 100644 (file)
@@ -146,7 +146,7 @@ WebInspector.ResourcesPanel.prototype = {
         this._domStorage = [];
 
         this._cookieViews = {};
-        
+
         this._applicationCacheView = null;
         delete this._cachedApplicationCacheViewStatus;
 
@@ -173,8 +173,8 @@ WebInspector.ResourcesPanel.prototype = {
         WebInspector.resourceTreeModel.addEventListener(WebInspector.ResourceTreeModel.EventTypes.FrameNavigated, this._frameNavigated, this);
         WebInspector.resourceTreeModel.addEventListener(WebInspector.ResourceTreeModel.EventTypes.FrameDetached, this._frameDetached, this);
         WebInspector.resourceTreeModel.addEventListener(WebInspector.ResourceTreeModel.EventTypes.ResourceAdded, this._resourceAdded, this);
-        WebInspector.resourceTreeModel.addEventListener(WebInspector.ResourceTreeModel.EventTypes.CachedResourcesLoaded, this._cachedResourcesLoaded, this); 
-        WebInspector.resourceTreeModel.addEventListener(WebInspector.ResourceTreeModel.EventTypes.WillLoadCachedResources, this._resetResourcesTree, this); 
+        WebInspector.resourceTreeModel.addEventListener(WebInspector.ResourceTreeModel.EventTypes.CachedResourcesLoaded, this._cachedResourcesLoaded, this);
+        WebInspector.resourceTreeModel.addEventListener(WebInspector.ResourceTreeModel.EventTypes.WillLoadCachedResources, this._resetResourcesTree, this);
 
         function populateFrame(frameId)
         {
@@ -197,7 +197,7 @@ WebInspector.ResourcesPanel.prototype = {
     {
         var frame = event.data;
         var parentFrameId = frame.parentId;
-        
+
         var parentTreeElement = parentFrameId ? this._treeElementForFrameId[parentFrameId] : this.resourcesListTreeElement;
         if (!parentTreeElement) {
             console.warn("No frame with id:" + parentFrameId + " to route " + frame.name + "/" + frame.url + " to.")
@@ -442,7 +442,7 @@ WebInspector.ResourcesPanel.prototype = {
     {
         if (!database)
             return;
-            
+
         var view;
         if (tableName) {
             if (!("_tableViews" in database))
@@ -684,7 +684,7 @@ WebInspector.ResourcesPanel.prototype = {
         this.storageViewStatusBarItemsContainer.style.left = width + "px";
     },
 
-    performSearch: function(query) 
+    performSearch: function(query)
     {
         this._resetSearchResults();
         var regex = WebInspector.SourceFrame.createSearchRegex(query);
@@ -710,30 +710,30 @@ WebInspector.ResourcesPanel.prototype = {
                         continue;
                     var resource = frameTreeElement.resourceByURL(searchResult.url);
 
-                    // FIXME: When the same script is used in several frames and this script contains at least 
+                    // FIXME: When the same script is used in several frames and this script contains at least
                     // one search result then some search results can not be matched with a resource on panel.
-                    // https://bugs.webkit.org/show_bug.cgi?id=66005 
+                    // https://bugs.webkit.org/show_bug.cgi?id=66005
                     if (!resource)
                         continue;
-                    
+
                     if (resource.history.length > 0)
                         continue; // Skip edited resources.
                     this._findTreeElementForResource(resource).searchMatchesFound(searchResult.matchesCount);
                     totalMatchesCount += searchResult.matchesCount;
                 }
             }
-            
+
             WebInspector.searchController.updateSearchMatchesCount(totalMatchesCount, this);
             this._searchController = new WebInspector.ResourcesSearchController(this.resourcesListTreeElement);
 
             if (this.sidebarTree.selectedTreeElement && this.sidebarTree.selectedTreeElement.searchMatchesCount)
                 this.jumpToNextSearchResult();
         }
-        
+
         this._forAllResourceTreeElements(searchInEditedResource.bind(this));
-        PageAgent.searchInResources(regex.source, !regex.ignoreCase, true, callback.bind(this));            
+        PageAgent.searchInResources(regex.source, !regex.ignoreCase, true, callback.bind(this));
     },
-    
+
     _ensureViewSearchPerformed: function(callback)
     {
         function viewSearchPerformedCallback(searchId)
@@ -765,7 +765,7 @@ WebInspector.ResourcesPanel.prototype = {
             this.showResource(searchResult.treeElement.representedObject);
             WebInspector.searchController.focusSearchField();
         }
-        
+
         function callback(searchId)
         {
             if (this.sidebarTree.selectedTreeElement !== this._lastSearchResultTreeElement)
@@ -814,7 +814,7 @@ WebInspector.ResourcesPanel.prototype = {
         var nextSearchResult = this._searchController.nextSearchResult(currentTreeElement);
         this._showSearchResult(nextSearchResult);
     },
-    
+
     jumpToPreviousSearchResult: function()
     {
         if (!this.currentSearchMatches)
@@ -823,7 +823,7 @@ WebInspector.ResourcesPanel.prototype = {
         var previousSearchResult = this._searchController.previousSearchResult(currentTreeElement);
         this._showSearchResult(previousSearchResult);
     },
-    
+
     _forAllResourceTreeElements: function(callback)
     {
         var stop = false;
@@ -1156,7 +1156,7 @@ WebInspector.FrameTreeElement.prototype = {
                 var title2 = treeElement2.displayName || treeElement2.titleText;
                 result = title1.localeCompare(title2);
             }
-            return result;            
+            return result;
         }
 
         var children = parentTreeElement.children;
@@ -1258,7 +1258,7 @@ WebInspector.FrameResourceTreeElement.prototype = {
         contextMenu.appendSeparator();
         contextMenu.appendItem(WebInspector.UIString(WebInspector.useLowerCaseMenuTitles() ? "Save as..." : "Save As..."), save.bind(this));
     },
-    
+
     _setBubbleText: function(x)
     {
         if (!this._bubbleElement) {
@@ -1324,16 +1324,16 @@ WebInspector.FrameResourceTreeElement.prototype = {
         if (this._resource.errors)
             this._bubbleElement.addStyleClass("error");
     },
-    
+
     _consoleMessagesCleared: function()
     {
         // FIXME: move to the SourceFrame.
         if (this._sourceView)
             this._sourceView.clearMessages();
-        
+
         this._updateErrorsAndWarningsBubbles();
     },
-    
+
     _consoleMessageAdded: function(event)
     {
         var msg = event.data;
@@ -1398,7 +1398,7 @@ WebInspector.FrameResourceTreeElement.prototype = {
             newView.show(oldViewParentNode);
 
         return newView;
-    }    
+    }
 }
 
 WebInspector.FrameResourceTreeElement.prototype.__proto__ = WebInspector.BaseStorageTreeElement.prototype;
@@ -1603,8 +1603,8 @@ WebInspector.StorageCategoryView = function()
 WebInspector.StorageCategoryView.prototype = {
     setText: function(text)
     {
-        this._emptyView.text = text;    
-    }        
+        this._emptyView.text = text;
+    }
 }
 
 WebInspector.StorageCategoryView.prototype.__proto__ = WebInspector.View.prototype;
@@ -1625,7 +1625,7 @@ WebInspector.ResourcesSearchController.prototype = {
 
         if (!currentTreeElement.searchMatchesCount)
             return this._searchResult(this._traverser.next(currentTreeElement), 0);
-        
+
         if (this._lastTreeElement !== currentTreeElement || this._lastIndex === -1)
             return this._searchResult(currentTreeElement, 0);
 
@@ -1634,17 +1634,17 @@ WebInspector.ResourcesSearchController.prototype = {
 
         return this._searchResult(currentTreeElement, this._lastIndex + 1);
     },
-    
+
     previousSearchResult: function(currentTreeElement)
     {
         if (!currentTreeElement) {
             var treeElement = this._traverser.last();
-            return this._searchResult(treeElement, treeElement.searchMatchesCount - 1);            
+            return this._searchResult(treeElement, treeElement.searchMatchesCount - 1);
         }
-        
+
         if (currentTreeElement.searchMatchesCount && this._lastTreeElement === currentTreeElement && this._lastIndex > 0)
             return this._searchResult(currentTreeElement, this._lastIndex - 1);
-         
+
         var treeElement = this._traverser.previous(currentTreeElement)
         return this._searchResult(treeElement, treeElement.searchMatchesCount - 1);
     },
@@ -1667,10 +1667,10 @@ WebInspector.SearchResultsTreeElementsTraverser.prototype = {
     {
         return this.next(this._root);
     },
-        
+
     last: function(startTreeElement)
     {
-        return this.previous(this._root);    
+        return this.previous(this._root);
     },
 
     next: function(startTreeElement)
@@ -1709,9 +1709,9 @@ WebInspector.SearchResultsTreeElementsTraverser.prototype = {
     _lastTreeElement: function()
     {
         var treeElement = this._root;
-        var nextTreeElement; 
+        var nextTreeElement;
         while (nextTreeElement = this._traverseNext(treeElement))
             treeElement = nextTreeElement;
-        return treeElement;        
+        return treeElement;
     }
 }
index a0976d0..f960eac 100644 (file)
@@ -124,7 +124,7 @@ WebInspector.SearchController.prototype = {
 
         if (!this._currentQuery)
             return;
-         
+
         panel = WebInspector.currentPanel;
         if (panel.performSearch) {
             function performPanelSearch()
index c9f8798..fbc485a 100644 (file)
@@ -82,7 +82,7 @@ WebInspector.SettingsScreen.prototype = {
 
     _columnElement: function(right)
     {
-        return right ? this._rightColumnElement : this._leftColumnElement; 
+        return right ? this._rightColumnElement : this._leftColumnElement;
     },
 
     _createCheckboxSetting: function(name, setting)
@@ -130,7 +130,7 @@ WebInspector.SettingsScreen.prototype = {
             input.value = options[i][0];
             input.addEventListener("click", clickListener, false);
             if (settingValue == input.value)
-                input.checked = true; 
+                input.checked = true;
 
             label.appendChild(input);
             label.appendChild(document.createTextNode(options[i][1]));
index 224a43f..fca0659 100644 (file)
@@ -138,7 +138,7 @@ WebInspector.ShortcutsSection.prototype = {
     _renderHeader: function(parent)
     {
         var trHead = parent.createChild("tr");
+
         trHead.createChild("th");
         trHead.createChild("th").textContent = this.name;
     },
index b93a877..425c8c1 100644 (file)
@@ -148,7 +148,7 @@ WebInspector.SourceCSSTokenizer.prototype = {
         while (1) {
             switch (gotoCase)
             // Following comment is replaced with generated state machine.
-            
+
         {
             case 1: var yych;
             var yyaccept = 0;
index 33b13f8..f69cbfc 100644 (file)
@@ -204,7 +204,7 @@ WebInspector.SourceHTMLTokenizer.prototype = {
         while (1) {
             switch (gotoCase)
             // Following comment is replaced with generated state machine.
-            
+
         {
             case 1: var yych;
             var yyaccept = 0;
index 0eada6f..11cedc7 100644 (file)
@@ -85,7 +85,7 @@ WebInspector.SourceJavaScriptTokenizer.prototype = {
         while (1) {
             switch (gotoCase)
             // Following comment is replaced with generated state machine.
-            
+
         {
             case 1: var yych;
             var yyaccept = 0;
index e29b487..7a051dd 100644 (file)
@@ -41,7 +41,7 @@ WebInspector.StatusBarButton = function(title, className, states)
     this.glyphShadow = document.createElement("div");
     this.glyphShadow.className = "glyph shadow";
     this.element.appendChild(this.glyphShadow);
-    
+
     this.states = states;
     if (!states)
         this.states = 2;
@@ -50,7 +50,7 @@ WebInspector.StatusBarButton = function(title, className, states)
         this._state = false;
     else
         this._state = 0;
-    
+
     this.title = title;
     this.disabled = false;
     this._visible = true;
@@ -87,17 +87,17 @@ WebInspector.StatusBarButton.prototype = {
         this._title = x;
         this.element.title = x;
     },
-    
+
     get state()
     {
         return this._state;
     },
-    
+
     set state(x)
     {
         if (this._state === x)
             return;
-        
+
         if (this.states === 2) {
             if (x)
                 this.element.addStyleClass("toggled-on");
@@ -107,7 +107,7 @@ WebInspector.StatusBarButton.prototype = {
             if (x !== 0) {
                 this.element.removeStyleClass("toggled-" + this._state);
                 this.element.addStyleClass("toggled-" + x);
-            } else 
+            } else
                 this.element.removeStyleClass("toggled-" + this._state);
         }
         this._state = x;
index 4a491c5..6a09346 100644 (file)
@@ -49,7 +49,7 @@ WebInspector.TextRange.prototype = {
 
     clone: function()
     {
-        return new WebInspector.TextRange(this.startLine, this.startColumn, this.endLine, this.endColumn); 
+        return new WebInspector.TextRange(this.startLine, this.startColumn, this.endLine, this.endColumn);
     }
 }
 
index adc8e47..be7b0fe 100644 (file)
@@ -55,7 +55,7 @@ WebInspector.TimelineGrid.prototype = {
         return this._itemsGraphsElement;
     },
 
-    
+
     updateDividers: function(force, calculator, paddingLeft)
     {
         var dividerCount = Math.round(this._dividersElement.offsetWidth / 64);
index a5284be..5e07956 100644 (file)
@@ -143,7 +143,7 @@ WebInspector.View.prototype = {
     removeChildView: function(view)
     {
         var childIndex = this._children.indexOf(view);
-        if (childIndex < 0) 
+        if (childIndex < 0)
             return;
 
         this._children.splice(childIndex, 1);
index 9cac2b1..62bd0a0 100644 (file)
@@ -145,7 +145,7 @@ body.inactive .heap-snapshot-sidebar-tree-item.wait.selected .icon {
     bottom: 0;
 }
 
-.detailed-heapshot-view .views-container { 
+.detailed-heapshot-view .views-container {
     position: absolute;
     top: 0;
     left: 0;
index c64dcfc..6211277 100644 (file)
@@ -7,13 +7,13 @@
  * are met:
  *
  * 1.  Redistributions of source code must retain the above copyright
- *     notice, this list of conditions and the following disclaimer. 
+ *     notice, this list of conditions and the following disclaimer.
  * 2.  Redistributions in binary form must reproduce the above copyright
  *     notice, this list of conditions and the following disclaimer in the
- *     documentation and/or other materials provided with the distribution. 
+ *     documentation and/or other materials provided with the distribution.
  * 3.  Neither the name of Apple Computer, Inc. ("Apple") nor the names of
  *     its contributors may be used to endorse or promote products derived
- *     from this software without specific prior written permission. 
+ *     from this software without specific prior written permission.
  *
  * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY
  * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
@@ -566,7 +566,7 @@ body.port-qt #dock-status-bar-item {
     vertical-align: -1px;
     margin-right: 2px;
 }
-    
+
 #error-count + #warning-count {
     margin-left: 6px;
 }
@@ -643,7 +643,7 @@ body.platform-linux .monospace, body.platform-linux .source-code {
     position: relative;
     padding: 1px 22px 1px 0px;
     margin-left: 24px;
-    min-height: 16px; 
+    min-height: 16px;
     white-space: pre-wrap;
     -webkit-user-modify: read-write-plaintext-only;
 }
@@ -1519,7 +1519,7 @@ body.inactive .placard.selected {
 .event-bars .event-bar .header .title {
     font-weight: normal;
     color: black;
-    text-shadow: white 0 1px 0; 
+    text-shadow: white 0 1px 0;
 }
 
 .event-bars .event-bar .header .subtitle {
@@ -1594,7 +1594,7 @@ li.editing .swatch, li.editing .enabled-button,  li.editing-sub-part .delete-but
 }
 
 .watch-expressions > li.editing-sub-part .name {
-    display: block; 
+    display: block;
     width: 100%;
 }
 
@@ -2137,7 +2137,7 @@ li.selected .base-storage-tree-element-subtitle {
 .database-query-prompt {
     position: relative;
     padding: 1px 22px 1px 24px;
-    min-height: 16px; 
+    min-height: 16px;
     white-space: pre-wrap;
     -webkit-user-modify: read-write-plaintext-only;
     -webkit-user-select: text;
@@ -2163,7 +2163,7 @@ li.selected .base-storage-tree-element-subtitle {
     position: relative;
     border-bottom: 1px solid rgb(245, 245, 245);
     padding: 1px 22px 1px 24px;
-    min-height: 16px; 
+    min-height: 16px;
 }
 
 .database-user-query::before {
@@ -2386,7 +2386,7 @@ button.enable-toggle-status-bar-item.toggled-on .glyph {
 }
 
 .scripts-pause-on-exceptions-status-bar-item.toggled-uncaught .glyph {
-    background-color: purple;   
+    background-color: purple;
 }
 
 .scripts-toggle-pretty-print-status-bar-item .glyph {
@@ -3734,20 +3734,20 @@ li.breakpoint-hit .breakpoint-hit-marker {
     padding: 4px;
     background-color: rgb(203, 226, 255);
     -webkit-border-radius: 7px;
-    border: 2px solid rgb(169, 172, 203); 
-    width: 90%; 
+    border: 2px solid rgb(169, 172, 203);
+    width: 90%;
 }
 
 .source-frame-breakpoint-message {
     background-color: transparent;
-    font-family: Lucida Grande, sans-serif; 
+    font-family: Lucida Grande, sans-serif;
     font-weight: normal;
     font-size: 11px;
     text-align: left;
     text-shadow: none;
     color: rgb(85, 85, 85);
     cursor: default;
-    margin: 0 0 2px 0; 
+    margin: 0 0 2px 0;
 }
 
 #source-frame-breakpoint-condition {
@@ -3805,7 +3805,7 @@ li.breakpoint-hit .breakpoint-hit-marker {
     margin: 0;
     padding: 0;
 }
+
 .workers-list > li {
     overflow: hidden;
     text-overflow: ellipsis;
index fac4633..4c6f9a8 100644 (file)
@@ -511,7 +511,7 @@ WebInspector.doLoadedDone = function()
     this.debuggerPresentationModel = new WebInspector.DebuggerPresentationModel();
 
     this.searchController = new WebInspector.SearchController();
-    
+
     if (Preferences.nativeInstrumentationEnabled)
         this.domBreakpointsSidebarPane = new WebInspector.DOMBreakpointsSidebarPane();
 
index 0965a5c..748631e 100644 (file)
@@ -6,13 +6,13 @@
  * are met:
  *
  * 1.  Redistributions of source code must retain the above copyright
- *     notice, this list of conditions and the following disclaimer. 
+ *     notice, this list of conditions and the following disclaimer.
  * 2.  Redistributions in binary form must reproduce the above copyright
  *     notice, this list of conditions and the following disclaimer in the
- *     documentation and/or other materials provided with the distribution. 
+ *     documentation and/or other materials provided with the distribution.
  * 3.  Neither the name of Apple Computer, Inc. ("Apple") nor the names of
  *     its contributors may be used to endorse or promote products derived
- *     from this software without specific prior written permission. 
+ *     from this software without specific prior written permission.
  *
  * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY
  * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
@@ -26,7 +26,7 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-.webkit-css-comment { 
+.webkit-css-comment {
     color: rgb(0, 116, 0);
 }
 
index 9059489..44ab33e 100644 (file)
 .resource-headers-view {
     display: none;
     padding: 6px;
-    -webkit-user-select: text;    
+    -webkit-user-select: text;
     position: absolute;
     top: 0;
     left: 0;
index 11733ba..99173da 100644 (file)
@@ -6,13 +6,13 @@
  * are met:
  *
  * 1.  Redistributions of source code must retain the above copyright
- *     notice, this list of conditions and the following disclaimer. 
+ *     notice, this list of conditions and the following disclaimer.
  * 2.  Redistributions in binary form must reproduce the above copyright
  *     notice, this list of conditions and the following disclaimer in the
- *     documentation and/or other materials provided with the distribution. 
+ *     documentation and/or other materials provided with the distribution.
  * 3.  Neither the name of Apple Computer, Inc. ("Apple") nor the names of
  *     its contributors may be used to endorse or promote products derived
- *     from this software without specific prior written permission. 
+ *     from this software without specific prior written permission.
  *
  * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY
  * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
index b18fc24..43aad5f 100644 (file)
@@ -6,13 +6,13 @@
  * are met:
  *
  * 1.  Redistributions of source code must retain the above copyright
- *     notice, this list of conditions and the following disclaimer. 
+ *     notice, this list of conditions and the following disclaimer.
  * 2.  Redistributions in binary form must reproduce the above copyright
  *     notice, this list of conditions and the following disclaimer in the
- *     documentation and/or other materials provided with the distribution. 
+ *     documentation and/or other materials provided with the distribution.
  * 3.  Neither the name of Apple Computer, Inc. ("Apple") nor the names of
  *     its contributors may be used to endorse or promote products derived
- *     from this software without specific prior written permission. 
+ *     from this software without specific prior written permission.
  *
  * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY
  * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
@@ -156,7 +156,7 @@ Node.prototype.rangeBoundaryForOffset = function(offset)
     return { container: node, offset: offset };
 }
 
-Element.prototype.removeStyleClass = function(className) 
+Element.prototype.removeStyleClass = function(className)
 {
     this.classList.remove(className);
 }
@@ -168,12 +168,12 @@ Element.prototype.removeMatchingStyleClasses = function(classNameRegex)
         this.className = this.className.replace(regex, " ");
 }
 
-Element.prototype.addStyleClass = function(className) 
+Element.prototype.addStyleClass = function(className)
 {
     this.classList.add(className);
 }
 
-Element.prototype.hasStyleClass = function(className) 
+Element.prototype.hasStyleClass = function(className)
 {
     return this.classList.contains(className);
 }
@@ -230,7 +230,7 @@ Node.prototype.enclosingNodeWithClass = function(className)
     return this.parentNode.enclosingNodeOrSelfWithClass(className);
 }
 
-Element.prototype.query = function(query) 
+Element.prototype.query = function(query)
 {
     return this.ownerDocument.evaluate(query, this, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue;
 }
@@ -571,7 +571,7 @@ Object.defineProperty(Array.prototype, "remove",
                 this.splice(index, 1);
             return;
         }
-    
+
         var length = this.length;
         for (var i = 0; i < length; ++i) {
             if (this[i] === value)
@@ -594,7 +594,7 @@ Object.defineProperty(Array.prototype, "keySet",
     }
 });
 
-Object.defineProperty(Array.prototype, "upperBound", 
+Object.defineProperty(Array.prototype, "upperBound",
 {
     /**
      * @this {Array.<number>}
@@ -651,7 +651,7 @@ Array.diff = function(left, right)
     }
 
     for (var i = n.length - 1; i > 0; i--) {
-        if (n[i].text != null && n[i - 1].text == null && n[i].row > 0 && o[n[i].row - 1].text == null && 
+        if (n[i].text != null && n[i - 1].text == null && n[i].row > 0 && o[n[i].row - 1].text == null &&
             n[i - 1] == o[n[i].row - 1]) {
             n[i - 1] = { text: n[i - 1], row: n[i].row - 1 };
             o[n[i].row - 1] = { text: o[n[i].row - 1], row: i - 1 };