<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[168919] trunk/Source/WebInspectorUI</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/168919">168919</a></dd>
<dt>Author</dt> <dd>commit-queue@webkit.org</dd>
<dt>Date</dt> <dd>2014-05-15 20:32:19 -0700 (Thu, 15 May 2014)</dd>
</dl>
<h3>Log Message</h3>
<pre>Web Inspector: Should remove JSDoc comment blocks.
https://bugs.webkit.org/show_bug.cgi?id=132984
Patch by Jono Wells <jonowells@apple.com> on 2014-05-15
Reviewed by Timothy Hatcher.
Remove JSDoc comment blocks. These are no longer necessary.
* UserInterface/Base/Main.js:
* UserInterface/Base/Object.js:
* UserInterface/Controllers/DOMTreeManager.js:
* UserInterface/Models/CSSCompletions.js:
* UserInterface/Models/DOMNode.js:
* UserInterface/Models/SourceMap.js:
* UserInterface/Protocol/InspectorBackend.js:
* UserInterface/Protocol/RemoteObject.js:
* UserInterface/Views/ApplicationCacheFrameContentView.js:
* UserInterface/Views/ConsoleMessage.js:
* UserInterface/Views/ConsoleMessageImpl.js:
* UserInterface/Views/ContextMenu.js:
* UserInterface/Views/DOMTreeElement.js:
* UserInterface/Views/DOMTreeOutline.js:
* UserInterface/Views/DOMTreeUpdater.js:
* UserInterface/Views/DataGrid.js:
* UserInterface/Views/DatabaseContentView.js:
* UserInterface/Views/EditingSupport.js:
* UserInterface/Views/ObjectPropertiesSection.js:
* UserInterface/Views/Popover.js:
* UserInterface/Views/TreeOutline.js:
JSDoc style comment blocks removed.</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebInspectorUIChangeLog">trunk/Source/WebInspectorUI/ChangeLog</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceBaseMainjs">trunk/Source/WebInspectorUI/UserInterface/Base/Main.js</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceBaseObjectjs">trunk/Source/WebInspectorUI/UserInterface/Base/Object.js</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceControllersDOMTreeManagerjs">trunk/Source/WebInspectorUI/UserInterface/Controllers/DOMTreeManager.js</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceModelsCSSCompletionsjs">trunk/Source/WebInspectorUI/UserInterface/Models/CSSCompletions.js</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceModelsDOMNodejs">trunk/Source/WebInspectorUI/UserInterface/Models/DOMNode.js</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceModelsSourceMapjs">trunk/Source/WebInspectorUI/UserInterface/Models/SourceMap.js</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceProtocolInspectorBackendjs">trunk/Source/WebInspectorUI/UserInterface/Protocol/InspectorBackend.js</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceProtocolRemoteObjectjs">trunk/Source/WebInspectorUI/UserInterface/Protocol/RemoteObject.js</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceViewsApplicationCacheFrameContentViewjs">trunk/Source/WebInspectorUI/UserInterface/Views/ApplicationCacheFrameContentView.js</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceViewsConsoleMessagejs">trunk/Source/WebInspectorUI/UserInterface/Views/ConsoleMessage.js</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceViewsConsoleMessageImpljs">trunk/Source/WebInspectorUI/UserInterface/Views/ConsoleMessageImpl.js</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceViewsContextMenujs">trunk/Source/WebInspectorUI/UserInterface/Views/ContextMenu.js</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceViewsDOMTreeElementjs">trunk/Source/WebInspectorUI/UserInterface/Views/DOMTreeElement.js</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceViewsDOMTreeOutlinejs">trunk/Source/WebInspectorUI/UserInterface/Views/DOMTreeOutline.js</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceViewsDOMTreeUpdaterjs">trunk/Source/WebInspectorUI/UserInterface/Views/DOMTreeUpdater.js</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceViewsDataGridjs">trunk/Source/WebInspectorUI/UserInterface/Views/DataGrid.js</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceViewsDatabaseContentViewjs">trunk/Source/WebInspectorUI/UserInterface/Views/DatabaseContentView.js</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceViewsEditingSupportjs">trunk/Source/WebInspectorUI/UserInterface/Views/EditingSupport.js</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceViewsObjectPropertiesSectionjs">trunk/Source/WebInspectorUI/UserInterface/Views/ObjectPropertiesSection.js</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceViewsPopoverjs">trunk/Source/WebInspectorUI/UserInterface/Views/Popover.js</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceViewsTreeOutlinejs">trunk/Source/WebInspectorUI/UserInterface/Views/TreeOutline.js</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebInspectorUIChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/ChangeLog (168918 => 168919)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/ChangeLog        2014-05-16 00:11:39 UTC (rev 168918)
+++ trunk/Source/WebInspectorUI/ChangeLog        2014-05-16 03:32:19 UTC (rev 168919)
</span><span class="lines">@@ -1,3 +1,35 @@
</span><ins>+2014-05-15 Jono Wells <jonowells@apple.com>
+
+ Web Inspector: Should remove JSDoc comment blocks.
+ https://bugs.webkit.org/show_bug.cgi?id=132984
+
+ Reviewed by Timothy Hatcher.
+
+ Remove JSDoc comment blocks. These are no longer necessary.
+
+ * UserInterface/Base/Main.js:
+ * UserInterface/Base/Object.js:
+ * UserInterface/Controllers/DOMTreeManager.js:
+ * UserInterface/Models/CSSCompletions.js:
+ * UserInterface/Models/DOMNode.js:
+ * UserInterface/Models/SourceMap.js:
+ * UserInterface/Protocol/InspectorBackend.js:
+ * UserInterface/Protocol/RemoteObject.js:
+ * UserInterface/Views/ApplicationCacheFrameContentView.js:
+ * UserInterface/Views/ConsoleMessage.js:
+ * UserInterface/Views/ConsoleMessageImpl.js:
+ * UserInterface/Views/ContextMenu.js:
+ * UserInterface/Views/DOMTreeElement.js:
+ * UserInterface/Views/DOMTreeOutline.js:
+ * UserInterface/Views/DOMTreeUpdater.js:
+ * UserInterface/Views/DataGrid.js:
+ * UserInterface/Views/DatabaseContentView.js:
+ * UserInterface/Views/EditingSupport.js:
+ * UserInterface/Views/ObjectPropertiesSection.js:
+ * UserInterface/Views/Popover.js:
+ * UserInterface/Views/TreeOutline.js:
+ JSDoc style comment blocks removed.
+
</ins><span class="cx"> 2014-05-13 Radu Stavila <stavila@adobe.com>
</span><span class="cx">
</span><span class="cx"> Web Inspector: Restore regionLayoutUpdated event in iOS7 inspector and remove regionOversetChanged
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceBaseMainjs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Base/Main.js (168918 => 168919)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Base/Main.js        2014-05-16 00:11:39 UTC (rev 168918)
+++ trunk/Source/WebInspectorUI/UserInterface/Base/Main.js        2014-05-16 03:32:19 UTC (rev 168919)
</span><span class="lines">@@ -1696,12 +1696,6 @@
</span><span class="cx"> DOMAgent.redo();
</span><span class="cx"> }
</span><span class="cx">
</span><del>-/**
- * @param {Element} element
- * @param {Array.<Object>} resultRanges
- * @param {string} styleClass
- * @param {Array.<Object>=} changes
- */
</del><span class="cx"> WebInspector.highlightRangesWithStyleClass = function(element, resultRanges, styleClass, changes)
</span><span class="cx"> {
</span><span class="cx"> changes = changes || [];
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceBaseObjectjs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Base/Object.js (168918 => 168919)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Base/Object.js        2014-05-16 00:11:39 UTC (rev 168918)
+++ trunk/Source/WebInspectorUI/UserInterface/Base/Object.js        2014-05-16 03:32:19 UTC (rev 168919)
</span><span class="lines">@@ -23,16 +23,10 @@
</span><span class="cx"> * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
</span><span class="cx"> */
</span><span class="cx">
</span><del>-/**
- * @constructor
- */
</del><span class="cx"> WebInspector.Object = function()
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><del>-/**
- * @param {function} constructor
- */
</del><span class="cx"> WebInspector.Object.addConstructorFunctions = function(subclassConstructor)
</span><span class="cx"> {
</span><span class="cx"> // Copies the relevant functions the subclass constructor.
</span><span class="lines">@@ -46,11 +40,6 @@
</span><span class="cx"> }
</span><span class="cx"> }
</span><span class="cx">
</span><del>-/**
- * @param {string} eventType
- * @param {function(WebInspector.Event)} listener
- * @param {Object=} thisObject
- */
</del><span class="cx"> WebInspector.Object.addEventListener = function(eventType, listener, thisObject)
</span><span class="cx"> {
</span><span class="cx"> thisObject = thisObject || null;
</span><span class="lines">@@ -79,11 +68,6 @@
</span><span class="cx"> listeners.push({thisObject: thisObject, listener: listener});
</span><span class="cx"> };
</span><span class="cx">
</span><del>-/**
- * @param {string} eventType
- * @param {function(WebInspector.Event)} listener
- * @param {Object=} thisObject
- */
</del><span class="cx"> WebInspector.Object.removeEventListener = function(eventType, listener, thisObject)
</span><span class="cx"> {
</span><span class="cx"> eventType = eventType || null;
</span><span class="lines">@@ -122,10 +106,6 @@
</span><span class="cx"> delete this._listeners;
</span><span class="cx"> };
</span><span class="cx">
</span><del>-/**
- * @param {string} eventType
- * @return {boolean}
- */
</del><span class="cx"> WebInspector.Object.hasEventListeners = function(eventType)
</span><span class="cx"> {
</span><span class="cx"> if (!this._listeners || !this._listeners[eventType])
</span><span class="lines">@@ -136,33 +116,14 @@
</span><span class="cx"> WebInspector.Object.prototype = {
</span><span class="cx"> constructor: WebInspector.Object,
</span><span class="cx">
</span><del>- /**
- * @param {string} eventType
- * @param {function(WebInspector.Event)} listener
- * @param {Object=} thisObject
- */
</del><span class="cx"> addEventListener: WebInspector.Object.addEventListener,
</span><span class="cx">
</span><del>- /**
- * @param {string} eventType
- * @param {function(WebInspector.Event)} listener
- * @param {Object=} thisObject
- */
</del><span class="cx"> removeEventListener: WebInspector.Object.removeEventListener,
</span><span class="cx">
</span><span class="cx"> removeAllListeners: WebInspector.Object.removeAllListeners,
</span><span class="cx">
</span><del>- /**
- * @param {string} eventType
- * @return {boolean}
- */
</del><span class="cx"> hasEventListeners: WebInspector.Object.hasEventListeners,
</span><span class="cx">
</span><del>- /**
- * @param {string} eventType
- * @param {*=} eventData
- * @return {boolean}
- */
</del><span class="cx"> dispatchEventToListeners: function(eventType, eventData)
</span><span class="cx"> {
</span><span class="cx"> var event = new WebInspector.Event(this, eventType, eventData);
</span><span class="lines">@@ -204,12 +165,6 @@
</span><span class="cx"> }
</span><span class="cx"> }
</span><span class="cx">
</span><del>-/**
- * @constructor
- * @param {WebInspector.Object} target
- * @param {string} type
- * @param {*=} data
- */
</del><span class="cx"> WebInspector.Event = function(target, type, data)
</span><span class="cx"> {
</span><span class="cx"> this.target = target;
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceControllersDOMTreeManagerjs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Controllers/DOMTreeManager.js (168918 => 168919)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Controllers/DOMTreeManager.js        2014-05-16 00:11:39 UTC (rev 168918)
+++ trunk/Source/WebInspectorUI/UserInterface/Controllers/DOMTreeManager.js        2014-05-16 03:32:19 UTC (rev 168919)
</span><span class="lines">@@ -30,18 +30,13 @@
</span><span class="cx"> * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
</span><span class="cx"> */
</span><span class="cx">
</span><del>-/**
- * @extends {WebInspector.Object}
- * @constructor
- */
</del><span class="cx"> WebInspector.DOMTreeManager = function() {
</span><del>- /** @type {Object|undefined} */
</del><span class="cx"> this._idToDOMNode = {};
</span><span class="cx"> this._document = null;
</span><span class="cx"> this._attributeLoadNodeIds = {};
</span><span class="cx"> this._flows = new Map;
</span><span class="cx"> this._contentNodesToFlowsMap = new Map;
</span><del>-}
</del><ins>+};
</ins><span class="cx">
</span><span class="cx"> WebInspector.Object.addConstructorFunctions(WebInspector.DOMTreeManager);
</span><span class="cx">
</span><span class="lines">@@ -68,9 +63,6 @@
</span><span class="cx"> };
</span><span class="cx">
</span><span class="cx"> WebInspector.DOMTreeManager.prototype = {
</span><del>- /**
- * @param {function(WebInspector.DOMDocument)=} callback
- */
</del><span class="cx"> requestDocument: function(callback)
</span><span class="cx"> {
</span><span class="cx"> if (this._document) {
</span><span class="lines">@@ -86,11 +78,6 @@
</span><span class="cx">
</span><span class="cx"> this._pendingDocumentRequestCallbacks = [callback];
</span><span class="cx">
</span><del>- /**
- * @this {WebInspector.DOMTreeManager}
- * @param {?Protocol.Error} error
- * @param {DOMAgent.Node} root
- */
</del><span class="cx"> function onDocumentAvailable(error, root)
</span><span class="cx"> {
</span><span class="cx"> if (!error)
</span><span class="lines">@@ -107,29 +94,17 @@
</span><span class="cx"> DOMAgent.getDocument(onDocumentAvailable.bind(this));
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {RuntimeAgent.RemoteObjectId} objectId
- * @param {function()=} callback
- */
</del><span class="cx"> pushNodeToFrontend: function(objectId, callback)
</span><span class="cx"> {
</span><span class="cx"> this._dispatchWhenDocumentAvailable(DOMAgent.requestNode.bind(DOMAgent, objectId), callback);
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {string} path
- * @param {function(?WebInspector.DOMNode)=} callback
- */
</del><span class="cx"> pushNodeByPathToFrontend: function(path, callback)
</span><span class="cx"> {
</span><del>- var callbackCast = /** @type {function(*)} */ callback;
</del><ins>+ var callbackCast = callback;
</ins><span class="cx"> this._dispatchWhenDocumentAvailable(DOMAgent.pushNodeByPathToFrontend.bind(DOMAgent, path), callbackCast);
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {function(*)=} callback
- * @return {function(?Protocol.Error,*=)|undefined}
- */
</del><span class="cx"> _wrapClientCallback: function(callback)
</span><span class="cx"> {
</span><span class="cx"> if (!callback)
</span><span class="lines">@@ -141,13 +116,9 @@
</span><span class="cx"> };
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {function(function()=)} func
- * @param {function(*)=} callback
- */
</del><span class="cx"> _dispatchWhenDocumentAvailable: function(func, callback)
</span><span class="cx"> {
</span><del>- var callbackWrapper = /** @type {function(?Protocol.Error, *=)} */ this._wrapClientCallback(callback);
</del><ins>+ var callbackWrapper = this._wrapClientCallback(callback);
</ins><span class="cx">
</span><span class="cx"> function onDocumentAvailable()
</span><span class="cx"> {
</span><span class="lines">@@ -161,11 +132,6 @@
</span><span class="cx"> this.requestDocument(onDocumentAvailable.bind(this));
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {DOMAgent.NodeId} nodeId
- * @param {string} name
- * @param {string} value
- */
</del><span class="cx"> _attributeModified: function(nodeId, name, value)
</span><span class="cx"> {
</span><span class="cx"> var node = this._idToDOMNode[nodeId];
</span><span class="lines">@@ -176,10 +142,6 @@
</span><span class="cx"> node.dispatchEventToListeners(WebInspector.DOMNode.Event.AttributeModified, {name: name});
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {DOMAgent.NodeId} nodeId
- * @param {string} name
- */
</del><span class="cx"> _attributeRemoved: function(nodeId, name)
</span><span class="cx"> {
</span><span class="cx"> var node = this._idToDOMNode[nodeId];
</span><span class="lines">@@ -190,9 +152,6 @@
</span><span class="cx"> node.dispatchEventToListeners(WebInspector.DOMNode.Event.AttributeRemoved, {name: name});
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {Array.<DOMAgent.NodeId>} nodeIds
- */
</del><span class="cx"> _inlineStyleInvalidated: function(nodeIds)
</span><span class="cx"> {
</span><span class="cx"> for (var i = 0; i < nodeIds.length; ++i)
</span><span class="lines">@@ -204,12 +163,6 @@
</span><span class="cx">
</span><span class="cx"> _loadNodeAttributes: function()
</span><span class="cx"> {
</span><del>- /**
- * @this {WebInspector.DOMTreeManager}
- * @param {DOMAgent.NodeId} nodeId
- * @param {?Protocol.Error} error
- * @param {Array.<string>} attributes
- */
</del><span class="cx"> function callback(nodeId, error, attributes)
</span><span class="cx"> {
</span><span class="cx"> if (error) {
</span><span class="lines">@@ -233,10 +186,6 @@
</span><span class="cx"> this._attributeLoadNodeIds = {};
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {DOMAgent.NodeId} nodeId
- * @param {string} newValue
- */
</del><span class="cx"> _characterDataModified: function(nodeId, newValue)
</span><span class="cx"> {
</span><span class="cx"> var node = this._idToDOMNode[nodeId];
</span><span class="lines">@@ -244,10 +193,6 @@
</span><span class="cx"> this.dispatchEventToListeners(WebInspector.DOMTreeManager.Event.CharacterDataModified, {node: node});
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {DOMAgent.NodeId} nodeId
- * @return {WebInspector.DOMNode|undefined}
- */
</del><span class="cx"> nodeForId: function(nodeId)
</span><span class="cx"> {
</span><span class="cx"> return this._idToDOMNode[nodeId];
</span><span class="lines">@@ -258,9 +203,6 @@
</span><span class="cx"> this._setDocument(null);
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {DOMAgent.Node} payload
- */
</del><span class="cx"> _setDocument: function(payload)
</span><span class="cx"> {
</span><span class="cx"> this._idToDOMNode = {};
</span><span class="lines">@@ -271,18 +213,11 @@
</span><span class="cx"> this.dispatchEventToListeners(WebInspector.DOMTreeManager.Event.DocumentUpdated, this._document);
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {DOMAgent.Node} payload
- */
</del><span class="cx"> _setDetachedRoot: function(payload)
</span><span class="cx"> {
</span><span class="cx"> new WebInspector.DOMNode(this, null, false, payload);
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {DOMAgent.NodeId} parentId
- * @param {Array.<DOMAgent.Node>} payloads
- */
</del><span class="cx"> _setChildNodes: function(parentId, payloads)
</span><span class="cx"> {
</span><span class="cx"> if (!parentId && payloads.length) {
</span><span class="lines">@@ -294,10 +229,6 @@
</span><span class="cx"> parent._setChildrenPayload(payloads);
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {DOMAgent.NodeId} nodeId
- * @param {number} newValue
- */
</del><span class="cx"> _childNodeCountUpdated: function(nodeId, newValue)
</span><span class="cx"> {
</span><span class="cx"> var node = this._idToDOMNode[nodeId];
</span><span class="lines">@@ -305,11 +236,6 @@
</span><span class="cx"> this.dispatchEventToListeners(WebInspector.DOMTreeManager.Event.ChildNodeCountUpdated, node);
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {DOMAgent.NodeId} parentId
- * @param {DOMAgent.NodeId} prevId
- * @param {DOMAgent.Node} payload
- */
</del><span class="cx"> _childNodeInserted: function(parentId, prevId, payload)
</span><span class="cx"> {
</span><span class="cx"> var parent = this._idToDOMNode[parentId];
</span><span class="lines">@@ -319,10 +245,6 @@
</span><span class="cx"> this.dispatchEventToListeners(WebInspector.DOMTreeManager.Event.NodeInserted, {node: node, parent: parent});
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {DOMAgent.NodeId} parentId
- * @param {DOMAgent.NodeId} nodeId
- */
</del><span class="cx"> _childNodeRemoved: function(parentId, nodeId)
</span><span class="cx"> {
</span><span class="cx"> var parent = this._idToDOMNode[parentId];
</span><span class="lines">@@ -332,9 +254,6 @@
</span><span class="cx"> this.dispatchEventToListeners(WebInspector.DOMTreeManager.Event.NodeRemoved, {node:node, parent: parent});
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {DOMAgent.Node} node
- */
</del><span class="cx"> _unbind: function(node)
</span><span class="cx"> {
</span><span class="cx"> this._removeContentNodeFromFlowIfNeeded(node);
</span><span class="lines">@@ -344,9 +263,6 @@
</span><span class="cx"> this._unbind(node.children[i]);
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {number} nodeId
- */
</del><span class="cx"> inspectElement: function(nodeId)
</span><span class="cx"> {
</span><span class="cx"> var node = this._idToDOMNode[nodeId];
</span><span class="lines">@@ -373,19 +289,10 @@
</span><span class="cx"> remoteObject.pushNodeToFrontend(nodeAvailable.bind(this));
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {string} query
- * @param {function(number)} searchCallback
- */
</del><span class="cx"> performSearch: function(query, searchCallback)
</span><span class="cx"> {
</span><span class="cx"> this.cancelSearch();
</span><span class="cx">
</span><del>- /**
- * @param {?Protocol.Error} error
- * @param {string} searchId
- * @param {number} resultsCount
- */
</del><span class="cx"> function callback(error, searchId, resultsCount)
</span><span class="cx"> {
</span><span class="cx"> this._searchId = searchId;
</span><span class="lines">@@ -394,17 +301,9 @@
</span><span class="cx"> DOMAgent.performSearch(query, callback.bind(this));
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {number} index
- * @param {?function(DOMAgent.Node)} callback
- */
</del><span class="cx"> searchResult: function(index, callback)
</span><span class="cx"> {
</span><span class="cx"> if (this._searchId) {
</span><del>- /**
- * @param {?Protocol.Error} error
- * @param {Array.<number>} nodeIds
- */
</del><span class="cx"> function mycallback(error, nodeIds)
</span><span class="cx"> {
</span><span class="cx"> if (error) {
</span><span class="lines">@@ -430,32 +329,18 @@
</span><span class="cx"> }
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {DOMAgent.NodeId} nodeId
- * @param {string} selectors
- * @param {function(?DOMAgent.NodeId)=} callback
- */
</del><span class="cx"> querySelector: function(nodeId, selectors, callback)
</span><span class="cx"> {
</span><del>- var callbackCast = /** @type {function(*)|undefined} */callback;
</del><ins>+ var callbackCast = callback;
</ins><span class="cx"> DOMAgent.querySelector(nodeId, selectors, this._wrapClientCallback(callbackCast));
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {DOMAgent.NodeId} nodeId
- * @param {string} selectors
- * @param {function(?Array.<DOMAgent.NodeId>)=} callback
- */
</del><span class="cx"> querySelectorAll: function(nodeId, selectors, callback)
</span><span class="cx"> {
</span><del>- var callbackCast = /** @type {function(*)|undefined} */callback;
</del><ins>+ var callbackCast = callback;
</ins><span class="cx"> DOMAgent.querySelectorAll(nodeId, selectors, this._wrapClientCallback(callbackCast));
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {?number} nodeId
- * @param {string=} mode
- */
</del><span class="cx"> highlightDOMNode: function(nodeId, mode)
</span><span class="cx"> {
</span><span class="cx"> if (this._hideDOMNodeHighlightTimeout) {
</span><span class="lines">@@ -488,9 +373,6 @@
</span><span class="cx"> this.highlightDOMNode(0);
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {?DOMAgent.NodeId} nodeId
- */
</del><span class="cx"> highlightDOMNodeForTwoSeconds: function(nodeId)
</span><span class="cx"> {
</span><span class="cx"> this.highlightDOMNode(nodeId);
</span><span class="lines">@@ -513,9 +395,6 @@
</span><span class="cx"> DOMAgent.setInspectModeEnabled(enabled, this._buildHighlightConfig(), callback.bind(this));
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {string=} mode
- */
</del><span class="cx"> _buildHighlightConfig: function(mode)
</span><span class="cx"> {
</span><span class="cx"> mode = mode || "all";
</span><span class="lines">@@ -823,6 +702,6 @@
</span><span class="cx"> return result;
</span><span class="cx"> }
</span><span class="cx"> }
</span><del>-}
</del><ins>+};
</ins><span class="cx">
</span><span class="cx"> WebInspector.DOMTreeManager.prototype.__proto__ = WebInspector.Object.prototype;
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceModelsCSSCompletionsjs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Models/CSSCompletions.js (168918 => 168919)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Models/CSSCompletions.js        2014-05-16 00:11:39 UTC (rev 168918)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/CSSCompletions.js        2014-05-16 03:32:19 UTC (rev 168919)
</span><span class="lines">@@ -31,9 +31,6 @@
</span><span class="cx"> * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
</span><span class="cx"> */
</span><span class="cx">
</span><del>-/**
- * @constructor
- */
</del><span class="cx"> WebInspector.CSSCompletions = function(properties, acceptEmptyPrefix)
</span><span class="cx"> {
</span><span class="cx"> this._values = [];
</span><span class="lines">@@ -75,10 +72,6 @@
</span><span class="cx"> this._acceptEmptyPrefix = acceptEmptyPrefix;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-
-/**
- * @type {WebInspector.CSSCompletions}
- */
</del><span class="cx"> WebInspector.CSSCompletions.cssNameCompletions = null;
</span><span class="cx">
</span><span class="cx"> WebInspector.CSSCompletions.requestCSSNameCompletions = function()
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceModelsDOMNodejs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Models/DOMNode.js (168918 => 168919)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Models/DOMNode.js        2014-05-16 00:11:39 UTC (rev 168918)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/DOMNode.js        2014-05-16 03:32:19 UTC (rev 168919)
</span><span class="lines">@@ -30,13 +30,6 @@
</span><span class="cx"> * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
</span><span class="cx"> */
</span><span class="cx">
</span><del>-/**
- * @constructor
- * @param {WebInspector.DOMAgent} domAgent
- * @param {?WebInspector.DOMNode} doc
- * @param {boolean} isInShadowTree
- * @param {DOMAgent.Node} payload
- */
</del><span class="cx"> WebInspector.DOMNode = function(domAgent, doc, isInShadowTree, payload) {
</span><span class="cx"> WebInspector.Object.call(this);
</span><span class="cx">
</span><span class="lines">@@ -205,147 +198,88 @@
</span><span class="cx"> {
</span><span class="cx"> this._childNodeCount = count;
</span><span class="cx"> },
</span><del>-
- /**
- * @return {string}
- */
</del><ins>+
</ins><span class="cx"> computedRole: function()
</span><span class="cx"> {
</span><span class="cx"> return this._computedRole;
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @return {boolean}
- */
</del><span class="cx"> hasAttributes: function()
</span><span class="cx"> {
</span><span class="cx"> return this._attributes.length > 0;
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @return {boolean}
- */
</del><span class="cx"> hasChildNodes: function()
</span><span class="cx"> {
</span><span class="cx"> return this.childNodeCount > 0;
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @return {boolean}
- */
</del><span class="cx"> hasShadowRoots: function()
</span><span class="cx"> {
</span><span class="cx"> return !!this._shadowRoots.length;
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @return {boolean}
- */
</del><span class="cx"> isInShadowTree: function()
</span><span class="cx"> {
</span><span class="cx"> return this._isInShadowTree;
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @return {number}
- */
</del><span class="cx"> nodeType: function()
</span><span class="cx"> {
</span><span class="cx"> return this._nodeType;
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @return {string}
- */
</del><span class="cx"> nodeName: function()
</span><span class="cx"> {
</span><span class="cx"> return this._nodeName;
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @return {string}
- */
</del><span class="cx"> nodeNameInCorrectCase: function()
</span><span class="cx"> {
</span><span class="cx"> return this.isXMLNode() ? this.nodeName() : this.nodeName().toLowerCase();
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {string} name
- * @param {function()=} callback
- */
</del><span class="cx"> setNodeName: function(name, callback)
</span><span class="cx"> {
</span><span class="cx"> DOMAgent.setNodeName(this.id, name, this._makeUndoableCallback(callback));
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @return {string}
- */
</del><span class="cx"> localName: function()
</span><span class="cx"> {
</span><span class="cx"> return this._localName;
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @return {string}
- */
</del><span class="cx"> nodeValue: function()
</span><span class="cx"> {
</span><span class="cx"> return this._nodeValue;
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {string} value
- * @param {function(?Protocol.Error)=} callback
- */
</del><span class="cx"> setNodeValue: function(value, callback)
</span><span class="cx"> {
</span><span class="cx"> DOMAgent.setNodeValue(this.id, value, this._makeUndoableCallback(callback));
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {string} name
- * @return {string}
- */
</del><span class="cx"> getAttribute: function(name)
</span><span class="cx"> {
</span><span class="cx"> var attr = this._attributesMap[name];
</span><span class="cx"> return attr ? attr.value : undefined;
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {string} name
- * @param {string} text
- * @param {function()=} callback
- */
</del><span class="cx"> setAttribute: function(name, text, callback)
</span><span class="cx"> {
</span><span class="cx"> DOMAgent.setAttributesAsText(this.id, text, name, this._makeUndoableCallback(callback));
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {string} name
- * @param {string} value
- * @param {function()=} callback
- */
</del><span class="cx"> setAttributeValue: function(name, value, callback)
</span><span class="cx"> {
</span><span class="cx"> DOMAgent.setAttributeValue(this.id, name, value, this._makeUndoableCallback(callback));
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @return {Object}
- */
</del><span class="cx"> attributes: function()
</span><span class="cx"> {
</span><span class="cx"> return this._attributes;
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {string} name
- * @param {function()=} callback
- */
</del><span class="cx"> removeAttribute: function(name, callback)
</span><span class="cx"> {
</span><span class="cx"> function mycallback(error, success)
</span><span class="lines">@@ -365,9 +299,6 @@
</span><span class="cx"> DOMAgent.removeAttribute(this.id, name, mycallback.bind(this));
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {function(Array.<WebInspector.DOMNode>)=} callback
- */
</del><span class="cx"> getChildNodes: function(callback)
</span><span class="cx"> {
</span><span class="cx"> if (this.children) {
</span><span class="lines">@@ -376,10 +307,6 @@
</span><span class="cx"> return;
</span><span class="cx"> }
</span><span class="cx">
</span><del>- /**
- * @this {WebInspector.DOMNode}
- * @param {?Protocol.Error} error
- */
</del><span class="cx"> function mycallback(error) {
</span><span class="cx"> if (!error && callback)
</span><span class="cx"> callback(this.children);
</span><span class="lines">@@ -388,45 +315,27 @@
</span><span class="cx"> DOMAgent.requestChildNodes(this.id, mycallback.bind(this));
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {number} depth
- * @param {function(Array.<WebInspector.DOMNode>)=} callback
- */
</del><span class="cx"> getSubtree: function(depth, callback)
</span><span class="cx"> {
</span><del>- /**
- * @this {WebInspector.DOMNode}
- * @param {?Protocol.Error} error
- */
</del><span class="cx"> function mycallback(error)
</span><span class="cx"> {
</span><span class="cx"> if (callback)
</span><del>- callback(error ? null : this.children);
</del><ins>+ callback(error ? null : this.children);
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> DOMAgent.requestChildNodes(this.id, depth, mycallback.bind(this));
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {function(?Protocol.Error)=} callback
- */
</del><span class="cx"> getOuterHTML: function(callback)
</span><span class="cx"> {
</span><span class="cx"> DOMAgent.getOuterHTML(this.id, callback);
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {string} html
- * @param {function(?Protocol.Error)=} callback
- */
</del><span class="cx"> setOuterHTML: function(html, callback)
</span><span class="cx"> {
</span><span class="cx"> DOMAgent.setOuterHTML(this.id, html, this._makeUndoableCallback(callback));
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {function(?Protocol.Error)=} callback
- */
</del><span class="cx"> removeNode: function(callback)
</span><span class="cx"> {
</span><span class="cx"> DOMAgent.removeNode(this.id, this._makeUndoableCallback(callback));
</span><span class="lines">@@ -442,9 +351,6 @@
</span><span class="cx"> DOMAgent.getOuterHTML(this.id, copy);
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {function(?Protocol.Error)=} callback
- */
</del><span class="cx"> eventListeners: function(callback)
</span><span class="cx"> {
</span><span class="cx"> DOMAgent.getEventListenersForNode(this.id, callback);
</span><span class="lines">@@ -489,9 +395,6 @@
</span><span class="cx"> DOMAgent.getAccessibilityPropertiesForNode(this.id, accessibilityPropertiesCallback.bind(this));
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @return {string}
- */
</del><span class="cx"> path: function()
</span><span class="cx"> {
</span><span class="cx"> var path = [];
</span><span class="lines">@@ -504,10 +407,6 @@
</span><span class="cx"> return path.join(",");
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {boolean} justSelector
- * @return {string}
- */
</del><span class="cx"> appropriateSelectorFor: function(justSelector)
</span><span class="cx"> {
</span><span class="cx"> var lowerCaseName = this.localName() || this.nodeName().toLowerCase();
</span><span class="lines">@@ -534,10 +433,6 @@
</span><span class="cx"> return lowerCaseName;
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {WebInspector.DOMNode} node
- * @return {boolean}
- */
</del><span class="cx"> isAncestor: function(node)
</span><span class="cx"> {
</span><span class="cx"> if (!node)
</span><span class="lines">@@ -552,18 +447,11 @@
</span><span class="cx"> return false;
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {WebInspector.DOMNode} descendant
- * @return {boolean}
- */
</del><span class="cx"> isDescendant: function(descendant)
</span><span class="cx"> {
</span><span class="cx"> return descendant !== null && descendant.isAncestor(this);
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {Array.<string>} attrs
- */
</del><span class="cx"> _setAttributesPayload: function(attrs)
</span><span class="cx"> {
</span><span class="cx"> this._attributes = [];
</span><span class="lines">@@ -572,11 +460,6 @@
</span><span class="cx"> this._addAttribute(attrs[i], attrs[i + 1]);
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {WebInspector.DOMNode} prev
- * @param {DOMAgent.Node} payload
- * @return {WebInspector.DOMNode}
- */
</del><span class="cx"> _insertChild: function(prev, payload)
</span><span class="cx"> {
</span><span class="cx"> var node = new WebInspector.DOMNode(this._domAgent, this.ownerDocument, this._isInShadowTree, payload);
</span><span class="lines">@@ -592,9 +475,6 @@
</span><span class="cx"> return node;
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {WebInspector.DOMNode} node
- */
</del><span class="cx"> _removeChild: function(node)
</span><span class="cx"> {
</span><span class="cx"> this._children.splice(this._children.indexOf(node), 1);
</span><span class="lines">@@ -602,9 +482,6 @@
</span><span class="cx"> this._renumber();
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {Array.<DOMAgent.Node>} payloads
- */
</del><span class="cx"> _setChildrenPayload: function(payloads)
</span><span class="cx"> {
</span><span class="cx"> // We set children in the constructor.
</span><span class="lines">@@ -637,10 +514,6 @@
</span><span class="cx"> }
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {string} name
- * @param {string} value
- */
</del><span class="cx"> _addAttribute: function(name, value)
</span><span class="cx"> {
</span><span class="cx"> var attr = {
</span><span class="lines">@@ -652,10 +525,6 @@
</span><span class="cx"> this._attributes.push(attr);
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {string} name
- * @param {string} value
- */
</del><span class="cx"> _setAttribute: function(name, value)
</span><span class="cx"> {
</span><span class="cx"> var attr = this._attributesMap[name];
</span><span class="lines">@@ -665,9 +534,6 @@
</span><span class="cx"> this._addAttribute(name, value);
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {string} name
- */
</del><span class="cx"> _removeAttribute: function(name)
</span><span class="cx"> {
</span><span class="cx"> var attr = this._attributesMap[name];
</span><span class="lines">@@ -677,19 +543,11 @@
</span><span class="cx"> }
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {WebInspector.DOMNode} targetNode
- * @param {?WebInspector.DOMNode} anchorNode
- * @param {function(?Protocol.Error)=} callback
- */
</del><span class="cx"> moveTo: function(targetNode, anchorNode, callback)
</span><span class="cx"> {
</span><span class="cx"> DOMAgent.moveTo(this.id, targetNode.id, anchorNode ? anchorNode.id : undefined, this._makeUndoableCallback(callback));
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @return {boolean}
- */
</del><span class="cx"> isXMLNode: function()
</span><span class="cx"> {
</span><span class="cx"> return !!this.ownerDocument && !!this.ownerDocument.xmlVersion;
</span><span class="lines">@@ -699,7 +557,7 @@
</span><span class="cx"> {
</span><span class="cx"> return this._enabledPseudoClasses;
</span><span class="cx"> },
</span><del>-
</del><ins>+
</ins><span class="cx"> setPseudoClassEnabled: function(pseudoClass, enabled)
</span><span class="cx"> {
</span><span class="cx"> var pseudoClasses = this._enabledPseudoClasses;
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceModelsSourceMapjs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Models/SourceMap.js (168918 => 168919)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Models/SourceMap.js        2014-05-16 00:11:39 UTC (rev 168918)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/SourceMap.js        2014-05-16 03:32:19 UTC (rev 168919)
</span><span class="lines">@@ -23,14 +23,6 @@
</span><span class="cx"> * THE POSSIBILITY OF SUCH DAMAGE.
</span><span class="cx"> */
</span><span class="cx">
</span><del>-/**
- * Implements Source Map V3 model. See http://code.google.com/p/closure-compiler/wiki/SourceMaps
- * for format description.
- * @constructor
- * @param {string} sourceMappingURL
- * @param {SourceMapV3} payload
- * @param {WebInspector.Resource|WebInspector.Script} originalSourceCode
- */
</del><span class="cx"> WebInspector.SourceMap = function(sourceMappingURL, payload, originalSourceCode)
</span><span class="cx"> {
</span><span class="cx"> if (!WebInspector.SourceMap.prototype._base64Map) {
</span><span class="lines">@@ -101,26 +93,16 @@
</span><span class="cx"> return this._sourceMapResources[url];
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @return {Array.<string>}
- */
</del><span class="cx"> sources: function()
</span><span class="cx"> {
</span><span class="cx"> return Object.keys(this._sources);
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {string} sourceURL
- * @return {string|undefined}
- */
</del><span class="cx"> sourceContent: function(sourceURL)
</span><span class="cx"> {
</span><span class="cx"> return this._sourceContentByURL[sourceURL];
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {SourceMapV3} mappingPayload
- */
</del><span class="cx"> _parseMappingPayload: function(mappingPayload)
</span><span class="cx"> {
</span><span class="cx"> if (mappingPayload.sections)
</span><span class="lines">@@ -129,9 +111,6 @@
</span><span class="cx"> this._parseMap(mappingPayload, 0, 0);
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {Array.<SourceMapV3.Section>} sections
- */
</del><span class="cx"> _parseSections: function(sections)
</span><span class="cx"> {
</span><span class="cx"> for (var i = 0; i < sections.length; ++i) {
</span><span class="lines">@@ -140,11 +119,6 @@
</span><span class="cx"> }
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {number} lineNumber in compiled resource
- * @param {number} columnNumber in compiled resource
- * @return {?Array}
- */
</del><span class="cx"> findEntry: function(lineNumber, columnNumber)
</span><span class="cx"> {
</span><span class="cx"> var first = 0;
</span><span class="lines">@@ -166,11 +140,6 @@
</span><span class="cx"> return entry;
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {string} sourceURL of the originating resource
- * @param {number} lineNumber in the originating resource
- * @return {Array}
- */
</del><span class="cx"> findEntryReversed: function(sourceURL, lineNumber)
</span><span class="cx"> {
</span><span class="cx"> var mappings = this._reverseMappingsBySourceURL[sourceURL];
</span><span class="lines">@@ -182,11 +151,6 @@
</span><span class="cx"> return this._mappings[0];
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {SourceMapV3} map
- * @param {number} lineNumber
- * @param {number} columnNumber
- */
</del><span class="cx"> _parseMap: function(map, lineNumber, columnNumber)
</span><span class="cx"> {
</span><span class="cx"> var sourceIndex = 0;
</span><span class="lines">@@ -261,19 +225,11 @@
</span><span class="cx"> }
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {string} char
- * @return {boolean}
- */
</del><span class="cx"> _isSeparator: function(char)
</span><span class="cx"> {
</span><span class="cx"> return char === "," || char === ";";
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {WebInspector.SourceMap.StringCharIterator} stringCharIterator
- * @return {number}
- */
</del><span class="cx"> _decodeVLQ: function(stringCharIterator)
</span><span class="cx"> {
</span><span class="cx"> // Read unsigned value.
</span><span class="lines">@@ -296,10 +252,6 @@
</span><span class="cx"> _VLQ_CONTINUATION_MASK: 1 << 5
</span><span class="cx"> }
</span><span class="cx">
</span><del>-/**
- * @constructor
- * @param {string} string
- */
</del><span class="cx"> WebInspector.SourceMap.StringCharIterator = function(string)
</span><span class="cx"> {
</span><span class="cx"> this._string = string;
</span><span class="lines">@@ -307,25 +259,16 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> WebInspector.SourceMap.StringCharIterator.prototype = {
</span><del>- /**
- * @return {string}
- */
</del><span class="cx"> next: function()
</span><span class="cx"> {
</span><span class="cx"> return this._string.charAt(this._position++);
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @return {string}
- */
</del><span class="cx"> peek: function()
</span><span class="cx"> {
</span><span class="cx"> return this._string.charAt(this._position);
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @return {boolean}
- */
</del><span class="cx"> hasNext: function()
</span><span class="cx"> {
</span><span class="cx"> return this._position < this._string.length;
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceProtocolInspectorBackendjs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Protocol/InspectorBackend.js (168918 => 168919)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Protocol/InspectorBackend.js        2014-05-16 00:11:39 UTC (rev 168918)
+++ trunk/Source/WebInspectorUI/UserInterface/Protocol/InspectorBackend.js        2014-05-16 03:32:19 UTC (rev 168919)
</span><span class="lines">@@ -30,9 +30,6 @@
</span><span class="cx"> * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
</span><span class="cx"> */
</span><span class="cx">
</span><del>-/**
- * @constructor
- */
</del><span class="cx"> function InspectorBackendClass()
</span><span class="cx"> {
</span><span class="cx"> this._lastSequenceId = 1;
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceProtocolRemoteObjectjs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Protocol/RemoteObject.js (168918 => 168919)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Protocol/RemoteObject.js        2014-05-16 00:11:39 UTC (rev 168918)
+++ trunk/Source/WebInspectorUI/UserInterface/Protocol/RemoteObject.js        2014-05-16 03:32:19 UTC (rev 168919)
</span><span class="lines">@@ -28,14 +28,6 @@
</span><span class="cx"> * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
</span><span class="cx"> */
</span><span class="cx">
</span><del>-/**
- * @constructor
- * @param {string|undefined} objectId
- * @param {string} type
- * @param {string|undefined} subtype
- * @param {*} value
- * @param {string=} description
- */
</del><span class="cx"> WebInspector.RemoteObject = function(objectId, type, subtype, value, description)
</span><span class="cx"> {
</span><span class="cx"> this._type = type;
</span><span class="lines">@@ -54,35 +46,18 @@
</span><span class="cx"> }
</span><span class="cx"> }
</span><span class="cx">
</span><del>-/**
- * @param {number|string|boolean} value
- * @return {WebInspector.RemoteObject}
- */
</del><span class="cx"> WebInspector.RemoteObject.fromPrimitiveValue = function(value)
</span><span class="cx"> {
</span><span class="cx"> return new WebInspector.RemoteObject(undefined, typeof value, undefined, value);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-/**
- * @param {Object} value
- * @return {WebInspector.RemoteObject}
- */
</del><span class="cx"> WebInspector.RemoteObject.fromLocalObject = function(value)
</span><span class="cx"> {
</span><span class="cx"> return new WebInspector.LocalJSONObject(value);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-/**
- * @param {WebInspector.DOMNode} node
- * @param {string} objectGroup
- * @param {function(?WebInspector.RemoteObject)} callback
- */
</del><span class="cx"> WebInspector.RemoteObject.resolveNode = function(node, objectGroup, callback)
</span><span class="cx"> {
</span><del>- /**
- * @param {?Protocol.Error} error
- * @param {RuntimeAgent.RemoteObject} object
- */
</del><span class="cx"> function mycallback(error, object)
</span><span class="cx"> {
</span><span class="cx"> if (!callback)
</span><span class="lines">@@ -96,10 +71,6 @@
</span><span class="cx"> DOMAgent.resolveNode(node.id, objectGroup, mycallback);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-/**
- * @param {RuntimeAgent.RemoteObject} payload
- * @return {WebInspector.RemoteObject}
- */
</del><span class="cx"> WebInspector.RemoteObject.fromPayload = function(payload)
</span><span class="cx"> {
</span><span class="cx"> console.assert(typeof payload === "object", "Remote object payload should only be an object");
</span><span class="lines">@@ -107,10 +78,6 @@
</span><span class="cx"> return new WebInspector.RemoteObject(payload.objectId, payload.type, payload.subtype, payload.value, payload.description);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-/**
- * @param {WebInspector.RemoteObject} remoteObject
- * @return {string}
- */
</del><span class="cx"> WebInspector.RemoteObject.type = function(remoteObject)
</span><span class="cx"> {
</span><span class="cx"> if (remoteObject === null)
</span><span class="lines">@@ -124,56 +91,41 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> WebInspector.RemoteObject.prototype = {
</span><del>- /** @return {RuntimeAgent.RemoteObjectId} */
</del><span class="cx"> get objectId()
</span><span class="cx"> {
</span><span class="cx"> return this._objectId;
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /** @return {string} */
</del><span class="cx"> get type()
</span><span class="cx"> {
</span><span class="cx"> return this._type;
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /** @return {string|undefined} */
</del><span class="cx"> get subtype()
</span><span class="cx"> {
</span><span class="cx"> return this._subtype;
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /** @return {string|undefined} */
</del><span class="cx"> get description()
</span><span class="cx"> {
</span><span class="cx"> return this._description;
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /** @return {boolean} */
</del><span class="cx"> get hasChildren()
</span><span class="cx"> {
</span><span class="cx"> return this._hasChildren;
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {function(Array.<WebInspector.RemoteObjectProperty>)} callback
- */
</del><span class="cx"> getOwnProperties: function(callback)
</span><span class="cx"> {
</span><span class="cx"> this._getProperties(true, callback);
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {function(Array.<WebInspector.RemoteObjectProperty>)} callback
- */
</del><span class="cx"> getAllProperties: function(callback)
</span><span class="cx"> {
</span><span class="cx"> this._getProperties(false, callback);
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {boolean} ownProperties
- * @param {function(Array.<RuntimeAgent.RemoteObject>)} callback
- */
</del><span class="cx"> _getProperties: function(ownProperties, callback)
</span><span class="cx"> {
</span><span class="cx"> if (!this._objectId) {
</span><span class="lines">@@ -181,10 +133,6 @@
</span><span class="cx"> return;
</span><span class="cx"> }
</span><span class="cx">
</span><del>- /**
- * @param {?Protocol.Error} error
- * @param {Array.<WebInspector.RemoteObjectProperty>} properties
- */
</del><span class="cx"> function remoteObjectBinder(error, properties)
</span><span class="cx"> {
</span><span class="cx"> if (error) {
</span><span class="lines">@@ -207,11 +155,6 @@
</span><span class="cx"> RuntimeAgent.getProperties(this._objectId, ownProperties, remoteObjectBinder);
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {string} name
- * @param {string} value
- * @param {function(string=)} callback
- */
</del><span class="cx"> setPropertyValue: function(name, value, callback)
</span><span class="cx"> {
</span><span class="cx"> if (!this._objectId) {
</span><span class="lines">@@ -221,11 +164,6 @@
</span><span class="cx">
</span><span class="cx"> RuntimeAgent.evaluate.invoke({expression:value, doNotPauseOnExceptionsAndMuteConsole:true}, evaluatedCallback.bind(this));
</span><span class="cx">
</span><del>- /**
- * @param {?Protocol.Error} error
- * @param {RuntimeAgent.RemoteObject} result
- * @param {boolean=} wasThrown
- */
</del><span class="cx"> function evaluatedCallback(error, result, wasThrown)
</span><span class="cx"> {
</span><span class="cx"> if (error || wasThrown) {
</span><span class="lines">@@ -244,11 +182,6 @@
</span><span class="cx"> RuntimeAgent.releaseObject(result._objectId);
</span><span class="cx"> }
</span><span class="cx">
</span><del>- /**
- * @param {?Protocol.Error} error
- * @param {RuntimeAgent.RemoteObject} result
- * @param {boolean=} wasThrown
- */
</del><span class="cx"> function propertySetCallback(error, result, wasThrown)
</span><span class="cx"> {
</span><span class="cx"> if (error || wasThrown) {
</span><span class="lines">@@ -259,9 +192,6 @@
</span><span class="cx"> }
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {function(DOMAgent.NodeId)} callback
- */
</del><span class="cx"> pushNodeToFrontend: function(callback)
</span><span class="cx"> {
</span><span class="cx"> if (this._objectId)
</span><span class="lines">@@ -270,10 +200,6 @@
</span><span class="cx"> callback(0);
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {string} functionDeclaration
- * @param {function(?WebInspector.RemoteObject)} callback
- */
</del><span class="cx"> callFunction: function(functionDeclaration, args, callback)
</span><span class="cx"> {
</span><span class="cx"> function mycallback(error, result, wasThrown)
</span><span class="lines">@@ -284,10 +210,6 @@
</span><span class="cx"> RuntimeAgent.callFunctionOn(this._objectId, functionDeclaration.toString(), args, true, undefined, mycallback);
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {string} functionDeclaration
- * @param {function(*)} callback
- */
</del><span class="cx"> callFunctionJSON: function(functionDeclaration, args, callback)
</span><span class="cx"> {
</span><span class="cx"> function mycallback(error, result, wasThrown)
</span><span class="lines">@@ -303,9 +225,6 @@
</span><span class="cx"> RuntimeAgent.releaseObject(this._objectId);
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @return {number}
- */
</del><span class="cx"> arrayLength: function()
</span><span class="cx"> {
</span><span class="cx"> if (this.subtype !== "array")
</span><span class="lines">@@ -318,12 +237,6 @@
</span><span class="cx"> }
</span><span class="cx"> }
</span><span class="cx">
</span><del>-/**
- * @constructor
- * @param {string} name
- * @param {WebInspector.RemoteObject} value
- * @param {Object=} descriptor
- */
</del><span class="cx"> WebInspector.RemoteObjectProperty = function(name, value, descriptor)
</span><span class="cx"> {
</span><span class="cx"> this.name = name;
</span><span class="lines">@@ -334,11 +247,6 @@
</span><span class="cx"> this.wasThrown = true;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-/**
- * @param {string} name
- * @param {string} value
- * @return {WebInspector.RemoteObjectProperty}
- */
</del><span class="cx"> WebInspector.RemoteObjectProperty.fromPrimitiveValue = function(name, value)
</span><span class="cx"> {
</span><span class="cx"> return new WebInspector.RemoteObjectProperty(name, WebInspector.RemoteObject.fromPrimitiveValue(value));
</span><span class="lines">@@ -350,20 +258,12 @@
</span><span class="cx"> // for traversing prototypes, extracting class names via constuctor, handling properties
</span><span class="cx"> // or functions.
</span><span class="cx">
</span><del>-/**
- * @constructor
- * @extends {WebInspector.RemoteObject}
- * @param {Object} value
- */
</del><span class="cx"> WebInspector.LocalJSONObject = function(value)
</span><span class="cx"> {
</span><span class="cx"> this._value = value;
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> WebInspector.LocalJSONObject.prototype = {
</span><del>- /**
- * @return {string}
- */
</del><span class="cx"> get description()
</span><span class="cx"> {
</span><span class="cx"> if (this._cachedDescription)
</span><span class="lines">@@ -394,11 +294,6 @@
</span><span class="cx"> return this._cachedDescription;
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {string} prefix
- * @param {string} suffix
- * @return {string}
- */
</del><span class="cx"> _concatenate: function(prefix, suffix, formatProperty)
</span><span class="cx"> {
</span><span class="cx"> const previewChars = 100;
</span><span class="lines">@@ -419,17 +314,11 @@
</span><span class="cx"> return buffer;
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @return {string}
- */
</del><span class="cx"> get type()
</span><span class="cx"> {
</span><span class="cx"> return typeof this._value;
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @return {string|undefined}
- */
</del><span class="cx"> get subtype()
</span><span class="cx"> {
</span><span class="cx"> if (this._value === null)
</span><span class="lines">@@ -441,33 +330,21 @@
</span><span class="cx"> return undefined;
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @return {boolean}
- */
</del><span class="cx"> get hasChildren()
</span><span class="cx"> {
</span><span class="cx"> return typeof this._value === "object" && this._value !== null && !isEmptyObject(this._value);
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {function(Array.<WebInspector.RemoteObjectProperty>)} callback
- */
</del><span class="cx"> getOwnProperties: function(callback)
</span><span class="cx"> {
</span><span class="cx"> callback(this._children());
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {function(Array.<WebInspector.RemoteObjectProperty>)} callback
- */
</del><span class="cx"> getAllProperties: function(callback)
</span><span class="cx"> {
</span><span class="cx"> callback(this._children());
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @return {Array.<WebInspector.RemoteObjectProperty>}
- */
</del><span class="cx"> _children: function()
</span><span class="cx"> {
</span><span class="cx"> if (!this.hasChildren)
</span><span class="lines">@@ -482,9 +359,6 @@
</span><span class="cx"> return this._cachedChildren;
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @return {boolean}
- */
</del><span class="cx"> isError: function()
</span><span class="cx"> {
</span><span class="cx"> return false;
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceViewsApplicationCacheFrameContentViewjs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Views/ApplicationCacheFrameContentView.js (168918 => 168919)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Views/ApplicationCacheFrameContentView.js        2014-05-16 00:11:39 UTC (rev 168918)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/ApplicationCacheFrameContentView.js        2014-05-16 03:32:19 UTC (rev 168919)
</span><span class="lines">@@ -108,9 +108,6 @@
</span><span class="cx"> this.updateStatus(frameManifest.status);
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {number} status
- */
</del><span class="cx"> updateStatus: function(status)
</span><span class="cx"> {
</span><span class="cx"> var oldStatus = this._status;
</span><span class="lines">@@ -127,9 +124,6 @@
</span><span class="cx"> WebInspector.applicationCacheManager.requestApplicationCache(this._frame, this._updateCallback.bind(this));
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {Object} applicationCache
- */
</del><span class="cx"> _updateCallback: function(applicationCache)
</span><span class="cx"> {
</span><span class="cx"> if (!applicationCache || !applicationCache.manifestURL) {
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceViewsConsoleMessagejs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Views/ConsoleMessage.js (168918 => 168919)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Views/ConsoleMessage.js        2014-05-16 00:11:39 UTC (rev 168918)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/ConsoleMessage.js        2014-05-16 03:32:19 UTC (rev 168919)
</span><span class="lines">@@ -43,9 +43,6 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> WebInspector.ConsoleMessage.prototype = {
</span><del>- /**
- * @return {boolean}
- */
</del><span class="cx"> isErrorOrWarning: function()
</span><span class="cx"> {
</span><span class="cx"> return (this.level === WebInspector.ConsoleMessage.MessageLevel.Warning || this.level === WebInspector.ConsoleMessage.MessageLevel.Error);
</span><span class="lines">@@ -56,29 +53,12 @@
</span><span class="cx"> // Implemented by concrete instances
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @return {WebInspector.ConsoleMessage}
- */
</del><span class="cx"> clone: function()
</span><span class="cx"> {
</span><span class="cx"> // Implemented by concrete instances
</span><span class="cx"> }
</span><span class="cx"> }
</span><span class="cx">
</span><del>-/**
- * @param {string} source
- * @param {string} level
- * @param {string} message
- * @param {string=} type
- * @param {string=} url
- * @param {number=} line
- * @param {number=} repeatCount
- * @param {Array.<RuntimeAgent.RemoteObject>=} parameters
- * @param {ConsoleAgent.StackTrace=} stackTrace
- * @param {WebInspector.Resource=} request
- *
- * @return {WebInspector.ConsoleMessage}
- */
</del><span class="cx"> WebInspector.ConsoleMessage.create = function(source, level, message, type, url, line, column, repeatCount, parameters, stackTrace, request)
</span><span class="cx"> {
</span><span class="cx"> return new WebInspector.ConsoleMessageImpl(source, level, message, null, type, url, line, column, repeatCount, parameters, stackTrace, request);
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceViewsConsoleMessageImpljs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Views/ConsoleMessageImpl.js (168918 => 168919)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Views/ConsoleMessageImpl.js        2014-05-16 00:11:39 UTC (rev 168918)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/ConsoleMessageImpl.js        2014-05-16 03:32:19 UTC (rev 168919)
</span><span class="lines">@@ -243,9 +243,6 @@
</span><span class="cx"> return formattedResult;
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {boolean=} forceObjectFormat
- */
</del><span class="cx"> _formatParameter: function(output, forceObjectFormat)
</span><span class="cx"> {
</span><span class="cx"> var type;
</span><span class="lines">@@ -661,9 +658,6 @@
</span><span class="cx"> return this._stackTrace;
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @return {WebInspector.ConsoleMessage}
- */
</del><span class="cx"> clone: function()
</span><span class="cx"> {
</span><span class="cx"> return WebInspector.ConsoleMessage.create(this.source, this.level, this._messageText, this.type, this.url, this.line, this.column, this.repeatCount, this._parameters, this._stackTrace, this._request);
</span><span class="lines">@@ -693,7 +687,7 @@
</span><span class="cx"> toClipboardString: function(isPrefixOptional)
</span><span class="cx"> {
</span><span class="cx"> var isTrace = this._shouldDumpStackTrace();
</span><del>-
</del><ins>+
</ins><span class="cx"> var clipboardString = "";
</span><span class="cx"> if (this._formattedMessage && !isTrace)
</span><span class="cx"> clipboardString = this._formattedMessage.querySelector("span").innerText;
</span><span class="lines">@@ -720,7 +714,7 @@
</span><span class="cx"> urlLine = " (" + components.join(", ") + ")";
</span><span class="cx"> } else if (repeatString)
</span><span class="cx"> urlLine = " (" + repeatString + ")";
</span><del>-
</del><ins>+
</ins><span class="cx"> if (urlLine) {
</span><span class="cx"> var lines = clipboardString.split("\n");
</span><span class="cx"> lines[0] += urlLine;
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceViewsContextMenujs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Views/ContextMenu.js (168918 => 168919)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Views/ContextMenu.js        2014-05-16 00:11:39 UTC (rev 168918)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/ContextMenu.js        2014-05-16 03:32:19 UTC (rev 168919)
</span><span class="lines">@@ -29,14 +29,6 @@
</span><span class="cx"> * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
</span><span class="cx"> */
</span><span class="cx">
</span><del>-/**
- * @constructor
- * @param {WebInspector.ContextSubMenuItem} topLevelMenu
- * @param {string} type
- * @param {string=} label
- * @param {boolean=} disabled
- * @param {boolean=} checked
- */
</del><span class="cx"> WebInspector.ContextMenuItem = function(topLevelMenu, type, label, disabled, checked)
</span><span class="cx"> {
</span><span class="cx"> this._type = type;
</span><span class="lines">@@ -59,17 +51,11 @@
</span><span class="cx"> return this._type;
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @return {boolean}
- */
</del><span class="cx"> isEnabled: function()
</span><span class="cx"> {
</span><span class="cx"> return !this._disabled;
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {boolean} enabled
- */
</del><span class="cx"> setEnabled: function(enabled)
</span><span class="cx"> {
</span><span class="cx"> this._disabled = !enabled;
</span><span class="lines">@@ -88,13 +74,6 @@
</span><span class="cx"> }
</span><span class="cx"> }
</span><span class="cx">
</span><del>-/**
- * @constructor
- * @extends {WebInspector.ContextMenuItem}
- * @param topLevelMenu
- * @param {string=} label
- * @param {boolean=} disabled
- */
</del><span class="cx"> WebInspector.ContextSubMenuItem = function(topLevelMenu, label, disabled)
</span><span class="cx"> {
</span><span class="cx"> WebInspector.ContextMenuItem.call(this, topLevelMenu, "subMenu", label, disabled);
</span><span class="lines">@@ -102,12 +81,6 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> WebInspector.ContextSubMenuItem.prototype = {
</span><del>- /**
- * @param {string} label
- * @param {function} handler
- * @param {boolean=} disabled
- * @return {WebInspector.ContextMenuItem}
- */
</del><span class="cx"> appendItem: function(label, handler, disabled)
</span><span class="cx"> {
</span><span class="cx"> var item = new WebInspector.ContextMenuItem(this._contextMenu, "item", label, disabled);
</span><span class="lines">@@ -116,11 +89,6 @@
</span><span class="cx"> return item;
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {string} label
- * @param {boolean=} disabled
- * @return {WebInspector.ContextMenuItem}
- */
</del><span class="cx"> appendSubMenuItem: function(label, disabled)
</span><span class="cx"> {
</span><span class="cx"> var item = new WebInspector.ContextSubMenuItem(this._contextMenu, label, disabled);
</span><span class="lines">@@ -128,9 +96,6 @@
</span><span class="cx"> return item;
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {boolean=} disabled
- */
</del><span class="cx"> appendCheckboxItem: function(label, handler, checked, disabled)
</span><span class="cx"> {
</span><span class="cx"> var item = new WebInspector.ContextMenuItem(this._contextMenu, "checkbox", label, disabled, checked);
</span><span class="lines">@@ -154,9 +119,6 @@
</span><span class="cx"> this._items.push(item);
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @return {boolean}
- */
</del><span class="cx"> isEmpty: function()
</span><span class="cx"> {
</span><span class="cx"> return !this._items.length;
</span><span class="lines">@@ -173,10 +135,6 @@
</span><span class="cx"> __proto__: WebInspector.ContextMenuItem.prototype
</span><span class="cx"> }
</span><span class="cx">
</span><del>-/**
- * @constructor
- * @extends {WebInspector.ContextSubMenuItem}
- */
</del><span class="cx"> WebInspector.ContextMenu = function(event) {
</span><span class="cx"> WebInspector.ContextSubMenuItem.call(this, this, "");
</span><span class="cx"> this._event = event;
</span><span class="lines">@@ -245,9 +203,6 @@
</span><span class="cx"> this._handlers[id].call(this);
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {Object} target
- */
</del><span class="cx"> appendApplicableItems: function(target)
</span><span class="cx"> {
</span><span class="cx"> for (var i = 0; i < WebInspector.ContextMenu._providers.length; ++i) {
</span><span class="lines">@@ -261,24 +216,14 @@
</span><span class="cx"> __proto__: WebInspector.ContextSubMenuItem.prototype
</span><span class="cx"> }
</span><span class="cx">
</span><del>-/**
- * @interface
- */
</del><span class="cx"> WebInspector.ContextMenu.Provider = function()
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> WebInspector.ContextMenu.Provider.prototype = {
</span><del>- /**
- * @param {WebInspector.ContextMenu} contextMenu
- * @param {Object} target
- */
</del><span class="cx"> appendApplicableItems: function(event, contextMenu, target) { }
</span><span class="cx"> }
</span><span class="cx">
</span><del>-/**
- * @param {WebInspector.ContextMenu.Provider} provider
- */
</del><span class="cx"> WebInspector.ContextMenu.registerProvider = function(provider)
</span><span class="cx"> {
</span><span class="cx"> WebInspector.ContextMenu._providers.push(provider);
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceViewsDOMTreeElementjs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Views/DOMTreeElement.js (168918 => 168919)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Views/DOMTreeElement.js        2014-05-16 00:11:39 UTC (rev 168918)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/DOMTreeElement.js        2014-05-16 03:32:19 UTC (rev 168919)
</span><span class="lines">@@ -28,11 +28,6 @@
</span><span class="cx"> * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
</span><span class="cx"> */
</span><span class="cx">
</span><del>-/**
- * @constructor
- * @extends {TreeElement}
- * @param {boolean=} elementCloseTag
- */
</del><span class="cx"> WebInspector.DOMTreeElement = function(node, elementCloseTag)
</span><span class="cx"> {
</span><span class="cx"> this._elementCloseTag = elementCloseTag;
</span><span class="lines">@@ -186,7 +181,7 @@
</span><span class="cx">
</span><span class="cx"> _createTooltipForNode: function()
</span><span class="cx"> {
</span><del>- var node = /** @type {WebInspector.DOMNode} */ this.representedObject;
</del><ins>+ var node = this.representedObject;
</ins><span class="cx"> if (!node.nodeName() || node.nodeName().toLowerCase() !== "img")
</span><span class="cx"> return;
</span><span class="cx">
</span><span class="lines">@@ -277,9 +272,6 @@
</span><span class="cx"> this.representedObject.getSubtree(-1, callback.bind(this));
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {boolean=} fullRefresh
- */
</del><span class="cx"> updateChildren: function(fullRefresh)
</span><span class="cx"> {
</span><span class="cx"> if (this._elementCloseTag)
</span><span class="lines">@@ -287,9 +279,6 @@
</span><span class="cx"> this.representedObject.getChildNodes(this._updateChildren.bind(this, fullRefresh));
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {boolean=} closingTag
- */
</del><span class="cx"> insertChildElement: function(child, index, closingTag)
</span><span class="cx"> {
</span><span class="cx"> var newElement = new WebInspector.DOMTreeElement(child, closingTag);
</span><span class="lines">@@ -307,9 +296,6 @@
</span><span class="cx"> child.select();
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {boolean=} fullRefresh
- */
</del><span class="cx"> _updateChildren: function(fullRefresh)
</span><span class="cx"> {
</span><span class="cx"> if (this._updateChildrenInProgress || !this.treeOutline._visible)
</span><span class="lines">@@ -982,9 +968,6 @@
</span><span class="cx"> return (tags.length === 1 ? null : tags[tags.length-1]);
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {boolean=} onlySearchQueryChanged
- */
</del><span class="cx"> updateTitle: function(onlySearchQueryChanged)
</span><span class="cx"> {
</span><span class="cx"> // If we are editing, return early to prevent canceling the edit.
</span><span class="lines">@@ -1008,9 +991,6 @@
</span><span class="cx"> this._highlightSearchResults();
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {WebInspector.DOMNode=} node
- */
</del><span class="cx"> _buildAttributeDOM: function(parentElement, name, value, node)
</span><span class="cx"> {
</span><span class="cx"> var hasText = (value.length > 0);
</span><span class="lines">@@ -1052,7 +1032,7 @@
</span><span class="cx">
</span><span class="cx"> _buildTagDOM: function(parentElement, tagName, isClosingTag, isDistinctTreeElement)
</span><span class="cx"> {
</span><del>- var node = /** @type WebInspector.DOMNode */ this.representedObject;
</del><ins>+ var node = this.representedObject;
</ins><span class="cx"> var classes = [ "html-tag" ];
</span><span class="cx"> if (isClosingTag && isDistinctTreeElement)
</span><span class="cx"> classes.push("close");
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceViewsDOMTreeOutlinejs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Views/DOMTreeOutline.js (168918 => 168919)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Views/DOMTreeOutline.js        2014-05-16 00:11:39 UTC (rev 168918)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/DOMTreeOutline.js        2014-05-16 03:32:19 UTC (rev 168919)
</span><span class="lines">@@ -28,12 +28,6 @@
</span><span class="cx"> * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
</span><span class="cx"> */
</span><span class="cx">
</span><del>-/**
- * @constructor
- * @extends {TreeOutline}
- * @param {boolean=} omitRootDOMNode
- * @param {boolean=} selectEnabled
- */
</del><span class="cx"> WebInspector.DOMTreeOutline = function(omitRootDOMNode, selectEnabled, showInElementsPanelEnabled)
</span><span class="cx"> {
</span><span class="cx"> this.element = document.createElement("ol");
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceViewsDOMTreeUpdaterjs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Views/DOMTreeUpdater.js (168918 => 168919)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Views/DOMTreeUpdater.js        2014-05-16 00:11:39 UTC (rev 168918)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/DOMTreeUpdater.js        2014-05-16 03:32:19 UTC (rev 168919)
</span><span class="lines">@@ -28,9 +28,6 @@
</span><span class="cx"> * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
</span><span class="cx"> */
</span><span class="cx">
</span><del>-/**
- * @constructor
- */
</del><span class="cx"> WebInspector.DOMTreeUpdater = function(treeOutline)
</span><span class="cx"> {
</span><span class="cx"> WebInspector.domTreeManager.addEventListener(WebInspector.DOMTreeManager.Event.NodeInserted, this._nodeInserted, this);
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceViewsDataGridjs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Views/DataGrid.js (168918 => 168919)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Views/DataGrid.js        2014-05-16 00:11:39 UTC (rev 168918)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/DataGrid.js        2014-05-16 03:32:19 UTC (rev 168919)
</span><span class="lines">@@ -1308,11 +1308,6 @@
</span><span class="cx">
</span><span class="cx"> WebInspector.DataGrid.prototype.__proto__ = WebInspector.Object.prototype;
</span><span class="cx">
</span><del>-/**
- * @constructor
- * @extends {WebInspector.Object}
- * @param {boolean=} hasChildren
- */
</del><span class="cx"> WebInspector.DataGridNode = function(data, hasChildren)
</span><span class="cx"> {
</span><span class="cx"> this._expanded = false;
</span><span class="lines">@@ -1480,7 +1475,7 @@
</span><span class="cx"> {
</span><span class="cx"> if (typeof(this._leftPadding) === "number")
</span><span class="cx"> return this._leftPadding;
</span><del>-
</del><ins>+
</ins><span class="cx"> this._leftPadding = this.depth * this.dataGrid.indentWidth;
</span><span class="cx"> return this._leftPadding;
</span><span class="cx"> },
</span><span class="lines">@@ -1701,9 +1696,6 @@
</span><span class="cx"> this.dispatchEventToListeners("revealed");
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {boolean=} supressSelectedEvent
- */
</del><span class="cx"> select: function(supressSelectedEvent)
</span><span class="cx"> {
</span><span class="cx"> if (!this.dataGrid || !this.selectable || this.selected)
</span><span class="lines">@@ -1728,9 +1720,6 @@
</span><span class="cx"> this.select();
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {boolean=} supressDeselectedEvent
- */
</del><span class="cx"> deselect: function(supressDeselectedEvent)
</span><span class="cx"> {
</span><span class="cx"> if (!this.dataGrid || this.dataGrid.selectedNode !== this || !this.selected)
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceViewsDatabaseContentViewjs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Views/DatabaseContentView.js (168918 => 168919)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Views/DatabaseContentView.js        2014-05-16 00:11:39 UTC (rev 168918)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/DatabaseContentView.js        2014-05-16 03:32:19 UTC (rev 168919)
</span><span class="lines">@@ -141,10 +141,6 @@
</span><span class="cx"> this._appendErrorQueryResult(query, message);
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {string} query
- * @param {WebInspector.View} view
- */
</del><span class="cx"> _appendViewQueryResult: function(query, view)
</span><span class="cx"> {
</span><span class="cx"> var resultElement = this._appendQueryResult(query);
</span><span class="lines">@@ -156,10 +152,6 @@
</span><span class="cx"> this._promptElement.scrollIntoView(false);
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {string} query
- * @param {string} errorText
- */
</del><span class="cx"> _appendErrorQueryResult: function(query, errorText)
</span><span class="cx"> {
</span><span class="cx"> var resultElement = this._appendQueryResult(query);
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceViewsEditingSupportjs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Views/EditingSupport.js (168918 => 168919)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Views/EditingSupport.js        2014-05-16 00:11:39 UTC (rev 168918)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/EditingSupport.js        2014-05-16 03:32:19 UTC (rev 168919)
</span><span class="lines">@@ -74,40 +74,14 @@
</span><span class="cx"> return false;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-/**
- * @constructor
- * @param {function(Element,string,string,*,string)} commitHandler
- * @param {function(Element,*)} cancelHandler
- * @param {*=} context
- */
</del><span class="cx"> WebInspector.EditingConfig = function(commitHandler, cancelHandler, context)
</span><span class="cx"> {
</span><span class="cx"> this.commitHandler = commitHandler;
</span><span class="cx"> this.cancelHandler = cancelHandler;
</span><span class="cx"> this.context = context;
</span><del>-
- /**
- * Handles the "paste" event, return values are the same as those for customFinishHandler
- * @type {function(Element)|undefined}
- */
</del><span class="cx"> this.pasteHandler;
</span><del>-
- /**
- * Whether the edited element is multiline
- * @type {boolean|undefined}
- */
</del><span class="cx"> this.multiline;
</span><del>-
- /**
- * Custom finish handler for the editing session (invoked on keydown)
- * @type {function(Element,*)|undefined}
- */
</del><span class="cx"> this.customFinishHandler;
</span><del>-
- /**
- * Whether or not spellcheck is enabled.
- * @type {boolean}
- */
</del><span class="cx"> this.spellcheck = false;
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -128,10 +102,6 @@
</span><span class="cx"> }
</span><span class="cx"> }
</span><span class="cx">
</span><del>-/**
- * @param {Element} element
- * @param {WebInspector.EditingConfig=} config
- */
</del><span class="cx"> WebInspector.startEditing = function(element, config)
</span><span class="cx"> {
</span><span class="cx"> if (!WebInspector.markBeingEdited(element, true))
</span><span class="lines">@@ -168,7 +138,6 @@
</span><span class="cx"> return element.textContent;
</span><span class="cx"> }
</span><span class="cx">
</span><del>- /** @this {Element} */
</del><span class="cx"> function cleanUpAfterEditing()
</span><span class="cx"> {
</span><span class="cx"> WebInspector.markBeingEdited(element, false);
</span><span class="lines">@@ -195,7 +164,6 @@
</span><span class="cx"> WebInspector.restoreFocusFromElement(element);
</span><span class="cx"> }
</span><span class="cx">
</span><del>- /** @this {Element} */
</del><span class="cx"> function editingCancelled()
</span><span class="cx"> {
</span><span class="cx"> if (this.tagName === "INPUT" && this.type === "text")
</span><span class="lines">@@ -208,7 +176,6 @@
</span><span class="cx"> cancelledCallback(this, context);
</span><span class="cx"> }
</span><span class="cx">
</span><del>- /** @this {Element} */
</del><span class="cx"> function editingCommitted()
</span><span class="cx"> {
</span><span class="cx"> cleanUpAfterEditing.call(this);
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceViewsObjectPropertiesSectionjs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Views/ObjectPropertiesSection.js (168918 => 168919)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Views/ObjectPropertiesSection.js        2014-05-16 00:11:39 UTC (rev 168918)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/ObjectPropertiesSection.js        2014-05-16 03:32:19 UTC (rev 168919)
</span><span class="lines">@@ -85,7 +85,7 @@
</span><span class="cx"> this.propertiesTreeOutline.appendChild(infoElement);
</span><span class="cx"> }
</span><span class="cx"> this.propertiesForTest = properties;
</span><del>-
</del><ins>+
</ins><span class="cx"> this.dispatchEventToListeners(WebInspector.Section.Event.VisibleContentDidChange);
</span><span class="cx"> }
</span><span class="cx"> }
</span><span class="lines">@@ -137,10 +137,6 @@
</span><span class="cx"> return diff;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-/**
- * @constructor
- * @extends {TreeElement}
- */
</del><span class="cx"> WebInspector.ObjectPropertyTreeElement = function(property)
</span><span class="cx"> {
</span><span class="cx"> this.property = property;
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceViewsPopoverjs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Views/Popover.js (168918 => 168919)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Views/Popover.js        2014-05-16 00:11:39 UTC (rev 168918)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/Popover.js        2014-05-16 03:32:19 UTC (rev 168919)
</span><span class="lines">@@ -41,7 +41,7 @@
</span><span class="cx"> this._canvasId = "popover-" + (WebInspector.Popover.canvasId++);
</span><span class="cx"> this._element.style.backgroundImage = "-webkit-canvas(" + this._canvasId + ")";
</span><span class="cx"> this._element.addEventListener("transitionend", this, true);
</span><del>-
</del><ins>+
</ins><span class="cx"> this._container = this._element.appendChild(document.createElement("div"));
</span><span class="cx"> this._container.className = "container";
</span><span class="cx"> };
</span><span class="lines">@@ -114,10 +114,6 @@
</span><span class="cx"> previouslyFocusedElement.focus();
</span><span class="cx"> },
</span><span class="cx">
</span><del>- /**
- * @param {WebInspector.Rect} targetFrame
- * @param {WebInspector.RectEdge}[] preferredEdges
- */
</del><span class="cx"> present: function(targetFrame, preferredEdges)
</span><span class="cx"> {
</span><span class="cx"> this._targetFrame = targetFrame;
</span><span class="lines">@@ -131,7 +127,7 @@
</span><span class="cx">
</span><span class="cx"> this._update();
</span><span class="cx"> },
</span><del>-
</del><ins>+
</ins><span class="cx"> dismiss: function()
</span><span class="cx"> {
</span><span class="cx"> if (this._element.parentNode !== document.body)
</span><span class="lines">@@ -421,7 +417,7 @@
</span><span class="cx">
</span><span class="cx"> finalContext.drawImage(scratchCanvas, 0, 0, scaledWidth, scaledHeight);
</span><span class="cx"> },
</span><del>-
</del><ins>+
</ins><span class="cx"> _bestMetricsForEdge: function(preferredSize, targetFrame, containerFrame, edge)
</span><span class="cx"> {
</span><span class="cx"> var x, y;
</span><span class="lines">@@ -459,7 +455,7 @@
</span><span class="cx"> y = containerFrame.maxY() - height;
</span><span class="cx"> } else {
</span><span class="cx"> if (x < containerFrame.minX())
</span><del>- x = containerFrame.minX();
</del><ins>+ x = containerFrame.minX();
</ins><span class="cx"> if (x + width > containerFrame.maxX())
</span><span class="cx"> x = containerFrame.maxX() - width;
</span><span class="cx"> }
</span><span class="lines">@@ -538,7 +534,7 @@
</span><span class="cx"> }
</span><span class="cx"> ctx.closePath();
</span><span class="cx"> }
</span><del>-
</del><ins>+
</ins><span class="cx"> };
</span><span class="cx">
</span><span class="cx"> WebInspector.Popover.prototype.__proto__ = WebInspector.Object.prototype;
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceViewsTreeOutlinejs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Views/TreeOutline.js (168918 => 168919)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Views/TreeOutline.js        2014-05-16 00:11:39 UTC (rev 168918)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/TreeOutline.js        2014-05-16 03:32:19 UTC (rev 168919)
</span><span class="lines">@@ -26,18 +26,12 @@
</span><span class="cx"> * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
</span><span class="cx"> */
</span><span class="cx">
</span><del>-/**
- * @constructor
- */
</del><span class="cx"> function TreeOutline(listNode)
</span><span class="cx"> {
</span><span class="cx"> WebInspector.Object.call(this);
</span><span class="cx">
</span><span class="cx"> this.element = listNode;
</span><span class="cx">
</span><del>- /**
- * @type {Array.<TreeElement>}
- */
</del><span class="cx"> this.children = [];
</span><span class="cx"> this.selectedTreeElement = null;
</span><span class="cx"> this._childrenListNode = listNode;
</span><span class="lines">@@ -489,9 +483,6 @@
</span><span class="cx"> // this is the root, do nothing
</span><span class="cx"> }
</span><span class="cx">
</span><del>-/**
- * @param {boolean=} omitFocus
- */
</del><span class="cx"> TreeOutline.prototype.revealAndSelect = function(omitFocus)
</span><span class="cx"> {
</span><span class="cx"> // this is the root, do nothing
</span><span class="lines">@@ -499,11 +490,6 @@
</span><span class="cx">
</span><span class="cx"> TreeOutline.prototype.__proto__ = WebInspector.Object.prototype;
</span><span class="cx">
</span><del>-/**
- * @constructor
- * @param {Object=} representedObject
- * @param {boolean=} hasChildren
- */
</del><span class="cx"> function TreeElement(title, representedObject, hasChildren)
</span><span class="cx"> {
</span><span class="cx"> WebInspector.Object.call(this);
</span><span class="lines">@@ -937,10 +923,6 @@
</span><span class="cx"> this.select(false, true);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-/**
- * @param {boolean=} omitFocus
- * @param {boolean=} selectedByUser
- */
</del><span class="cx"> TreeElement.prototype.select = function(omitFocus, selectedByUser, suppressOnSelect, suppressOnDeselect)
</span><span class="cx"> {
</span><span class="cx"> if (!this.treeOutline || !this.selectable)
</span><span class="lines">@@ -978,18 +960,12 @@
</span><span class="cx"> delete this.treeOutline.processingSelectionChange;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-/**
- * @param {boolean=} omitFocus
- */
</del><span class="cx"> TreeElement.prototype.revealAndSelect = function(omitFocus, selectedByUser, suppressOnSelect, suppressOnDeselect)
</span><span class="cx"> {
</span><span class="cx"> this.reveal();
</span><span class="cx"> this.select(omitFocus, selectedByUser, suppressOnSelect, suppressOnDeselect);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-/**
- * @param {boolean=} suppressOnDeselect
- */
</del><span class="cx"> TreeElement.prototype.deselect = function(suppressOnDeselect)
</span><span class="cx"> {
</span><span class="cx"> if (!this.treeOutline || this.treeOutline.selectedTreeElement !== this || !this.selected)
</span><span class="lines">@@ -1015,13 +991,6 @@
</span><span class="cx"> // Overriden by subclasses.
</span><span class="cx"> }
</span><span class="cx">
</span><del>-/**
- * @param {boolean} skipUnrevealed
- * @param {(TreeOutline|TreeElement)=} stayWithin
- * @param {boolean=} dontPopulate
- * @param {Object=} info
- * @return {TreeElement}
- */
</del><span class="cx"> TreeElement.prototype.traverseNextTreeElement = function(skipUnrevealed, stayWithin, dontPopulate, info)
</span><span class="cx"> {
</span><span class="cx"> if (!dontPopulate && this.hasChildren)
</span><span class="lines">@@ -1057,11 +1026,6 @@
</span><span class="cx"> return (skipUnrevealed ? (element.revealed() ? element.nextSibling : null) : element.nextSibling);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-/**
- * @param {boolean} skipUnrevealed
- * @param {boolean=} dontPopulate
- * @return {TreeElement}
- */
</del><span class="cx"> TreeElement.prototype.traversePreviousTreeElement = function(skipUnrevealed, dontPopulate)
</span><span class="cx"> {
</span><span class="cx"> var element = skipUnrevealed ? (this.revealed() ? this.previousSibling : null) : this.previousSibling;
</span><span class="lines">@@ -1085,7 +1049,7 @@
</span><span class="cx">
</span><span class="cx"> TreeElement.prototype.isEventWithinDisclosureTriangle = function(event)
</span><span class="cx"> {
</span><del>- // FIXME: We should not use getComputedStyle(). For that we need to get rid of using ::before for disclosure triangle. (http://webk.it/74446)
</del><ins>+ // FIXME: We should not use getComputedStyle(). For that we need to get rid of using ::before for disclosure triangle. (http://webk.it/74446)
</ins><span class="cx"> var computedLeftPadding = window.getComputedStyle(this._listItemNode).getPropertyCSSValue("padding-left").getFloatValue(CSSPrimitiveValue.CSS_PX);
</span><span class="cx"> var left = this._listItemNode.totalOffsetLeft + computedLeftPadding;
</span><span class="cx"> return event.pageX >= left && event.pageX <= left + this.arrowToggleWidth && this.hasChildren;
</span></span></pre>
</div>
</div>
</body>
</html>