<!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>[207803] trunk</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/207803">207803</a></dd>
<dt>Author</dt> <dd>ryanhaddad@apple.com</dd>
<dt>Date</dt> <dd>2016-10-24 20:46:32 -0700 (Mon, 24 Oct 2016)</dd>
</dl>

<h3>Log Message</h3>
<pre>Unreviewed, rolling out <a href="http://trac.webkit.org/projects/webkit/changeset/207795">r207795</a>.

Introduced API test failures on iOS and macOS.

Reverted changeset:

&quot;URLParser should match old URL::parse with %2E in path&quot;
https://bugs.webkit.org/show_bug.cgi?id=163929
http://trac.webkit.org/changeset/207795</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsChangeLog">trunk/LayoutTests/ChangeLog</a></li>
<li><a href="#trunkLayoutTestsfasturlpathexpectedtxt">trunk/LayoutTests/fast/url/path-expected.txt</a></li>
<li><a href="#trunkLayoutTestsfasturlstandardurlexpectedtxt">trunk/LayoutTests/fast/url/standard-url-expected.txt</a></li>
<li><a href="#trunkLayoutTestsfetchfetchurlserializationexpectedtxt">trunk/LayoutTests/fetch/fetch-url-serialization-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cChangeLog">trunk/LayoutTests/imported/w3c/ChangeLog</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsurlaelementexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/url/a-element-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsurlaelementxhtmlexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/url/a-element-xhtml-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsurlurlconstructorexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/url/url-constructor-expected.txt</a></li>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoreplatformURLParsercpp">trunk/Source/WebCore/platform/URLParser.cpp</a></li>
<li><a href="#trunkToolsChangeLog">trunk/Tools/ChangeLog</a></li>
<li><a href="#trunkToolsTestWebKitAPITestsWebCoreURLParsercpp">trunk/Tools/TestWebKitAPI/Tests/WebCore/URLParser.cpp</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkLayoutTestsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/ChangeLog (207802 => 207803)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/ChangeLog        2016-10-25 03:23:14 UTC (rev 207802)
+++ trunk/LayoutTests/ChangeLog        2016-10-25 03:46:32 UTC (rev 207803)
</span><span class="lines">@@ -1,3 +1,15 @@
</span><ins>+2016-10-24  Ryan Haddad  &lt;ryanhaddad@apple.com&gt;
+
+        Unreviewed, rolling out r207795.
+
+        Introduced API test failures on iOS and macOS.
+
+        Reverted changeset:
+
+        &quot;URLParser should match old URL::parse with %2E in path&quot;
+        https://bugs.webkit.org/show_bug.cgi?id=163929
+        http://trac.webkit.org/changeset/207795
+
</ins><span class="cx"> 2016-10-24  Yusuke Suzuki  &lt;utatane.tea@gmail.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Arrow functions with concise bodies cannot return regular expressions
</span></span></pre></div>
<a id="trunkLayoutTestsfasturlpathexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/url/path-expected.txt (207802 => 207803)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/url/path-expected.txt        2016-10-25 03:23:14 UTC (rev 207802)
+++ trunk/LayoutTests/fast/url/path-expected.txt        2016-10-25 03:46:32 UTC (rev 207803)
</span><span class="lines">@@ -14,9 +14,9 @@
</span><span class="cx"> PASS canonicalize('http://example.com/foo/bar/../ton/../../a') is 'http://example.com/a'
</span><span class="cx"> PASS canonicalize('http://example.com/foo/../../..') is 'http://example.com/'
</span><span class="cx"> PASS canonicalize('http://example.com/foo/../../../ton') is 'http://example.com/ton'
</span><del>-FAIL canonicalize('http://example.com/foo/%2e') should be http://example.com/foo/. Was http://example.com/foo/%2e.
-FAIL canonicalize('http://example.com/foo/%2e%2') should be http://example.com/foo/.%2. Was http://example.com/foo/%2e%2.
-FAIL canonicalize('http://example.com/foo/%2e./%2e%2e/.%2e/%2e.bar') should be http://example.com/..bar. Was http://example.com/foo/%2e./%2e%2e/.%2e/%2e.bar.
</del><ins>+PASS canonicalize('http://example.com/foo/%2e') is 'http://example.com/foo/'
+PASS canonicalize('http://example.com/foo/%2e%2') is 'http://example.com/foo/.%2'
+PASS canonicalize('http://example.com/foo/%2e./%2e%2e/.%2e/%2e.bar') is 'http://example.com/..bar'
</ins><span class="cx"> PASS canonicalize('http://example.com////../..') is 'http://example.com//'
</span><span class="cx"> PASS canonicalize('http://example.com/foo/bar//../..') is 'http://example.com/foo/'
</span><span class="cx"> PASS canonicalize('http://example.com/foo/bar//..') is 'http://example.com/foo/bar/'
</span></span></pre></div>
<a id="trunkLayoutTestsfasturlstandardurlexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/url/standard-url-expected.txt (207802 => 207803)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/url/standard-url-expected.txt        2016-10-25 03:23:14 UTC (rev 207802)
+++ trunk/LayoutTests/fast/url/standard-url-expected.txt        2016-10-25 03:46:32 UTC (rev 207803)
</span><span class="lines">@@ -9,7 +9,7 @@
</span><span class="cx"> PASS canonicalize('http://www.google.com') is 'http://www.google.com/'
</span><span class="cx"> PASS canonicalize('http:////////user:@google.com:99?foo') is 'http://user@google.com:99/?foo'
</span><span class="cx"> PASS canonicalize('http://192.0x00A80001') is 'http://192.168.0.1/'
</span><del>-FAIL canonicalize('http://www/foo%2Ehtml') should be http://www/foo.html. Was http://www/foo%2Ehtml.
</del><ins>+PASS canonicalize('http://www/foo%2Ehtml') is 'http://www/foo.html'
</ins><span class="cx"> PASS canonicalize('http://user:pass@/') is 'http://user:pass@/'
</span><span class="cx"> PASS canonicalize('http://%25DOMAIN:foobar@foodomain.com/') is 'http://%25DOMAIN:foobar@foodomain.com/'
</span><span class="cx"> PASS canonicalize('http:\\\\www.google.com\\foo') is 'http://www.google.com/foo'
</span></span></pre></div>
<a id="trunkLayoutTestsfetchfetchurlserializationexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fetch/fetch-url-serialization-expected.txt (207802 => 207803)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fetch/fetch-url-serialization-expected.txt        2016-10-25 03:23:14 UTC (rev 207802)
+++ trunk/LayoutTests/fetch/fetch-url-serialization-expected.txt        2016-10-25 03:46:32 UTC (rev 207803)
</span><span class="lines">@@ -123,9 +123,9 @@
</span><span class="cx"> PASS Testing Request url 'http://example.com/foo/bar/../ton/../../a' with base 'about:blank' 
</span><span class="cx"> PASS Testing Request url 'http://example.com/foo/../../..' with base 'about:blank' 
</span><span class="cx"> PASS Testing Request url 'http://example.com/foo/../../../ton' with base 'about:blank' 
</span><del>-FAIL Testing Request url 'http://example.com/foo/%2e' with base 'about:blank' assert_equals: expected &quot;http://example.com/foo/&quot; but got &quot;http://example.com/foo/%2e&quot;
-FAIL Testing Request url 'http://example.com/foo/%2e%2' with base 'about:blank' assert_equals: expected &quot;http://example.com/foo/.%2&quot; but got &quot;http://example.com/foo/%2e%2&quot;
-FAIL Testing Request url 'http://example.com/foo/%2e./%2e%2e/.%2e/%2e.bar' with base 'about:blank' assert_equals: expected &quot;http://example.com/..bar&quot; but got &quot;http://example.com/foo/%2e./%2e%2e/.%2e/%2e.bar&quot;
</del><ins>+PASS Testing Request url 'http://example.com/foo/%2e' with base 'about:blank' 
+PASS Testing Request url 'http://example.com/foo/%2e%2' with base 'about:blank' 
+PASS Testing Request url 'http://example.com/foo/%2e./%2e%2e/.%2e/%2e.bar' with base 'about:blank' 
</ins><span class="cx"> PASS Testing Request url 'http://example.com////../..' with base 'about:blank' 
</span><span class="cx"> PASS Testing Request url 'http://example.com/foo/bar//../..' with base 'about:blank' 
</span><span class="cx"> PASS Testing Request url 'http://example.com/foo/bar//..' with base 'about:blank' 
</span><span class="lines">@@ -154,8 +154,8 @@
</span><span class="cx"> PASS Testing Request url 'http://[www.google.com]/' with base 'about:blank' 
</span><span class="cx"> PASS Testing Request url 'http://www.google.com' with base 'about:blank' 
</span><span class="cx"> PASS Testing Request url 'http://192.0x00A80001' with base 'about:blank' 
</span><del>-FAIL Testing Request url 'http://www/foo%2Ehtml' with base 'about:blank' assert_equals: expected &quot;http://www/foo.html&quot; but got &quot;http://www/foo%2Ehtml&quot;
-FAIL Testing Request url 'http://www/foo/%2E/html' with base 'about:blank' assert_equals: expected &quot;http://www/foo/html&quot; but got &quot;http://www/foo/%2E/html&quot;
</del><ins>+PASS Testing Request url 'http://www/foo%2Ehtml' with base 'about:blank' 
+PASS Testing Request url 'http://www/foo/%2E/html' with base 'about:blank' 
</ins><span class="cx"> PASS Testing Request url 'http://user:pass@/' with base 'about:blank' 
</span><span class="cx"> PASS Testing Request url 'http://%25DOMAIN:foobar@foodomain.com/' with base 'about:blank' 
</span><span class="cx"> PASS Testing Request url 'http:\\www.google.com\foo' with base 'about:blank' 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/ChangeLog (207802 => 207803)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/ChangeLog        2016-10-25 03:23:14 UTC (rev 207802)
+++ trunk/LayoutTests/imported/w3c/ChangeLog        2016-10-25 03:46:32 UTC (rev 207803)
</span><span class="lines">@@ -1,3 +1,15 @@
</span><ins>+2016-10-24  Ryan Haddad  &lt;ryanhaddad@apple.com&gt;
+
+        Unreviewed, rolling out r207795.
+
+        Introduced API test failures on iOS and macOS.
+
+        Reverted changeset:
+
+        &quot;URLParser should match old URL::parse with %2E in path&quot;
+        https://bugs.webkit.org/show_bug.cgi?id=163929
+        http://trac.webkit.org/changeset/207795
+
</ins><span class="cx"> 2016-10-24  Alex Christensen  &lt;achristensen@webkit.org&gt;
</span><span class="cx"> 
</span><span class="cx">         URLParser should match old URL::parse with %2E in path
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsurlaelementexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/url/a-element-expected.txt (207802 => 207803)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/url/a-element-expected.txt        2016-10-25 03:23:14 UTC (rev 207802)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/url/a-element-expected.txt        2016-10-25 03:46:32 UTC (rev 207803)
</span><span class="lines">@@ -126,9 +126,9 @@
</span><span class="cx"> PASS Parsing: &lt;http://example.com/foo/bar/../ton/../../a&gt; against &lt;about:blank&gt; 
</span><span class="cx"> PASS Parsing: &lt;http://example.com/foo/../../..&gt; against &lt;about:blank&gt; 
</span><span class="cx"> PASS Parsing: &lt;http://example.com/foo/../../../ton&gt; against &lt;about:blank&gt; 
</span><del>-FAIL Parsing: &lt;http://example.com/foo/%2e&gt; against &lt;about:blank&gt; assert_equals: href expected &quot;http://example.com/foo/&quot; but got &quot;http://example.com/foo/%2e&quot;
-FAIL Parsing: &lt;http://example.com/foo/%2e%2&gt; against &lt;about:blank&gt; assert_equals: href expected &quot;http://example.com/foo/.%2&quot; but got &quot;http://example.com/foo/%2e%2&quot;
-FAIL Parsing: &lt;http://example.com/foo/%2e./%2e%2e/.%2e/%2e.bar&gt; against &lt;about:blank&gt; assert_equals: href expected &quot;http://example.com/..bar&quot; but got &quot;http://example.com/foo/%2e./%2e%2e/.%2e/%2e.bar&quot;
</del><ins>+PASS Parsing: &lt;http://example.com/foo/%2e&gt; against &lt;about:blank&gt; 
+PASS Parsing: &lt;http://example.com/foo/%2e%2&gt; against &lt;about:blank&gt; 
+PASS Parsing: &lt;http://example.com/foo/%2e./%2e%2e/.%2e/%2e.bar&gt; against &lt;about:blank&gt; 
</ins><span class="cx"> PASS Parsing: &lt;http://example.com////../..&gt; against &lt;about:blank&gt; 
</span><span class="cx"> PASS Parsing: &lt;http://example.com/foo/bar//../..&gt; against &lt;about:blank&gt; 
</span><span class="cx"> PASS Parsing: &lt;http://example.com/foo/bar//..&gt; against &lt;about:blank&gt; 
</span><span class="lines">@@ -157,8 +157,8 @@
</span><span class="cx"> PASS Parsing: &lt;http://[www.google.com]/&gt; against &lt;about:blank&gt; 
</span><span class="cx"> PASS Parsing: &lt;http://www.google.com&gt; against &lt;about:blank&gt; 
</span><span class="cx"> PASS Parsing: &lt;http://192.0x00A80001&gt; against &lt;about:blank&gt; 
</span><del>-FAIL Parsing: &lt;http://www/foo%2Ehtml&gt; against &lt;about:blank&gt; assert_equals: href expected &quot;http://www/foo.html&quot; but got &quot;http://www/foo%2Ehtml&quot;
-FAIL Parsing: &lt;http://www/foo/%2E/html&gt; against &lt;about:blank&gt; assert_equals: href expected &quot;http://www/foo/html&quot; but got &quot;http://www/foo/%2E/html&quot;
</del><ins>+PASS Parsing: &lt;http://www/foo%2Ehtml&gt; against &lt;about:blank&gt; 
+PASS Parsing: &lt;http://www/foo/%2E/html&gt; against &lt;about:blank&gt; 
</ins><span class="cx"> PASS Parsing: &lt;http://user:pass@/&gt; against &lt;about:blank&gt; 
</span><span class="cx"> PASS Parsing: &lt;http://%25DOMAIN:foobar@foodomain.com/&gt; against &lt;about:blank&gt; 
</span><span class="cx"> PASS Parsing: &lt;http:\\www.google.com\foo&gt; against &lt;about:blank&gt; 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsurlaelementxhtmlexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/url/a-element-xhtml-expected.txt (207802 => 207803)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/url/a-element-xhtml-expected.txt        2016-10-25 03:23:14 UTC (rev 207802)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/url/a-element-xhtml-expected.txt        2016-10-25 03:46:32 UTC (rev 207803)
</span><span class="lines">@@ -126,9 +126,9 @@
</span><span class="cx"> PASS Parsing: &lt;http://example.com/foo/bar/../ton/../../a&gt; against &lt;about:blank&gt; 
</span><span class="cx"> PASS Parsing: &lt;http://example.com/foo/../../..&gt; against &lt;about:blank&gt; 
</span><span class="cx"> PASS Parsing: &lt;http://example.com/foo/../../../ton&gt; against &lt;about:blank&gt; 
</span><del>-FAIL Parsing: &lt;http://example.com/foo/%2e&gt; against &lt;about:blank&gt; assert_equals: href expected &quot;http://example.com/foo/&quot; but got &quot;http://example.com/foo/%2e&quot;
-FAIL Parsing: &lt;http://example.com/foo/%2e%2&gt; against &lt;about:blank&gt; assert_equals: href expected &quot;http://example.com/foo/.%2&quot; but got &quot;http://example.com/foo/%2e%2&quot;
-FAIL Parsing: &lt;http://example.com/foo/%2e./%2e%2e/.%2e/%2e.bar&gt; against &lt;about:blank&gt; assert_equals: href expected &quot;http://example.com/..bar&quot; but got &quot;http://example.com/foo/%2e./%2e%2e/.%2e/%2e.bar&quot;
</del><ins>+PASS Parsing: &lt;http://example.com/foo/%2e&gt; against &lt;about:blank&gt; 
+PASS Parsing: &lt;http://example.com/foo/%2e%2&gt; against &lt;about:blank&gt; 
+PASS Parsing: &lt;http://example.com/foo/%2e./%2e%2e/.%2e/%2e.bar&gt; against &lt;about:blank&gt; 
</ins><span class="cx"> PASS Parsing: &lt;http://example.com////../..&gt; against &lt;about:blank&gt; 
</span><span class="cx"> PASS Parsing: &lt;http://example.com/foo/bar//../..&gt; against &lt;about:blank&gt; 
</span><span class="cx"> PASS Parsing: &lt;http://example.com/foo/bar//..&gt; against &lt;about:blank&gt; 
</span><span class="lines">@@ -157,8 +157,8 @@
</span><span class="cx"> PASS Parsing: &lt;http://[www.google.com]/&gt; against &lt;about:blank&gt; 
</span><span class="cx"> PASS Parsing: &lt;http://www.google.com&gt; against &lt;about:blank&gt; 
</span><span class="cx"> PASS Parsing: &lt;http://192.0x00A80001&gt; against &lt;about:blank&gt; 
</span><del>-FAIL Parsing: &lt;http://www/foo%2Ehtml&gt; against &lt;about:blank&gt; assert_equals: href expected &quot;http://www/foo.html&quot; but got &quot;http://www/foo%2Ehtml&quot;
-FAIL Parsing: &lt;http://www/foo/%2E/html&gt; against &lt;about:blank&gt; assert_equals: href expected &quot;http://www/foo/html&quot; but got &quot;http://www/foo/%2E/html&quot;
</del><ins>+PASS Parsing: &lt;http://www/foo%2Ehtml&gt; against &lt;about:blank&gt; 
+PASS Parsing: &lt;http://www/foo/%2E/html&gt; against &lt;about:blank&gt; 
</ins><span class="cx"> PASS Parsing: &lt;http://user:pass@/&gt; against &lt;about:blank&gt; 
</span><span class="cx"> PASS Parsing: &lt;http://%25DOMAIN:foobar@foodomain.com/&gt; against &lt;about:blank&gt; 
</span><span class="cx"> PASS Parsing: &lt;http:\\www.google.com\foo&gt; against &lt;about:blank&gt; 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsurlurlconstructorexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/url/url-constructor-expected.txt (207802 => 207803)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/url/url-constructor-expected.txt        2016-10-25 03:23:14 UTC (rev 207802)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/url/url-constructor-expected.txt        2016-10-25 03:46:32 UTC (rev 207803)
</span><span class="lines">@@ -130,9 +130,9 @@
</span><span class="cx"> PASS Parsing: &lt;http://example.com/foo/bar/../ton/../../a&gt; against &lt;about:blank&gt; 
</span><span class="cx"> PASS Parsing: &lt;http://example.com/foo/../../..&gt; against &lt;about:blank&gt; 
</span><span class="cx"> PASS Parsing: &lt;http://example.com/foo/../../../ton&gt; against &lt;about:blank&gt; 
</span><del>-FAIL Parsing: &lt;http://example.com/foo/%2e&gt; against &lt;about:blank&gt; assert_equals: href expected &quot;http://example.com/foo/&quot; but got &quot;http://example.com/foo/%2e&quot;
-FAIL Parsing: &lt;http://example.com/foo/%2e%2&gt; against &lt;about:blank&gt; assert_equals: href expected &quot;http://example.com/foo/.%2&quot; but got &quot;http://example.com/foo/%2e%2&quot;
-FAIL Parsing: &lt;http://example.com/foo/%2e./%2e%2e/.%2e/%2e.bar&gt; against &lt;about:blank&gt; assert_equals: href expected &quot;http://example.com/..bar&quot; but got &quot;http://example.com/foo/%2e./%2e%2e/.%2e/%2e.bar&quot;
</del><ins>+PASS Parsing: &lt;http://example.com/foo/%2e&gt; against &lt;about:blank&gt; 
+PASS Parsing: &lt;http://example.com/foo/%2e%2&gt; against &lt;about:blank&gt; 
+PASS Parsing: &lt;http://example.com/foo/%2e./%2e%2e/.%2e/%2e.bar&gt; against &lt;about:blank&gt; 
</ins><span class="cx"> PASS Parsing: &lt;http://example.com////../..&gt; against &lt;about:blank&gt; 
</span><span class="cx"> PASS Parsing: &lt;http://example.com/foo/bar//../..&gt; against &lt;about:blank&gt; 
</span><span class="cx"> PASS Parsing: &lt;http://example.com/foo/bar//..&gt; against &lt;about:blank&gt; 
</span><span class="lines">@@ -161,8 +161,8 @@
</span><span class="cx"> PASS Parsing: &lt;http://[www.google.com]/&gt; against &lt;about:blank&gt; 
</span><span class="cx"> PASS Parsing: &lt;http://www.google.com&gt; against &lt;about:blank&gt; 
</span><span class="cx"> PASS Parsing: &lt;http://192.0x00A80001&gt; against &lt;about:blank&gt; 
</span><del>-FAIL Parsing: &lt;http://www/foo%2Ehtml&gt; against &lt;about:blank&gt; assert_equals: href expected &quot;http://www/foo.html&quot; but got &quot;http://www/foo%2Ehtml&quot;
-FAIL Parsing: &lt;http://www/foo/%2E/html&gt; against &lt;about:blank&gt; assert_equals: href expected &quot;http://www/foo/html&quot; but got &quot;http://www/foo/%2E/html&quot;
</del><ins>+PASS Parsing: &lt;http://www/foo%2Ehtml&gt; against &lt;about:blank&gt; 
+PASS Parsing: &lt;http://www/foo/%2E/html&gt; against &lt;about:blank&gt; 
</ins><span class="cx"> PASS Parsing: &lt;http://user:pass@/&gt; against &lt;about:blank&gt; 
</span><span class="cx"> PASS Parsing: &lt;http://%25DOMAIN:foobar@foodomain.com/&gt; against &lt;about:blank&gt; 
</span><span class="cx"> PASS Parsing: &lt;http:\\www.google.com\foo&gt; against &lt;about:blank&gt; 
</span></span></pre></div>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (207802 => 207803)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2016-10-25 03:23:14 UTC (rev 207802)
+++ trunk/Source/WebCore/ChangeLog        2016-10-25 03:46:32 UTC (rev 207803)
</span><span class="lines">@@ -1,3 +1,15 @@
</span><ins>+2016-10-24  Ryan Haddad  &lt;ryanhaddad@apple.com&gt;
+
+        Unreviewed, rolling out r207795.
+
+        Introduced API test failures on iOS and macOS.
+
+        Reverted changeset:
+
+        &quot;URLParser should match old URL::parse with %2E in path&quot;
+        https://bugs.webkit.org/show_bug.cgi?id=163929
+        http://trac.webkit.org/changeset/207795
+
</ins><span class="cx"> 2016-10-24  Yusuke Suzuki  &lt;utatane.tea@gmail.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Unreviewed, attempt to fix Windows build after r207787
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformURLParsercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/URLParser.cpp (207802 => 207803)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/URLParser.cpp        2016-10-25 03:23:14 UTC (rev 207802)
+++ trunk/Source/WebCore/platform/URLParser.cpp        2016-10-25 03:46:32 UTC (rev 207803)
</span><span class="lines">@@ -891,7 +891,27 @@
</span><span class="cx">     ASSERT_NOT_REACHED();
</span><span class="cx"> }
</span><span class="cx"> 
</span><ins>+static const char* dotASCIICode = &quot;2e&quot;;
+
</ins><span class="cx"> template&lt;typename CharacterType&gt;
</span><ins>+ALWAYS_INLINE bool URLParser::isPercentEncodedDot(CodePointIterator&lt;CharacterType&gt; c)
+{
+    if (c.atEnd())
+        return false;
+    if (*c != '%')
+        return false;
+    advance&lt;CharacterType, ReportSyntaxViolation::No&gt;(c);
+    if (c.atEnd())
+        return false;
+    if (*c != dotASCIICode[0])
+        return false;
+    advance&lt;CharacterType, ReportSyntaxViolation::No&gt;(c);
+    if (c.atEnd())
+        return false;
+    return toASCIILower(*c) == dotASCIICode[1];
+}
+
+template&lt;typename CharacterType&gt;
</ins><span class="cx"> ALWAYS_INLINE bool URLParser::isSingleDotPathSegment(CodePointIterator&lt;CharacterType&gt; c)
</span><span class="cx"> {
</span><span class="cx">     if (c.atEnd())
</span><span class="lines">@@ -900,6 +920,18 @@
</span><span class="cx">         advance&lt;CharacterType, ReportSyntaxViolation::No&gt;(c);
</span><span class="cx">         return c.atEnd() || isSlashQuestionOrHash(*c);
</span><span class="cx">     }
</span><ins>+    if (*c != '%')
+        return false;
+    advance&lt;CharacterType, ReportSyntaxViolation::No&gt;(c);
+    if (c.atEnd() || *c != dotASCIICode[0])
+        return false;
+    advance&lt;CharacterType, ReportSyntaxViolation::No&gt;(c);
+    if (c.atEnd())
+        return false;
+    if (toASCIILower(*c) == dotASCIICode[1]) {
+        advance&lt;CharacterType, ReportSyntaxViolation::No&gt;(c);
+        return c.atEnd() || isSlashQuestionOrHash(*c);
+    }
</ins><span class="cx">     return false;
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -912,6 +944,18 @@
</span><span class="cx">         advance&lt;CharacterType, ReportSyntaxViolation::No&gt;(c);
</span><span class="cx">         return isSingleDotPathSegment(c);
</span><span class="cx">     }
</span><ins>+    if (*c != '%')
+        return false;
+    advance&lt;CharacterType, ReportSyntaxViolation::No&gt;(c);
+    if (c.atEnd() || *c != dotASCIICode[0])
+        return false;
+    advance&lt;CharacterType, ReportSyntaxViolation::No&gt;(c);
+    if (c.atEnd())
+        return false;
+    if (toASCIILower(*c) == dotASCIICode[1]) {
+        advance&lt;CharacterType, ReportSyntaxViolation::No&gt;(c);
+        return isSingleDotPathSegment(c);
+    }
</ins><span class="cx">     return false;
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -919,12 +963,27 @@
</span><span class="cx"> void URLParser::consumeSingleDotPathSegment(CodePointIterator&lt;CharacterType&gt;&amp; c)
</span><span class="cx"> {
</span><span class="cx">     ASSERT(isSingleDotPathSegment(c));
</span><del>-    advance(c);
-    if (!c.atEnd()) {
-        if (*c == '/' || *c == '\\')
-            advance(c);
-        else
-            ASSERT(*c == '?' || *c == '#');
</del><ins>+    if (*c == '.') {
+        advance(c);
+        if (!c.atEnd()) {
+            if (*c == '/' || *c == '\\')
+                advance(c);
+            else
+                ASSERT(*c == '?' || *c == '#');
+        }
+    } else {
+        ASSERT(*c == '%');
+        advance(c);
+        ASSERT(*c == dotASCIICode[0]);
+        advance(c);
+        ASSERT(toASCIILower(*c) == dotASCIICode[1]);
+        advance(c);
+        if (!c.atEnd()) {
+            if (*c == '/' || *c == '\\')
+                advance(c);
+            else
+                ASSERT(*c == '?' || *c == '#');
+        }
</ins><span class="cx">     }
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -932,7 +991,16 @@
</span><span class="cx"> void URLParser::consumeDoubleDotPathSegment(CodePointIterator&lt;CharacterType&gt;&amp; c)
</span><span class="cx"> {
</span><span class="cx">     ASSERT(isDoubleDotPathSegment(c));
</span><del>-    advance(c);
</del><ins>+    if (*c == '.')
+        advance(c);
+    else {
+        ASSERT(*c == '%');
+        advance(c);
+        ASSERT(*c == dotASCIICode[0]);
+        advance(c);
+        ASSERT(toASCIILower(*c) == dotASCIICode[1]);
+        advance(c);
+    }
</ins><span class="cx">     consumeSingleDotPathSegment(c);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -1655,6 +1723,17 @@
</span><span class="cx">                 state = State::Fragment;
</span><span class="cx">                 break;
</span><span class="cx">             }
</span><ins>+            if (UNLIKELY(isPercentEncodedDot(c))) {
+                syntaxViolation(c);
+                appendToASCIIBuffer('.');
+                ASSERT(*c == '%');
+                advance(c);
+                ASSERT(*c == dotASCIICode[0]);
+                advance(c);
+                ASSERT(toASCIILower(*c) == dotASCIICode[1]);
+                advance(c);
+                break;
+            }
</ins><span class="cx">             utf8PercentEncode&lt;isInDefaultEncodeSet&gt;(c);
</span><span class="cx">             ++c;
</span><span class="cx">             break;
</span><span class="lines">@@ -2789,8 +2868,6 @@
</span><span class="cx"> 
</span><span class="cx"> bool URLParser::enabled()
</span><span class="cx"> {
</span><del>-    return true;
-    /*
</del><span class="cx">     if (urlParserEnabled == URLParserEnabled::Undetermined) {
</span><span class="cx"> #if PLATFORM(MAC)
</span><span class="cx">         urlParserEnabled = MacApplication::isSafari() ? URLParserEnabled::Yes : URLParserEnabled::No;
</span><span class="lines">@@ -2801,7 +2878,6 @@
</span><span class="cx"> #endif
</span><span class="cx">     }
</span><span class="cx">     return urlParserEnabled == URLParserEnabled::Yes;
</span><del>-     */
</del><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> } // namespace WebCore
</span></span></pre></div>
<a id="trunkToolsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Tools/ChangeLog (207802 => 207803)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/ChangeLog        2016-10-25 03:23:14 UTC (rev 207802)
+++ trunk/Tools/ChangeLog        2016-10-25 03:46:32 UTC (rev 207803)
</span><span class="lines">@@ -1,3 +1,15 @@
</span><ins>+2016-10-24  Ryan Haddad  &lt;ryanhaddad@apple.com&gt;
+
+        Unreviewed, rolling out r207795.
+
+        Introduced API test failures on iOS and macOS.
+
+        Reverted changeset:
+
+        &quot;URLParser should match old URL::parse with %2E in path&quot;
+        https://bugs.webkit.org/show_bug.cgi?id=163929
+        http://trac.webkit.org/changeset/207795
+
</ins><span class="cx"> 2016-10-24  Alex Christensen  &lt;achristensen@webkit.org&gt;
</span><span class="cx"> 
</span><span class="cx">         URLParser should match old URL::parse with %2E in path
</span></span></pre></div>
<a id="trunkToolsTestWebKitAPITestsWebCoreURLParsercpp"></a>
<div class="modfile"><h4>Modified: trunk/Tools/TestWebKitAPI/Tests/WebCore/URLParser.cpp (207802 => 207803)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/TestWebKitAPI/Tests/WebCore/URLParser.cpp        2016-10-25 03:23:14 UTC (rev 207802)
+++ trunk/Tools/TestWebKitAPI/Tests/WebCore/URLParser.cpp        2016-10-25 03:46:32 UTC (rev 207803)
</span><span class="lines">@@ -596,18 +596,42 @@
</span><span class="cx">     checkURLDifferences(&quot;http://127.0.0.01/&quot;,
</span><span class="cx">         {&quot;http&quot;, &quot;&quot;, &quot;&quot;, &quot;127.0.0.1&quot;, 0, &quot;/&quot;, &quot;&quot;, &quot;&quot;, &quot;http://127.0.0.1/&quot;},
</span><span class="cx">         {&quot;http&quot;, &quot;&quot;, &quot;&quot;, &quot;127.0.0.01&quot;, 0, &quot;/&quot;, &quot;&quot;, &quot;&quot;, &quot;http://127.0.0.01/&quot;});
</span><del>-    checkURL(&quot;http://example.com/path1/.%2e&quot;, {&quot;http&quot;, &quot;&quot;, &quot;&quot;, &quot;example.com&quot;, 0, &quot;/path1/.%2e&quot;, &quot;&quot;, &quot;&quot;, &quot;http://example.com/path1/.%2e&quot;});
-    checkURL(&quot;http://example.com/path1/.%2E&quot;, {&quot;http&quot;, &quot;&quot;, &quot;&quot;, &quot;example.com&quot;, 0, &quot;/path1/.%2E&quot;, &quot;&quot;, &quot;&quot;, &quot;http://example.com/path1/.%2E&quot;});
-    checkURL(&quot;http://example.com/path1/.%2E/&quot;, {&quot;http&quot;, &quot;&quot;, &quot;&quot;, &quot;example.com&quot;, 0, &quot;/path1/.%2E/&quot;, &quot;&quot;, &quot;&quot;, &quot;http://example.com/path1/.%2E/&quot;});
-    checkURL(&quot;http://example.com/path1/%2e.&quot;, {&quot;http&quot;, &quot;&quot;, &quot;&quot;, &quot;example.com&quot;, 0, &quot;/path1/%2e.&quot;, &quot;&quot;, &quot;&quot;, &quot;http://example.com/path1/%2e.&quot;});
-    checkURL(&quot;http://example.com/path1/%2E%2e&quot;, {&quot;http&quot;, &quot;&quot;, &quot;&quot;, &quot;example.com&quot;, 0, &quot;/path1/%2E%2e&quot;, &quot;&quot;, &quot;&quot;, &quot;http://example.com/path1/%2E%2e&quot;});
-    checkURL(&quot;http://example.com/path1/%2e&quot;, {&quot;http&quot;, &quot;&quot;, &quot;&quot;, &quot;example.com&quot;, 0, &quot;/path1/%2e&quot;, &quot;&quot;, &quot;&quot;, &quot;http://example.com/path1/%2e&quot;});
-    checkURL(&quot;http://example.com/path1/%2E&quot;, {&quot;http&quot;, &quot;&quot;, &quot;&quot;, &quot;example.com&quot;, 0, &quot;/path1/%2E&quot;, &quot;&quot;, &quot;&quot;, &quot;http://example.com/path1/%2E&quot;});
-    checkURL(&quot;http://example.com/path1/%2E/&quot;, {&quot;http&quot;, &quot;&quot;, &quot;&quot;, &quot;example.com&quot;, 0, &quot;/path1/%2E/&quot;, &quot;&quot;, &quot;&quot;, &quot;http://example.com/path1/%2E/&quot;});
-    checkURL(&quot;http://example.com/path1/path2/%2e?query&quot;, {&quot;http&quot;, &quot;&quot;, &quot;&quot;, &quot;example.com&quot;, 0, &quot;/path1/path2/%2e&quot;, &quot;query&quot;, &quot;&quot;, &quot;http://example.com/path1/path2/%2e?query&quot;});
-    checkURL(&quot;http://example.com/path1/path2/%2e%2e?query&quot;, {&quot;http&quot;, &quot;&quot;, &quot;&quot;, &quot;example.com&quot;, 0, &quot;/path1/path2/%2e%2e&quot;, &quot;query&quot;, &quot;&quot;, &quot;http://example.com/path1/path2/%2e%2e?query&quot;});
-    checkURL(&quot;http://example.com/path1/path2/%2e#fragment&quot;, {&quot;http&quot;, &quot;&quot;, &quot;&quot;, &quot;example.com&quot;, 0, &quot;/path1/path2/%2e&quot;, &quot;&quot;, &quot;fragment&quot;, &quot;http://example.com/path1/path2/%2e#fragment&quot;});
-    checkURL(&quot;http://example.com/path1/path2/%2e%2e#fragment&quot;, {&quot;http&quot;, &quot;&quot;, &quot;&quot;, &quot;example.com&quot;, 0, &quot;/path1/path2/%2e%2e&quot;, &quot;&quot;, &quot;fragment&quot;, &quot;http://example.com/path1/path2/%2e%2e#fragment&quot;});
</del><ins>+    checkURLDifferences(&quot;http://example.com/path1/.%2e&quot;,
+        {&quot;http&quot;, &quot;&quot;, &quot;&quot;, &quot;example.com&quot;, 0, &quot;/&quot;, &quot;&quot;, &quot;&quot;, &quot;http://example.com/&quot;},
+        {&quot;http&quot;, &quot;&quot;, &quot;&quot;, &quot;example.com&quot;, 0, &quot;/path1/.%2e&quot;, &quot;&quot;, &quot;&quot;, &quot;http://example.com/path1/.%2e&quot;});
+    checkURLDifferences(&quot;http://example.com/path1/.%2E&quot;,
+        {&quot;http&quot;, &quot;&quot;, &quot;&quot;, &quot;example.com&quot;, 0, &quot;/&quot;, &quot;&quot;, &quot;&quot;, &quot;http://example.com/&quot;},
+        {&quot;http&quot;, &quot;&quot;, &quot;&quot;, &quot;example.com&quot;, 0, &quot;/path1/.%2E&quot;, &quot;&quot;, &quot;&quot;, &quot;http://example.com/path1/.%2E&quot;});
+    checkURLDifferences(&quot;http://example.com/path1/.%2E/&quot;,
+        {&quot;http&quot;, &quot;&quot;, &quot;&quot;, &quot;example.com&quot;, 0, &quot;/&quot;, &quot;&quot;, &quot;&quot;, &quot;http://example.com/&quot;},
+        {&quot;http&quot;, &quot;&quot;, &quot;&quot;, &quot;example.com&quot;, 0, &quot;/path1/.%2E/&quot;, &quot;&quot;, &quot;&quot;, &quot;http://example.com/path1/.%2E/&quot;});
+    checkURLDifferences(&quot;http://example.com/path1/%2e.&quot;,
+        {&quot;http&quot;, &quot;&quot;, &quot;&quot;, &quot;example.com&quot;, 0, &quot;/&quot;, &quot;&quot;, &quot;&quot;, &quot;http://example.com/&quot;},
+        {&quot;http&quot;, &quot;&quot;, &quot;&quot;, &quot;example.com&quot;, 0, &quot;/path1/%2e.&quot;, &quot;&quot;, &quot;&quot;, &quot;http://example.com/path1/%2e.&quot;});
+    checkURLDifferences(&quot;http://example.com/path1/%2E%2e&quot;,
+        {&quot;http&quot;, &quot;&quot;, &quot;&quot;, &quot;example.com&quot;, 0, &quot;/&quot;, &quot;&quot;, &quot;&quot;, &quot;http://example.com/&quot;},
+        {&quot;http&quot;, &quot;&quot;, &quot;&quot;, &quot;example.com&quot;, 0, &quot;/path1/%2E%2e&quot;, &quot;&quot;, &quot;&quot;, &quot;http://example.com/path1/%2E%2e&quot;});
+    checkURLDifferences(&quot;http://example.com/path1/%2e&quot;,
+        {&quot;http&quot;, &quot;&quot;, &quot;&quot;, &quot;example.com&quot;, 0, &quot;/path1/&quot;, &quot;&quot;, &quot;&quot;, &quot;http://example.com/path1/&quot;},
+        {&quot;http&quot;, &quot;&quot;, &quot;&quot;, &quot;example.com&quot;, 0, &quot;/path1/%2e&quot;, &quot;&quot;, &quot;&quot;, &quot;http://example.com/path1/%2e&quot;});
+    checkURLDifferences(&quot;http://example.com/path1/%2E&quot;,
+        {&quot;http&quot;, &quot;&quot;, &quot;&quot;, &quot;example.com&quot;, 0, &quot;/path1/&quot;, &quot;&quot;, &quot;&quot;, &quot;http://example.com/path1/&quot;},
+        {&quot;http&quot;, &quot;&quot;, &quot;&quot;, &quot;example.com&quot;, 0, &quot;/path1/%2E&quot;, &quot;&quot;, &quot;&quot;, &quot;http://example.com/path1/%2E&quot;});
+    checkURLDifferences(&quot;http://example.com/path1/%2E/&quot;,
+        {&quot;http&quot;, &quot;&quot;, &quot;&quot;, &quot;example.com&quot;, 0, &quot;/path1/&quot;, &quot;&quot;, &quot;&quot;, &quot;http://example.com/path1/&quot;},
+        {&quot;http&quot;, &quot;&quot;, &quot;&quot;, &quot;example.com&quot;, 0, &quot;/path1/%2E/&quot;, &quot;&quot;, &quot;&quot;, &quot;http://example.com/path1/%2E/&quot;});
+    checkURLDifferences(&quot;http://example.com/path1/path2/%2e?query&quot;,
+        {&quot;http&quot;, &quot;&quot;, &quot;&quot;, &quot;example.com&quot;, 0, &quot;/path1/path2/&quot;, &quot;query&quot;, &quot;&quot;, &quot;http://example.com/path1/path2/?query&quot;},
+        {&quot;http&quot;, &quot;&quot;, &quot;&quot;, &quot;example.com&quot;, 0, &quot;/path1/path2/%2e&quot;, &quot;query&quot;, &quot;&quot;, &quot;http://example.com/path1/path2/%2e?query&quot;});
+    checkURLDifferences(&quot;http://example.com/path1/path2/%2e%2e?query&quot;,
+        {&quot;http&quot;, &quot;&quot;, &quot;&quot;, &quot;example.com&quot;, 0, &quot;/path1/&quot;, &quot;query&quot;, &quot;&quot;, &quot;http://example.com/path1/?query&quot;},
+        {&quot;http&quot;, &quot;&quot;, &quot;&quot;, &quot;example.com&quot;, 0, &quot;/path1/path2/%2e%2e&quot;, &quot;query&quot;, &quot;&quot;, &quot;http://example.com/path1/path2/%2e%2e?query&quot;});
+    checkURLDifferences(&quot;http://example.com/path1/path2/%2e#fragment&quot;,
+        {&quot;http&quot;, &quot;&quot;, &quot;&quot;, &quot;example.com&quot;, 0, &quot;/path1/path2/&quot;, &quot;&quot;, &quot;fragment&quot;, &quot;http://example.com/path1/path2/#fragment&quot;},
+        {&quot;http&quot;, &quot;&quot;, &quot;&quot;, &quot;example.com&quot;, 0, &quot;/path1/path2/%2e&quot;, &quot;&quot;, &quot;fragment&quot;, &quot;http://example.com/path1/path2/%2e#fragment&quot;});
+    checkURLDifferences(&quot;http://example.com/path1/path2/%2e%2e#fragment&quot;,
+        {&quot;http&quot;, &quot;&quot;, &quot;&quot;, &quot;example.com&quot;, 0, &quot;/path1/&quot;, &quot;&quot;, &quot;fragment&quot;, &quot;http://example.com/path1/#fragment&quot;},
+        {&quot;http&quot;, &quot;&quot;, &quot;&quot;, &quot;example.com&quot;, 0, &quot;/path1/path2/%2e%2e&quot;, &quot;&quot;, &quot;fragment&quot;, &quot;http://example.com/path1/path2/%2e%2e#fragment&quot;});
</ins><span class="cx">     checkURLDifferences(&quot;file://[0:a:0:0:b:c:0:0]/path&quot;,
</span><span class="cx">         {&quot;file&quot;, &quot;&quot;, &quot;&quot;, &quot;[0:a::b:c:0:0]&quot;, 0, &quot;/path&quot;, &quot;&quot;, &quot;&quot;, &quot;file://[0:a::b:c:0:0]/path&quot;},
</span><span class="cx">         {&quot;file&quot;, &quot;&quot;, &quot;&quot;, &quot;[0:a:0:0:b:c:0:0]&quot;, 0, &quot;/path&quot;, &quot;&quot;, &quot;&quot;, &quot;file://[0:a:0:0:b:c:0:0]/path&quot;});
</span><span class="lines">@@ -710,9 +734,10 @@
</span><span class="cx">     checkURLDifferences(utf16String(u&quot;http://0Xc0.0250.01&quot;),
</span><span class="cx">         {&quot;http&quot;, &quot;&quot;, &quot;&quot;, &quot;192.168.0.1&quot;, 0, &quot;/&quot;, &quot;&quot;, &quot;&quot;, &quot;http://192.168.0.1/&quot;},
</span><span class="cx">         {&quot;http&quot;, &quot;&quot;, &quot;&quot;, &quot;0xc0.0250.01&quot;, 0, &quot;/&quot;, &quot;&quot;, &quot;&quot;, &quot;http://0xc0.0250.01/&quot;});
</span><ins>+    checkURLDifferences(&quot;http://host/path%2e.%2E&quot;,
+        {&quot;http&quot;, &quot;&quot;, &quot;&quot;, &quot;host&quot;, 0, &quot;/path...&quot;, &quot;&quot;, &quot;&quot;, &quot;http://host/path...&quot;},
+        {&quot;http&quot;, &quot;&quot;, &quot;&quot;, &quot;host&quot;, 0, &quot;/path%2e.%2E&quot;, &quot;&quot;, &quot;&quot;, &quot;http://host/path%2e.%2E&quot;});
</ins><span class="cx"> 
</span><del>-    checkURL(&quot;http://host/path%2e.%2E&quot;, {&quot;http&quot;, &quot;&quot;, &quot;&quot;, &quot;host&quot;, 0, &quot;/path%2e.%2E&quot;, &quot;&quot;, &quot;&quot;, &quot;http://host/path%2e.%2E&quot;});
-
</del><span class="cx">     checkRelativeURLDifferences(utf16String(u&quot;http://foo:💩@example.com/bar&quot;), &quot;http://other.com/&quot;,
</span><span class="cx">         {&quot;http&quot;, &quot;foo&quot;, utf16String(u&quot;💩&quot;), &quot;example.com&quot;, 0, &quot;/bar&quot;, &quot;&quot;, &quot;&quot;, &quot;http://foo:%F0%9F%92%A9@example.com/bar&quot;},
</span><span class="cx">         {&quot;&quot;, &quot;&quot;, &quot;&quot;, &quot;&quot;, 0, &quot;&quot;, &quot;&quot;, &quot;&quot;, utf16String(u&quot;http://foo:💩@example.com/bar&quot;)}, testTabsValueForSurrogatePairs);
</span></span></pre>
</div>
</div>

</body>
</html>