<!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>[193350] branches/safari-601-branch/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/193350">193350</a></dd>
<dt>Author</dt> <dd>timothy@apple.com</dd>
<dt>Date</dt> <dd>2015-12-03 11:13:26 -0800 (Thu, 03 Dec 2015)</dd>
</dl>

<h3>Log Message</h3>
<pre>Convert arrow functions and default parameters to vanilla JS so things work on the branch.

* UserInterface/Base/Main.js:
(WebInspector.createNewTabWithType):
* UserInterface/Base/URLUtilities.js:
(WebInspector.truncateURL):
* UserInterface/Controllers/DOMTreeManager.js:
(WebInspector.DOMTreeManager.prototype._buildHighlightConfig):
* UserInterface/Controllers/DebuggerManager.js:
* UserInterface/Views/CookieStorageContentView.js:
(WebInspector.CookieStorageContentView.prototype.update):
(WebInspector.CookieStorageContentView.prototype._filterCookies.resourceMatchesStorageDomain):
(WebInspector.CookieStorageContentView.prototype._filterCookies):
* UserInterface/Views/FindBanner.js:
(WebInspector.FindBanner):
* UserInterface/Views/NewTabContentView.js:
(WebInspector.NewTabContentView.prototype._allowableTabTypes):
* UserInterface/Views/Popover.js:
(WebInspector.Popover.prototype.update):
* UserInterface/Views/ProbeSetDetailsSection.js:
(WebInspector.ProbeSetDetailsSection.prototype._probeSetHasSamples):
(WebInspector.ProbeSetDetailsSection):
* UserInterface/Views/SourceCodeTextEditor.js:
(WebInspector.SourceCodeTextEditor.prototype.tokenTrackingControllerHighlightedRangeReleased):
* UserInterface/Views/TabBar.js:
(WebInspector.TabBar.prototype.hasNormalTab):
* UserInterface/Views/TimelineOverviewGraph.js:
(WebInspector.TimelineOverviewGraph.prototype._needsSelectedRecordLayout):
(WebInspector.TimelineOverviewGraph):
* UserInterface/Views/TimelineRuler.js:
(WebInspector.TimelineRuler.prototype._needsMarkerLayout):
(WebInspector.TimelineRuler.prototype._needsSelectionLayout):
* UserInterface/Views/VisualStyleBackgroundPicker.js:
(WebInspector.VisualStyleBackgroundPicker.prototype.parseValue):</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#branchessafari601branchSourceWebInspectorUIChangeLog">branches/safari-601-branch/Source/WebInspectorUI/ChangeLog</a></li>
<li><a href="#branchessafari601branchSourceWebInspectorUIUserInterfaceBaseMainjs">branches/safari-601-branch/Source/WebInspectorUI/UserInterface/Base/Main.js</a></li>
<li><a href="#branchessafari601branchSourceWebInspectorUIUserInterfaceBaseURLUtilitiesjs">branches/safari-601-branch/Source/WebInspectorUI/UserInterface/Base/URLUtilities.js</a></li>
<li><a href="#branchessafari601branchSourceWebInspectorUIUserInterfaceControllersDOMTreeManagerjs">branches/safari-601-branch/Source/WebInspectorUI/UserInterface/Controllers/DOMTreeManager.js</a></li>
<li><a href="#branchessafari601branchSourceWebInspectorUIUserInterfaceControllersDebuggerManagerjs">branches/safari-601-branch/Source/WebInspectorUI/UserInterface/Controllers/DebuggerManager.js</a></li>
<li><a href="#branchessafari601branchSourceWebInspectorUIUserInterfaceViewsCookieStorageContentViewjs">branches/safari-601-branch/Source/WebInspectorUI/UserInterface/Views/CookieStorageContentView.js</a></li>
<li><a href="#branchessafari601branchSourceWebInspectorUIUserInterfaceViewsFindBannerjs">branches/safari-601-branch/Source/WebInspectorUI/UserInterface/Views/FindBanner.js</a></li>
<li><a href="#branchessafari601branchSourceWebInspectorUIUserInterfaceViewsNewTabContentViewjs">branches/safari-601-branch/Source/WebInspectorUI/UserInterface/Views/NewTabContentView.js</a></li>
<li><a href="#branchessafari601branchSourceWebInspectorUIUserInterfaceViewsPopoverjs">branches/safari-601-branch/Source/WebInspectorUI/UserInterface/Views/Popover.js</a></li>
<li><a href="#branchessafari601branchSourceWebInspectorUIUserInterfaceViewsProbeSetDetailsSectionjs">branches/safari-601-branch/Source/WebInspectorUI/UserInterface/Views/ProbeSetDetailsSection.js</a></li>
<li><a href="#branchessafari601branchSourceWebInspectorUIUserInterfaceViewsSourceCodeTextEditorjs">branches/safari-601-branch/Source/WebInspectorUI/UserInterface/Views/SourceCodeTextEditor.js</a></li>
<li><a href="#branchessafari601branchSourceWebInspectorUIUserInterfaceViewsTabBarjs">branches/safari-601-branch/Source/WebInspectorUI/UserInterface/Views/TabBar.js</a></li>
<li><a href="#branchessafari601branchSourceWebInspectorUIUserInterfaceViewsTimelineOverviewGraphjs">branches/safari-601-branch/Source/WebInspectorUI/UserInterface/Views/TimelineOverviewGraph.js</a></li>
<li><a href="#branchessafari601branchSourceWebInspectorUIUserInterfaceViewsTimelineRulerjs">branches/safari-601-branch/Source/WebInspectorUI/UserInterface/Views/TimelineRuler.js</a></li>
<li><a href="#branchessafari601branchSourceWebInspectorUIUserInterfaceViewsVisualStyleBackgroundPickerjs">branches/safari-601-branch/Source/WebInspectorUI/UserInterface/Views/VisualStyleBackgroundPicker.js</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="branchessafari601branchSourceWebInspectorUIChangeLog"></a>
<div class="modfile"><h4>Modified: branches/safari-601-branch/Source/WebInspectorUI/ChangeLog (193349 => 193350)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-601-branch/Source/WebInspectorUI/ChangeLog        2015-12-03 19:13:16 UTC (rev 193349)
+++ branches/safari-601-branch/Source/WebInspectorUI/ChangeLog        2015-12-03 19:13:26 UTC (rev 193350)
</span><span class="lines">@@ -1,5 +1,42 @@
</span><span class="cx"> 2015-12-03  Timothy Hatcher  &lt;timothy@apple.com&gt;
</span><span class="cx"> 
</span><ins>+        Convert arrow functions and default parameters to vanilla JS so things work on the branch.
+
+        * UserInterface/Base/Main.js:
+        (WebInspector.createNewTabWithType):
+        * UserInterface/Base/URLUtilities.js:
+        (WebInspector.truncateURL):
+        * UserInterface/Controllers/DOMTreeManager.js:
+        (WebInspector.DOMTreeManager.prototype._buildHighlightConfig):
+        * UserInterface/Controllers/DebuggerManager.js:
+        * UserInterface/Views/CookieStorageContentView.js:
+        (WebInspector.CookieStorageContentView.prototype.update):
+        (WebInspector.CookieStorageContentView.prototype._filterCookies.resourceMatchesStorageDomain):
+        (WebInspector.CookieStorageContentView.prototype._filterCookies):
+        * UserInterface/Views/FindBanner.js:
+        (WebInspector.FindBanner):
+        * UserInterface/Views/NewTabContentView.js:
+        (WebInspector.NewTabContentView.prototype._allowableTabTypes):
+        * UserInterface/Views/Popover.js:
+        (WebInspector.Popover.prototype.update):
+        * UserInterface/Views/ProbeSetDetailsSection.js:
+        (WebInspector.ProbeSetDetailsSection.prototype._probeSetHasSamples):
+        (WebInspector.ProbeSetDetailsSection):
+        * UserInterface/Views/SourceCodeTextEditor.js:
+        (WebInspector.SourceCodeTextEditor.prototype.tokenTrackingControllerHighlightedRangeReleased):
+        * UserInterface/Views/TabBar.js:
+        (WebInspector.TabBar.prototype.hasNormalTab):
+        * UserInterface/Views/TimelineOverviewGraph.js:
+        (WebInspector.TimelineOverviewGraph.prototype._needsSelectedRecordLayout):
+        (WebInspector.TimelineOverviewGraph):
+        * UserInterface/Views/TimelineRuler.js:
+        (WebInspector.TimelineRuler.prototype._needsMarkerLayout):
+        (WebInspector.TimelineRuler.prototype._needsSelectionLayout):
+        * UserInterface/Views/VisualStyleBackgroundPicker.js:
+        (WebInspector.VisualStyleBackgroundPicker.prototype.parseValue):
+
+2015-12-03  Timothy Hatcher  &lt;timothy@apple.com&gt;
+
</ins><span class="cx">         Merge r192921. rdar://problem/23221163
</span><span class="cx"> 
</span><span class="cx">     2015-12-01  Joseph Pecoraro  &lt;pecoraro@apple.com&gt;
</span></span></pre></div>
<a id="branchessafari601branchSourceWebInspectorUIUserInterfaceBaseMainjs"></a>
<div class="modfile"><h4>Modified: branches/safari-601-branch/Source/WebInspectorUI/UserInterface/Base/Main.js (193349 => 193350)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-601-branch/Source/WebInspectorUI/UserInterface/Base/Main.js        2015-12-03 19:13:16 UTC (rev 193349)
+++ branches/safari-601-branch/Source/WebInspectorUI/UserInterface/Base/Main.js        2015-12-03 19:13:26 UTC (rev 193350)
</span><span class="lines">@@ -516,10 +516,12 @@
</span><span class="cx">     return true;
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-WebInspector.createNewTabWithType = function(tabType, options = {})
</del><ins>+WebInspector.createNewTabWithType = function(tabType, options)
</ins><span class="cx"> {
</span><span class="cx">     console.assert(this.isNewTabWithTypeAllowed(tabType));
</span><span class="cx"> 
</span><ins>+    options = options || {};
+
</ins><span class="cx">     var {referencedView, shouldReplaceTab, shouldShowNewTab} = options;
</span><span class="cx">     console.assert(!referencedView || referencedView instanceof WebInspector.TabContentView, referencedView);
</span><span class="cx">     console.assert(!shouldReplaceTab || referencedView, &quot;Must provide a reference view to replace a tab.&quot;);
</span></span></pre></div>
<a id="branchessafari601branchSourceWebInspectorUIUserInterfaceBaseURLUtilitiesjs"></a>
<div class="modfile"><h4>Modified: branches/safari-601-branch/Source/WebInspectorUI/UserInterface/Base/URLUtilities.js (193349 => 193350)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-601-branch/Source/WebInspectorUI/UserInterface/Base/URLUtilities.js        2015-12-03 19:13:16 UTC (rev 193349)
+++ branches/safari-601-branch/Source/WebInspectorUI/UserInterface/Base/URLUtilities.js        2015-12-03 19:13:26 UTC (rev 193350)
</span><span class="lines">@@ -216,11 +216,14 @@
</span><span class="cx">     return displayName || WebInspector.displayNameForHost(urlComponents.host) || url;
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-WebInspector.truncateURL = function(url, multiline = false, dataURIMaxSize = 6)
</del><ins>+WebInspector.truncateURL = function(url, multiline, dataURIMaxSize)
</ins><span class="cx"> {
</span><span class="cx">     if (!url.startsWith(&quot;data:&quot;))
</span><span class="cx">         return url;
</span><span class="cx"> 
</span><ins>+    multiline = multiline || false;
+    dataURIMaxSize = dataURIMaxSize || 6;
+
</ins><span class="cx">     var dataIndex = url.indexOf(&quot;,&quot;) + 1;
</span><span class="cx">     var header = url.slice(0, dataIndex);
</span><span class="cx">     if (multiline)
</span></span></pre></div>
<a id="branchessafari601branchSourceWebInspectorUIUserInterfaceControllersDOMTreeManagerjs"></a>
<div class="modfile"><h4>Modified: branches/safari-601-branch/Source/WebInspectorUI/UserInterface/Controllers/DOMTreeManager.js (193349 => 193350)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-601-branch/Source/WebInspectorUI/UserInterface/Controllers/DOMTreeManager.js        2015-12-03 19:13:16 UTC (rev 193349)
+++ branches/safari-601-branch/Source/WebInspectorUI/UserInterface/Controllers/DOMTreeManager.js        2015-12-03 19:13:26 UTC (rev 193350)
</span><span class="lines">@@ -457,8 +457,10 @@
</span><span class="cx">         DOMAgent.setInspectModeEnabled(enabled, this._buildHighlightConfig(), callback.bind(this));
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    _buildHighlightConfig(mode = &quot;all&quot;)
</del><ins>+    _buildHighlightConfig(mode)
</ins><span class="cx">     {
</span><ins>+        mode = mode || &quot;all&quot;;
+
</ins><span class="cx">         var highlightConfig = {showInfo: mode === &quot;all&quot;};
</span><span class="cx"> 
</span><span class="cx">         if (mode === &quot;all&quot; || mode === &quot;content&quot;)
</span></span></pre></div>
<a id="branchessafari601branchSourceWebInspectorUIUserInterfaceControllersDebuggerManagerjs"></a>
<div class="modfile"><h4>Modified: branches/safari-601-branch/Source/WebInspectorUI/UserInterface/Controllers/DebuggerManager.js (193349 => 193350)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-601-branch/Source/WebInspectorUI/UserInterface/Controllers/DebuggerManager.js        2015-12-03 19:13:16 UTC (rev 193349)
+++ branches/safari-601-branch/Source/WebInspectorUI/UserInterface/Controllers/DebuggerManager.js        2015-12-03 19:13:26 UTC (rev 193350)
</span><span class="lines">@@ -872,8 +872,8 @@
</span><span class="cx">         if (this._restoringBreakpoints)
</span><span class="cx">             return;
</span><span class="cx"> 
</span><del>-        var breakpointsToSave = this._breakpoints.filter((breakpoint) =&gt; !!breakpoint.url);
-        var serializedBreakpoints = breakpointsToSave.map((breakpoint) =&gt; breakpoint.info);
</del><ins>+        var breakpointsToSave = this._breakpoints.filter(function(breakpoint) { return !!breakpoint.url; });
+        var serializedBreakpoints = breakpointsToSave.map(function(breakpoint) { return breakpoint.info; });
</ins><span class="cx">         this._breakpointsSetting.value = serializedBreakpoints;
</span><span class="cx">     }
</span><span class="cx"> 
</span></span></pre></div>
<a id="branchessafari601branchSourceWebInspectorUIUserInterfaceViewsCookieStorageContentViewjs"></a>
<div class="modfile"><h4>Modified: branches/safari-601-branch/Source/WebInspectorUI/UserInterface/Views/CookieStorageContentView.js (193349 => 193350)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-601-branch/Source/WebInspectorUI/UserInterface/Views/CookieStorageContentView.js        2015-12-03 19:13:16 UTC (rev 193349)
+++ branches/safari-601-branch/Source/WebInspectorUI/UserInterface/Views/CookieStorageContentView.js        2015-12-03 19:13:26 UTC (rev 193350)
</span><span class="lines">@@ -46,10 +46,10 @@
</span><span class="cx"> 
</span><span class="cx">     update()
</span><span class="cx">     {
</span><del>-        PageAgent.getCookies().then((payload) =&gt; {
</del><ins>+        PageAgent.getCookies().then(function(payload) {
</ins><span class="cx">             this._cookies = this._filterCookies(payload.cookies);
</span><span class="cx">             this._rebuildTable();
</span><del>-        }).catch((error) =&gt; {
</del><ins>+        }.bind(this)).catch(function(error) {
</ins><span class="cx">             console.error(&quot;Could not fetch cookies: &quot;, error);
</span><span class="cx">         });
</span><span class="cx">     }
</span><span class="lines">@@ -147,10 +147,10 @@
</span><span class="cx"> 
</span><span class="cx">     _filterCookies(cookies)
</span><span class="cx">     {
</span><del>-        var resourceMatchesStorageDomain = (resource) =&gt; {
</del><ins>+        var resourceMatchesStorageDomain = function(resource) {
</ins><span class="cx">             var urlComponents = resource.urlComponents;
</span><span class="cx">             return urlComponents &amp;&amp; urlComponents.host &amp;&amp; urlComponents.host === this.representedObject.host;
</span><del>-        }
</del><ins>+        }.bind(this);
</ins><span class="cx"> 
</span><span class="cx">         var allResources = [];
</span><span class="cx">         for (var frame of WebInspector.frameResourceManager.frames) {
</span><span class="lines">@@ -161,8 +161,8 @@
</span><span class="cx"> 
</span><span class="cx">         var resourcesForDomain = allResources.filter(resourceMatchesStorageDomain);
</span><span class="cx"> 
</span><del>-        var cookiesForDomain = cookies.filter((cookie) =&gt; {
-            return resourcesForDomain.some((resource) =&gt; {
</del><ins>+        var cookiesForDomain = cookies.filter(function(cookie) {
+            return resourcesForDomain.some(function(resource) {
</ins><span class="cx">                 return WebInspector.CookieStorageObject.cookieMatchesResourceURL(cookie, resource.url);
</span><span class="cx">             });
</span><span class="cx">         });
</span></span></pre></div>
<a id="branchessafari601branchSourceWebInspectorUIUserInterfaceViewsFindBannerjs"></a>
<div class="modfile"><h4>Modified: branches/safari-601-branch/Source/WebInspectorUI/UserInterface/Views/FindBanner.js (193349 => 193350)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-601-branch/Source/WebInspectorUI/UserInterface/Views/FindBanner.js        2015-12-03 19:13:16 UTC (rev 193349)
+++ branches/safari-601-branch/Source/WebInspectorUI/UserInterface/Views/FindBanner.js        2015-12-03 19:13:26 UTC (rev 193350)
</span><span class="lines">@@ -25,10 +25,12 @@
</span><span class="cx"> 
</span><span class="cx"> WebInspector.FindBanner = class FindBanner extends WebInspector.NavigationItem
</span><span class="cx"> {
</span><del>-    constructor(delegate, className, fixed = false)
</del><ins>+    constructor(delegate, className, fixed)
</ins><span class="cx">     {
</span><span class="cx">         super();
</span><span class="cx"> 
</span><ins>+        fixed = fixed || false;
+
</ins><span class="cx">         this._delegate = delegate || null;
</span><span class="cx"> 
</span><span class="cx">         this.element.classList.add(&quot;find-banner&quot;);
</span></span></pre></div>
<a id="branchessafari601branchSourceWebInspectorUIUserInterfaceViewsNewTabContentViewjs"></a>
<div class="modfile"><h4>Modified: branches/safari-601-branch/Source/WebInspectorUI/UserInterface/Views/NewTabContentView.js (193349 => 193350)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-601-branch/Source/WebInspectorUI/UserInterface/Views/NewTabContentView.js        2015-12-03 19:13:16 UTC (rev 193349)
+++ branches/safari-601-branch/Source/WebInspectorUI/UserInterface/Views/NewTabContentView.js        2015-12-03 19:13:26 UTC (rev 193350)
</span><span class="lines">@@ -117,8 +117,8 @@
</span><span class="cx">     _allowableTabTypes()
</span><span class="cx">     {
</span><span class="cx">         var tabItemElements = this.tabItemElements;
</span><del>-        var tabTypes = tabItemElements.map((tabItemElement) =&gt; tabItemElement[WebInspector.NewTabContentView.TypeSymbol]);
-        return tabTypes.filter((type) =&gt; WebInspector.isNewTabWithTypeAllowed(type));
</del><ins>+        var tabTypes = tabItemElements.map(function(tabItemElement) { return tabItemElement[WebInspector.NewTabContentView.TypeSymbol]; });
+        return tabTypes.filter(function(type) { return WebInspector.isNewTabWithTypeAllowed(type); });
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     _updateTabItems()
</span></span></pre></div>
<a id="branchessafari601branchSourceWebInspectorUIUserInterfaceViewsPopoverjs"></a>
<div class="modfile"><h4>Modified: branches/safari-601-branch/Source/WebInspectorUI/UserInterface/Views/Popover.js (193349 => 193350)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-601-branch/Source/WebInspectorUI/UserInterface/Views/Popover.js        2015-12-03 19:13:16 UTC (rev 193349)
+++ branches/safari-601-branch/Source/WebInspectorUI/UserInterface/Views/Popover.js        2015-12-03 19:13:26 UTC (rev 193350)
</span><span class="lines">@@ -89,11 +89,14 @@
</span><span class="cx">             this._update(true);
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    update(shouldAnimate = true)
</del><ins>+    update(shouldAnimate)
</ins><span class="cx">     {
</span><span class="cx">         if (!this.visible)
</span><span class="cx">             return;
</span><span class="cx"> 
</span><ins>+        if (shouldAnimate === undefined)
+            shouldAnimate = true;
+
</ins><span class="cx">         var previouslyFocusedElement = document.activeElement;
</span><span class="cx"> 
</span><span class="cx">         this._contentNeedsUpdate = true;
</span></span></pre></div>
<a id="branchessafari601branchSourceWebInspectorUIUserInterfaceViewsProbeSetDetailsSectionjs"></a>
<div class="modfile"><h4>Modified: branches/safari-601-branch/Source/WebInspectorUI/UserInterface/Views/ProbeSetDetailsSection.js (193349 => 193350)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-601-branch/Source/WebInspectorUI/UserInterface/Views/ProbeSetDetailsSection.js        2015-12-03 19:13:16 UTC (rev 193349)
+++ branches/safari-601-branch/Source/WebInspectorUI/UserInterface/Views/ProbeSetDetailsSection.js        2015-12-03 19:13:26 UTC (rev 193350)
</span><span class="lines">@@ -151,7 +151,7 @@
</span><span class="cx"> 
</span><span class="cx">     _probeSetHasSamples()
</span><span class="cx">     {
</span><del>-        return this._probeSet.probes.some((probe) =&gt; probe.samples.length);
</del><ins>+        return this._probeSet.probes.some(function(probe) { return probe.samples.length; });
</ins><span class="cx">     }
</span><span class="cx"> };
</span><span class="cx"> 
</span></span></pre></div>
<a id="branchessafari601branchSourceWebInspectorUIUserInterfaceViewsSourceCodeTextEditorjs"></a>
<div class="modfile"><h4>Modified: branches/safari-601-branch/Source/WebInspectorUI/UserInterface/Views/SourceCodeTextEditor.js (193349 => 193350)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-601-branch/Source/WebInspectorUI/UserInterface/Views/SourceCodeTextEditor.js        2015-12-03 19:13:16 UTC (rev 193349)
+++ branches/safari-601-branch/Source/WebInspectorUI/UserInterface/Views/SourceCodeTextEditor.js        2015-12-03 19:13:26 UTC (rev 193350)
</span><span class="lines">@@ -1303,8 +1303,9 @@
</span><span class="cx">         return true;
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    tokenTrackingControllerHighlightedRangeReleased(tokenTrackingController, forceHide = false)
</del><ins>+    tokenTrackingControllerHighlightedRangeReleased(tokenTrackingController, forceHide)
</ins><span class="cx">     {
</span><ins>+        forceHide = forceHide || false;
</ins><span class="cx">         if (forceHide || !this._mouseIsOverPopover)
</span><span class="cx">             this._dismissPopover();
</span><span class="cx">     }
</span></span></pre></div>
<a id="branchessafari601branchSourceWebInspectorUIUserInterfaceViewsTabBarjs"></a>
<div class="modfile"><h4>Modified: branches/safari-601-branch/Source/WebInspectorUI/UserInterface/Views/TabBar.js (193349 => 193350)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-601-branch/Source/WebInspectorUI/UserInterface/Views/TabBar.js        2015-12-03 19:13:16 UTC (rev 193349)
+++ branches/safari-601-branch/Source/WebInspectorUI/UserInterface/Views/TabBar.js        2015-12-03 19:13:26 UTC (rev 193350)
</span><span class="lines">@@ -381,7 +381,7 @@
</span><span class="cx"> 
</span><span class="cx">     hasNormalTab()
</span><span class="cx">     {
</span><del>-        return this._tabBarItems.some((tab) =&gt; !tab.pinned);
</del><ins>+        return this._tabBarItems.some(function(tab) { return !tab.pinned; });
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     // Protected
</span></span></pre></div>
<a id="branchessafari601branchSourceWebInspectorUIUserInterfaceViewsTimelineOverviewGraphjs"></a>
<div class="modfile"><h4>Modified: branches/safari-601-branch/Source/WebInspectorUI/UserInterface/Views/TimelineOverviewGraph.js (193349 => 193350)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-601-branch/Source/WebInspectorUI/UserInterface/Views/TimelineOverviewGraph.js        2015-12-03 19:13:16 UTC (rev 193349)
+++ branches/safari-601-branch/Source/WebInspectorUI/UserInterface/Views/TimelineOverviewGraph.js        2015-12-03 19:13:26 UTC (rev 193350)
</span><span class="lines">@@ -211,10 +211,10 @@
</span><span class="cx">         if (this._scheduledSelectedRecordLayoutUpdateIdentifier)
</span><span class="cx">             return;
</span><span class="cx"> 
</span><del>-        this._scheduledSelectedRecordLayoutUpdateIdentifier = requestAnimationFrame(() =&gt; {
</del><ins>+        this._scheduledSelectedRecordLayoutUpdateIdentifier = requestAnimationFrame(function() {
</ins><span class="cx">             this._scheduledSelectedRecordLayoutUpdateIdentifier = undefined;
</span><span class="cx">             this.updateSelectedRecord();
</span><del>-        });
</del><ins>+        }.bind(this));
</ins><span class="cx">     }
</span><span class="cx"> };
</span><span class="cx"> 
</span></span></pre></div>
<a id="branchessafari601branchSourceWebInspectorUIUserInterfaceViewsTimelineRulerjs"></a>
<div class="modfile"><h4>Modified: branches/safari-601-branch/Source/WebInspectorUI/UserInterface/Views/TimelineRuler.js (193349 => 193350)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-601-branch/Source/WebInspectorUI/UserInterface/Views/TimelineRuler.js        2015-12-03 19:13:16 UTC (rev 193349)
+++ branches/safari-601-branch/Source/WebInspectorUI/UserInterface/Views/TimelineRuler.js        2015-12-03 19:13:26 UTC (rev 193350)
</span><span class="lines">@@ -502,7 +502,7 @@
</span><span class="cx">         if (this._scheduledMarkerLayoutUpdateIdentifier)
</span><span class="cx">             return;
</span><span class="cx"> 
</span><del>-        this._scheduledMarkerLayoutUpdateIdentifier = requestAnimationFrame(() =&gt; {
</del><ins>+        this._scheduledMarkerLayoutUpdateIdentifier = requestAnimationFrame(function() {
</ins><span class="cx">             this._scheduledMarkerLayoutUpdateIdentifier = undefined;
</span><span class="cx"> 
</span><span class="cx">             var visibleWidth = this.element.clientWidth;
</span><span class="lines">@@ -510,7 +510,7 @@
</span><span class="cx">                 return;
</span><span class="cx"> 
</span><span class="cx">             this._updateMarkers(visibleWidth, this.duration);
</span><del>-        });
</del><ins>+        }.bind(this));
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     _needsSelectionLayout()
</span><span class="lines">@@ -525,7 +525,7 @@
</span><span class="cx">         if (this._scheduledSelectionLayoutUpdateIdentifier)
</span><span class="cx">             return;
</span><span class="cx"> 
</span><del>-        this._scheduledSelectionLayoutUpdateIdentifier = requestAnimationFrame(() =&gt; {
</del><ins>+        this._scheduledSelectionLayoutUpdateIdentifier = requestAnimationFrame(function() {
</ins><span class="cx">             this._scheduledSelectionLayoutUpdateIdentifier = undefined;
</span><span class="cx"> 
</span><span class="cx">             var visibleWidth = this.element.clientWidth;
</span><span class="lines">@@ -533,7 +533,7 @@
</span><span class="cx">                 return;
</span><span class="cx"> 
</span><span class="cx">             this._updateSelection(visibleWidth, this.duration);
</span><del>-        });
</del><ins>+        }.bind(this));
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     _recalculate()
</span></span></pre></div>
<a id="branchessafari601branchSourceWebInspectorUIUserInterfaceViewsVisualStyleBackgroundPickerjs"></a>
<div class="modfile"><h4>Modified: branches/safari-601-branch/Source/WebInspectorUI/UserInterface/Views/VisualStyleBackgroundPicker.js (193349 => 193350)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-601-branch/Source/WebInspectorUI/UserInterface/Views/VisualStyleBackgroundPicker.js        2015-12-03 19:13:16 UTC (rev 193349)
+++ branches/safari-601-branch/Source/WebInspectorUI/UserInterface/Views/VisualStyleBackgroundPicker.js        2015-12-03 19:13:26 UTC (rev 193350)
</span><span class="lines">@@ -134,7 +134,7 @@
</span><span class="cx">     parseValue(text)
</span><span class="cx">     {
</span><span class="cx">         var validPrefixes = [&quot;url&quot;, &quot;linear-gradient&quot;, &quot;radial-gradient&quot;, &quot;repeating-linear-gradient&quot;, &quot;repeating-radial-gradient&quot;];
</span><del>-        return validPrefixes.some((item) =&gt; text.startsWith(item)) ? [text, text] : null;
</del><ins>+        return validPrefixes.some(function(item) { return text.startsWith(item); }) ? [text, text] : null;
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     // Private
</span></span></pre>
</div>
</div>

</body>
</html>