<!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>[173433] 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/173433">173433</a></dd>
<dt>Author</dt> <dd>commit-queue@webkit.org</dd>
<dt>Date</dt> <dd>2014-09-09 10:34:30 -0700 (Tue, 09 Sep 2014)</dd>
</dl>
<h3>Log Message</h3>
<pre>Web Inspector: Fix ESLint eqeqeq warnings
https://bugs.webkit.org/show_bug.cgi?id=136658
Patch by Joseph Pecoraro <pecoraro@apple.com> on 2014-09-09
Reviewed by Andy Estes.
* UserInterface/Controllers/DOMTreeManager.js:
(WebInspector.DOMTreeManager.prototype.mycallback):
(WebInspector.DOMTreeManager.prototype.searchResult):
* UserInterface/Models/Breakpoint.js:
(WebInspector.Breakpoint.prototype.clearActions):
* UserInterface/Models/DOMTree.js:
(WebInspector.DOMTree.prototype._requestRootDOMNode.rootObjectAvailable):
(WebInspector.DOMTree.prototype._requestRootDOMNode.rootDOMNodeAvailable):
(WebInspector.DOMTree.prototype._requestRootDOMNode.dispatchCallbacks):
(WebInspector.DOMTree.prototype._requestRootDOMNode):
* UserInterface/Models/ProbeSet.js:
(WebInspector.ProbeSet.prototype.removeProbe):
* UserInterface/Models/ProbeSetDataTable.js:
(WebInspector.ProbeSetDataTable.prototype.addSampleForProbe):
* UserInterface/Views/CodeMirrorAdditions.js:
* UserInterface/Views/CookieStorageContentView.js:
(WebInspector.CookieStorageContentView.prototype._filterCookies):
(WebInspector.cookieMatchesResourceURL):
* UserInterface/Views/DOMStorageContentView.js:
(WebInspector.DOMStorageContentView.prototype._editingCallback):
* UserInterface/Views/DOMTreeElement.js:
(WebInspector.DOMTreeElement):
(WebInspector.DOMTreeElement.prototype._updateChildren):
(WebInspector.DOMTreeElement.prototype._startEditingTarget):
(WebInspector.DOMTreeElement.prototype._textNodeEditingCommitted):
* UserInterface/Views/DataGrid.js:
(WebInspector.DataGrid.prototype._resizerDragging):
* UserInterface/Views/DatabaseContentView.js:
(WebInspector.DatabaseContentView.prototype._queryError):
* UserInterface/Views/DetailsSectionSimpleRow.js:
(.valueElementClicked):
(WebInspector.DetailsSectionSimpleRow):
* UserInterface/Views/Slider.js:
(WebInspector.Slider.prototype.get _maxX):
* UserInterface/Views/TreeOutline.js:
(TreeElement.prototype.expand):</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebInspectorUIChangeLog">trunk/Source/WebInspectorUI/ChangeLog</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceControllersDOMTreeManagerjs">trunk/Source/WebInspectorUI/UserInterface/Controllers/DOMTreeManager.js</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceModelsBreakpointjs">trunk/Source/WebInspectorUI/UserInterface/Models/Breakpoint.js</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceModelsDOMTreejs">trunk/Source/WebInspectorUI/UserInterface/Models/DOMTree.js</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceModelsProbeSetjs">trunk/Source/WebInspectorUI/UserInterface/Models/ProbeSet.js</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceModelsProbeSetDataTablejs">trunk/Source/WebInspectorUI/UserInterface/Models/ProbeSetDataTable.js</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceViewsCodeMirrorAdditionsjs">trunk/Source/WebInspectorUI/UserInterface/Views/CodeMirrorAdditions.js</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceViewsCookieStorageContentViewjs">trunk/Source/WebInspectorUI/UserInterface/Views/CookieStorageContentView.js</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceViewsDOMStorageContentViewjs">trunk/Source/WebInspectorUI/UserInterface/Views/DOMStorageContentView.js</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceViewsDOMTreeElementjs">trunk/Source/WebInspectorUI/UserInterface/Views/DOMTreeElement.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="#trunkSourceWebInspectorUIUserInterfaceViewsDetailsSectionSimpleRowjs">trunk/Source/WebInspectorUI/UserInterface/Views/DetailsSectionSimpleRow.js</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceViewsSliderjs">trunk/Source/WebInspectorUI/UserInterface/Views/Slider.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 (173432 => 173433)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/ChangeLog        2014-09-09 17:31:18 UTC (rev 173432)
+++ trunk/Source/WebInspectorUI/ChangeLog        2014-09-09 17:34:30 UTC (rev 173433)
</span><span class="lines">@@ -1,3 +1,47 @@
</span><ins>+2014-09-09 Joseph Pecoraro <pecoraro@apple.com>
+
+ Web Inspector: Fix ESLint eqeqeq warnings
+ https://bugs.webkit.org/show_bug.cgi?id=136658
+
+ Reviewed by Andy Estes.
+
+ * UserInterface/Controllers/DOMTreeManager.js:
+ (WebInspector.DOMTreeManager.prototype.mycallback):
+ (WebInspector.DOMTreeManager.prototype.searchResult):
+ * UserInterface/Models/Breakpoint.js:
+ (WebInspector.Breakpoint.prototype.clearActions):
+ * UserInterface/Models/DOMTree.js:
+ (WebInspector.DOMTree.prototype._requestRootDOMNode.rootObjectAvailable):
+ (WebInspector.DOMTree.prototype._requestRootDOMNode.rootDOMNodeAvailable):
+ (WebInspector.DOMTree.prototype._requestRootDOMNode.dispatchCallbacks):
+ (WebInspector.DOMTree.prototype._requestRootDOMNode):
+ * UserInterface/Models/ProbeSet.js:
+ (WebInspector.ProbeSet.prototype.removeProbe):
+ * UserInterface/Models/ProbeSetDataTable.js:
+ (WebInspector.ProbeSetDataTable.prototype.addSampleForProbe):
+ * UserInterface/Views/CodeMirrorAdditions.js:
+ * UserInterface/Views/CookieStorageContentView.js:
+ (WebInspector.CookieStorageContentView.prototype._filterCookies):
+ (WebInspector.cookieMatchesResourceURL):
+ * UserInterface/Views/DOMStorageContentView.js:
+ (WebInspector.DOMStorageContentView.prototype._editingCallback):
+ * UserInterface/Views/DOMTreeElement.js:
+ (WebInspector.DOMTreeElement):
+ (WebInspector.DOMTreeElement.prototype._updateChildren):
+ (WebInspector.DOMTreeElement.prototype._startEditingTarget):
+ (WebInspector.DOMTreeElement.prototype._textNodeEditingCommitted):
+ * UserInterface/Views/DataGrid.js:
+ (WebInspector.DataGrid.prototype._resizerDragging):
+ * UserInterface/Views/DatabaseContentView.js:
+ (WebInspector.DatabaseContentView.prototype._queryError):
+ * UserInterface/Views/DetailsSectionSimpleRow.js:
+ (.valueElementClicked):
+ (WebInspector.DetailsSectionSimpleRow):
+ * UserInterface/Views/Slider.js:
+ (WebInspector.Slider.prototype.get _maxX):
+ * UserInterface/Views/TreeOutline.js:
+ (TreeElement.prototype.expand):
+
</ins><span class="cx"> 2014-09-09 Jono Wells <jonowells@apple.com>
</span><span class="cx">
</span><span class="cx"> Web Inspector: Fix ESLint no-extra-semi
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceControllersDOMTreeManagerjs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Controllers/DOMTreeManager.js (173432 => 173433)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Controllers/DOMTreeManager.js        2014-09-09 17:31:18 UTC (rev 173432)
+++ trunk/Source/WebInspectorUI/UserInterface/Controllers/DOMTreeManager.js        2014-09-09 17:34:30 UTC (rev 173433)
</span><span class="lines">@@ -321,7 +321,7 @@
</span><span class="cx"> callback(null);
</span><span class="cx"> return;
</span><span class="cx"> }
</span><del>- if (nodeIds.length != 1)
</del><ins>+ if (nodeIds.length !== 1)
</ins><span class="cx"> return;
</span><span class="cx">
</span><span class="cx"> callback(this._idToDOMNode[nodeIds[0]]);
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceModelsBreakpointjs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Models/Breakpoint.js (173432 => 173433)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Models/Breakpoint.js        2014-09-09 17:31:18 UTC (rev 173432)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/Breakpoint.js        2014-09-09 17:34:30 UTC (rev 173433)
</span><span class="lines">@@ -351,7 +351,7 @@
</span><span class="cx"> if (!type)
</span><span class="cx"> this._actions = [];
</span><span class="cx"> else
</span><del>- this._actions = this._actions.filter(function(action) { action.type != type; });
</del><ins>+ this._actions = this._actions.filter(function(action) { action.type !== type; });
</ins><span class="cx">
</span><span class="cx"> this.dispatchEventToListeners(WebInspector.Breakpoint.Event.ActionsDidChange);
</span><span class="cx"> },
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceModelsDOMTreejs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Models/DOMTree.js (173432 => 173433)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Models/DOMTree.js        2014-09-09 17:31:18 UTC (rev 173432)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/DOMTree.js        2014-09-09 17:34:30 UTC (rev 173433)
</span><span class="lines">@@ -140,7 +140,7 @@
</span><span class="cx"> function rootObjectAvailable(error, result)
</span><span class="cx"> {
</span><span class="cx"> // Check to see if we have been invalidated (if the callbacks were cleared).
</span><del>- if (!this._pendingRootDOMNodeRequests || requestIdentifier != this._requestIdentifier)
</del><ins>+ if (!this._pendingRootDOMNodeRequests || requestIdentifier !== this._requestIdentifier)
</ins><span class="cx"> return;
</span><span class="cx">
</span><span class="cx"> if (error) {
</span><span class="lines">@@ -161,7 +161,7 @@
</span><span class="cx"> remoteObject.release();
</span><span class="cx">
</span><span class="cx"> // Check to see if we have been invalidated (if the callbacks were cleared).
</span><del>- if (!this._pendingRootDOMNodeRequests || requestIdentifier != this._requestIdentifier)
</del><ins>+ if (!this._pendingRootDOMNodeRequests || requestIdentifier !== this._requestIdentifier)
</ins><span class="cx"> return;
</span><span class="cx">
</span><span class="cx"> if (!nodeId) {
</span><span class="lines">@@ -193,7 +193,7 @@
</span><span class="cx"> function dispatchCallbacks()
</span><span class="cx"> {
</span><span class="cx"> // Check to see if we have been invalidated (if the callbacks were cleared).
</span><del>- if (!this._pendingRootDOMNodeRequests || requestIdentifier != this._requestIdentifier)
</del><ins>+ if (!this._pendingRootDOMNodeRequests || requestIdentifier !== this._requestIdentifier)
</ins><span class="cx"> return;
</span><span class="cx">
</span><span class="cx"> for (var i = 0; i < this._pendingRootDOMNodeRequests.length; ++i)
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceModelsProbeSetjs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Models/ProbeSet.js (173432 => 173433)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Models/ProbeSet.js        2014-09-09 17:31:18 UTC (rev 173432)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/ProbeSet.js        2014-09-09 17:34:30 UTC (rev 173433)
</span><span class="lines">@@ -109,7 +109,7 @@
</span><span class="cx"> removeProbe: function(probe)
</span><span class="cx"> {
</span><span class="cx"> console.assert(probe instanceof WebInspector.Probe, "Tried to remove non-probe ", probe, " to probe group", this);
</span><del>- console.assert(this._probes.indexOf(probe) != -1, "Tried to remove probe", probe, " not in group ", this);
</del><ins>+ console.assert(this._probes.indexOf(probe) !== -1, "Tried to remove probe", probe, " not in group ", this);
</ins><span class="cx"> console.assert(this._probesByIdentifier.has(probe.id), "Tried to remove probe", probe, " not in group ", this);
</span><span class="cx">
</span><span class="cx"> this._probes.splice(this._probes.indexOf(probe), 1);
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceModelsProbeSetDataTablejs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Models/ProbeSetDataTable.js (173432 => 173433)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Models/ProbeSetDataTable.js        2014-09-09 17:31:18 UTC (rev 173432)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/ProbeSetDataTable.js        2014-09-09 17:34:30 UTC (rev 173433)
</span><span class="lines">@@ -74,7 +74,7 @@
</span><span class="cx"> {
</span><span class="cx"> // Eagerly save the frame if the batch identifier differs, or we know the frame is full.
</span><span class="cx"> // Create a new frame when the batch identifier differs.
</span><del>- if (sample.batchId != this._previousBatchIdentifier) {
</del><ins>+ if (sample.batchId !== this._previousBatchIdentifier) {
</ins><span class="cx"> if (this._openFrame) {
</span><span class="cx"> this._openFrame.fillMissingValues(this._probeSet);
</span><span class="cx"> this.addFrame(this._openFrame);
</span><span class="lines">@@ -85,7 +85,7 @@
</span><span class="cx">
</span><span class="cx"> console.assert(this._openFrame, "Should always have an open frame before adding sample.", this, probe, sample);
</span><span class="cx"> this._openFrame.addSampleForProbe(probe, sample);
</span><del>- if (this._openFrame.count == this._probeSet.probes.length) {
</del><ins>+ if (this._openFrame.count === this._probeSet.probes.length) {
</ins><span class="cx"> this.addFrame(this._openFrame);
</span><span class="cx"> this._openFrame = null;
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceViewsCodeMirrorAdditionsjs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Views/CodeMirrorAdditions.js (173432 => 173433)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Views/CodeMirrorAdditions.js        2014-09-09 17:31:18 UTC (rev 173432)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/CodeMirrorAdditions.js        2014-09-09 17:34:30 UTC (rev 173433)
</span><span class="lines">@@ -139,7 +139,7 @@
</span><span class="cx">
</span><span class="cx"> // Parse characters until the end of the stream/line or a proper end quote character.
</span><span class="cx"> while ((ch = stream.next()) != null) {
</span><del>- if (ch == quote && !escaped) {
</del><ins>+ if (ch === quote && !escaped) {
</ins><span class="cx"> reachedEndOfURL = true;
</span><span class="cx"> break;
</span><span class="cx"> }
</span><span class="lines">@@ -261,7 +261,7 @@
</span><span class="cx">
</span><span class="cx"> CodeMirror.defineExtension("hasLineClass", function(line, where, className) {
</span><span class="cx"> // This matches the arguments to addLineClass and removeLineClass.
</span><del>- var classProperty = (where === "text" ? "textClass" : (where == "background" ? "bgClass" : "wrapClass"));
</del><ins>+ var classProperty = (where === "text" ? "textClass" : (where === "background" ? "bgClass" : "wrapClass"));
</ins><span class="cx"> var lineInfo = this.lineInfo(line);
</span><span class="cx"> if (!lineInfo)
</span><span class="cx"> return false;
</span><span class="lines">@@ -386,7 +386,7 @@
</span><span class="cx"> var newLength = alteredNumberString.length;
</span><span class="cx">
</span><span class="cx"> // Fix up the selection so it follows the increase or decrease in the replacement length.
</span><del>- if (previousLength != newLength) {
</del><ins>+ if (previousLength !== newLength) {
</ins><span class="cx"> if (selectionStart.line === from.line && selectionStart.ch > from.ch)
</span><span class="cx"> selectionStart.ch += newLength - previousLength;
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceViewsCookieStorageContentViewjs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Views/CookieStorageContentView.js (173432 => 173433)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Views/CookieStorageContentView.js        2014-09-09 17:31:18 UTC (rev 173432)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/CookieStorageContentView.js        2014-09-09 17:34:30 UTC (rev 173433)
</span><span class="lines">@@ -169,7 +169,7 @@
</span><span class="cx"> // The main resource isn't always in the list of resources, make sure to add it to the list of resources
</span><span class="cx"> // we get the URLs from.
</span><span class="cx"> var mainResourceURLComponents = frames[i].mainResource.urlComponents;
</span><del>- if (mainResourceURLComponents && mainResourceURLComponents.host && mainResourceURLComponents.host == this.representedObject.host)
</del><ins>+ if (mainResourceURLComponents && mainResourceURLComponents.host && mainResourceURLComponents.host === this.representedObject.host)
</ins><span class="cx"> resourcesForDomain.push(frames[i].mainResource.url);
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -249,7 +249,7 @@
</span><span class="cx"> return false;
</span><span class="cx">
</span><span class="cx"> return (parsedURL.path.startsWith(cookie.path)
</span><del>- && (!cookie.port || parsedURL.port == cookie.port)
</del><ins>+ && (!cookie.port || parsedURL.port === cookie.port)
</ins><span class="cx"> && (!cookie.secure || parsedURL.scheme === "https"));
</span><span class="cx"> }
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceViewsDOMStorageContentViewjs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Views/DOMStorageContentView.js (173432 => 173433)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Views/DOMStorageContentView.js        2014-09-09 17:31:18 UTC (rev 173432)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/DOMStorageContentView.js        2014-09-09 17:34:30 UTC (rev 173433)
</span><span class="lines">@@ -190,8 +190,8 @@
</span><span class="cx"> var previousValue = oldText.trim();
</span><span class="cx"> var enteredValue = newText.trim();
</span><span class="cx"> var columnIndex = this._dataGrid.orderedColumns.indexOf(columnIdentifier);
</span><del>- var mayMoveToNextRow = moveDirection === "forward" && columnIndex == this._dataGrid.orderedColumns.length - 1;
- var mayMoveToPreviousRow = moveDirection === "backward" && columnIndex == 0;
</del><ins>+ var mayMoveToNextRow = moveDirection === "forward" && columnIndex === this._dataGrid.orderedColumns.length - 1;
+ var mayMoveToPreviousRow = moveDirection === "backward" && columnIndex === 0;
</ins><span class="cx"> var willMoveRow = mayMoveToNextRow || mayMoveToPreviousRow;
</span><span class="cx"> var shouldCommitRow = willMoveRow && key.length && value.length;
</span><span class="cx">
</span><span class="lines">@@ -233,7 +233,7 @@
</span><span class="cx">
</span><span class="cx"> editingNode.element.classList.remove(WebInspector.DOMStorageContentView.DuplicateKeySyleClassName);
</span><span class="cx">
</span><del>- if (editingNode.__previousKeyValue != key)
</del><ins>+ if (editingNode.__previousKeyValue !== key)
</ins><span class="cx"> domStorage.removeItem(editingNode.__previousKeyValue);
</span><span class="cx">
</span><span class="cx"> domStorage.setItem(key, value);
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceViewsDOMTreeElementjs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Views/DOMTreeElement.js (173432 => 173433)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Views/DOMTreeElement.js        2014-09-09 17:31:18 UTC (rev 173432)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/DOMTreeElement.js        2014-09-09 17:34:30 UTC (rev 173433)
</span><span class="lines">@@ -36,7 +36,7 @@
</span><span class="cx"> // The title will be updated in onattach.
</span><span class="cx"> TreeElement.call(this, "", node, hasChildrenOverride);
</span><span class="cx">
</span><del>- if (this.representedObject.nodeType() == Node.ELEMENT_NODE && !elementCloseTag)
</del><ins>+ if (this.representedObject.nodeType() === Node.ELEMENT_NODE && !elementCloseTag)
</ins><span class="cx"> this._canAddAttributes = true;
</span><span class="cx"> this._searchQuery = null;
</span><span class="cx"> this._expandedChildrenLimit = WebInspector.DOMTreeElement.InitialChildrenLimit;
</span><span class="lines">@@ -373,7 +373,7 @@
</span><span class="cx"> this.adjustCollapsedRange();
</span><span class="cx">
</span><span class="cx"> var lastChild = this.children.lastValue;
</span><del>- if (this.representedObject.nodeType() == Node.ELEMENT_NODE && (!lastChild || !lastChild._elementCloseTag))
</del><ins>+ if (this.representedObject.nodeType() === Node.ELEMENT_NODE && (!lastChild || !lastChild._elementCloseTag))
</ins><span class="cx"> this.insertChildElement(this.representedObject, this.children.length, true);
</span><span class="cx">
</span><span class="cx"> // We want to restore the original selection and tree scroll position after a full refresh, if possible.
</span><span class="lines">@@ -536,10 +536,10 @@
</span><span class="cx">
</span><span class="cx"> _startEditingTarget: function(eventTarget)
</span><span class="cx"> {
</span><del>- if (this.treeOutline.selectedDOMNode() != this.representedObject)
</del><ins>+ if (this.treeOutline.selectedDOMNode() !== this.representedObject)
</ins><span class="cx"> return;
</span><span class="cx">
</span><del>- if (this.representedObject.nodeType() != Node.ELEMENT_NODE && this.representedObject.nodeType() != Node.TEXT_NODE)
</del><ins>+ if (this.representedObject.nodeType() !== Node.ELEMENT_NODE && this.representedObject.nodeType() !== Node.TEXT_NODE)
</ins><span class="cx"> return false;
</span><span class="cx">
</span><span class="cx"> var textNode = eventTarget.enclosingNodeOrSelfWithClass("html-text-node");
</span><span class="lines">@@ -939,7 +939,7 @@
</span><span class="cx"> // We only show text nodes inline in elements if the element only
</span><span class="cx"> // has a single child, and that child is a text node.
</span><span class="cx"> textNode = this.representedObject.firstChild;
</span><del>- } else if (this.representedObject.nodeType() == Node.TEXT_NODE)
</del><ins>+ } else if (this.representedObject.nodeType() === Node.TEXT_NODE)
</ins><span class="cx"> textNode = this.representedObject;
</span><span class="cx">
</span><span class="cx"> textNode.setNodeValue(newText, this.updateTitle.bind(this));
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceViewsDataGridjs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Views/DataGrid.js (173432 => 173433)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Views/DataGrid.js        2014-09-09 17:31:18 UTC (rev 173432)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/DataGrid.js        2014-09-09 17:34:30 UTC (rev 173433)
</span><span class="lines">@@ -1025,7 +1025,7 @@
</span><span class="cx"> {
</span><span class="cx"> var collapserColumnIdentifier = null;
</span><span class="cx"> for (var [identifier, column] of this.columns) {
</span><del>- if (column["collapsesGroup"] == columnGroup) {
</del><ins>+ if (column["collapsesGroup"] === columnGroup) {
</ins><span class="cx"> collapserColumnIdentifier = identifier;
</span><span class="cx"> break;
</span><span class="cx"> }
</span><span class="lines">@@ -1262,9 +1262,9 @@
</span><span class="cx"> leftEdgeOfPreviousColumn += firstRowCells[i].offsetWidth;
</span><span class="cx">
</span><span class="cx"> // Differences for other resize methods
</span><del>- if (this.resizeMethod == WebInspector.DataGrid.ResizeMethod.Last) {
</del><ins>+ if (this.resizeMethod === WebInspector.DataGrid.ResizeMethod.Last) {
</ins><span class="cx"> rightCellIndex = this.resizerElements.length;
</span><del>- } else if (this.resizeMethod == WebInspector.DataGrid.ResizeMethod.First) {
</del><ins>+ } else if (this.resizeMethod === WebInspector.DataGrid.ResizeMethod.First) {
</ins><span class="cx"> leftEdgeOfPreviousColumn += firstRowCells[leftCellIndex].offsetWidth - firstRowCells[0].offsetWidth;
</span><span class="cx"> leftCellIndex = 0;
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceViewsDatabaseContentViewjs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Views/DatabaseContentView.js (173432 => 173433)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Views/DatabaseContentView.js        2014-09-09 17:31:18 UTC (rev 173432)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/DatabaseContentView.js        2014-09-09 17:34:30 UTC (rev 173433)
</span><span class="lines">@@ -133,7 +133,7 @@
</span><span class="cx"> {
</span><span class="cx"> if (error.message)
</span><span class="cx"> var message = error.message;
</span><del>- else if (error.code == 2)
</del><ins>+ else if (error.code === 2)
</ins><span class="cx"> var message = WebInspector.UIString("Database no longer has expected version.");
</span><span class="cx"> else
</span><span class="cx"> var message = WebInspector.UIString("An unexpected error %s occurred.").format(error.code);
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceViewsDetailsSectionSimpleRowjs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Views/DetailsSectionSimpleRow.js (173432 => 173433)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Views/DetailsSectionSimpleRow.js        2014-09-09 17:31:18 UTC (rev 173432)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/DetailsSectionSimpleRow.js        2014-09-09 17:34:30 UTC (rev 173433)
</span><span class="lines">@@ -52,7 +52,7 @@
</span><span class="cx"> return;
</span><span class="cx">
</span><span class="cx"> var currentRange = currentSelection.getRangeAt(0);
</span><del>- if (!currentRange || currentRange.startContainer == currentRange.endContainer)
</del><ins>+ if (!currentRange || currentRange.startContainer === currentRange.endContainer)
</ins><span class="cx"> return;
</span><span class="cx">
</span><span class="cx"> var correctedRange = document.createRange();
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceViewsSliderjs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Views/Slider.js (173432 => 173433)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Views/Slider.js        2014-09-09 17:31:18 UTC (rev 173432)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/Slider.js        2014-09-09 17:34:30 UTC (rev 173433)
</span><span class="lines">@@ -129,7 +129,7 @@
</span><span class="cx">
</span><span class="cx"> get _maxX()
</span><span class="cx"> {
</span><del>- if (this.__maxX == 0 && document.body.contains(this._element))
</del><ins>+ if (this.__maxX === 0 && document.body.contains(this._element))
</ins><span class="cx"> this.__maxX = this._element.offsetWidth - Math.ceil(WebInspector.Slider.KnobWidth / 2);
</span><span class="cx">
</span><span class="cx"> return this.__maxX;
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceViewsTreeOutlinejs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Views/TreeOutline.js (173432 => 173433)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Views/TreeOutline.js        2014-09-09 17:31:18 UTC (rev 173432)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/TreeOutline.js        2014-09-09 17:34:30 UTC (rev 173433)
</span><span class="lines">@@ -846,7 +846,7 @@
</span><span class="cx">
</span><span class="cx"> if (this._listItemNode) {
</span><span class="cx"> this._listItemNode.classList.add("expanded");
</span><del>- if (this._childrenListNode && this._childrenListNode.parentNode != this._listItemNode.parentNode)
</del><ins>+ if (this._childrenListNode && this._childrenListNode.parentNode !== this._listItemNode.parentNode)
</ins><span class="cx"> this.parent._childrenListNode.insertBefore(this._childrenListNode, this._listItemNode.nextSibling);
</span><span class="cx"> }
</span><span class="cx">
</span></span></pre>
</div>
</div>
</body>
</html>