<!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>[208457] trunk/LayoutTests/imported/w3c</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/208457">208457</a></dd>
<dt>Author</dt> <dd>achristensen@apple.com</dd>
<dt>Date</dt> <dd>2016-11-09 11:40:37 -0800 (Wed, 09 Nov 2016)</dd>
</dl>
<h3>Log Message</h3>
<pre>Ignore URL.origin in URL web-platform-tests
https://bugs.webkit.org/show_bug.cgi?id=164553
Reviewed by Tim Horton.
Spec-noncompliance in our SecurityOrigin class is covering up URLParser bugs.
Let's ignore those bugs for now in our copy of the web-platform-tests so we can see URLParser conformance improvement in our results.
I've proposed moving these URL.origin checks to different tests in https://github.com/w3c/web-platform-tests/pull/4182
* web-platform-tests/url/a-element-expected.txt:
* web-platform-tests/url/a-element-xhtml-expected.txt:
* web-platform-tests/url/a-element.js:
(runURLTests):
* web-platform-tests/url/url-constructor-expected.txt:
* web-platform-tests/url/url-constructor.html:</pre>
<h3>Modified Paths</h3>
<ul>
<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="#trunkLayoutTestsimportedw3cwebplatformtestsurlaelementjs">trunk/LayoutTests/imported/w3c/web-platform-tests/url/a-element.js</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsurlurlconstructorexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/url/url-constructor-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsurlurlconstructorhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/url/url-constructor.html</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkLayoutTestsimportedw3cChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/ChangeLog (208456 => 208457)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/ChangeLog        2016-11-09 19:37:22 UTC (rev 208456)
+++ trunk/LayoutTests/imported/w3c/ChangeLog        2016-11-09 19:40:37 UTC (rev 208457)
</span><span class="lines">@@ -1,3 +1,21 @@
</span><ins>+2016-11-09 Alex Christensen <achristensen@webkit.org>
+
+ Ignore URL.origin in URL web-platform-tests
+ https://bugs.webkit.org/show_bug.cgi?id=164553
+
+ Reviewed by Tim Horton.
+
+ Spec-noncompliance in our SecurityOrigin class is covering up URLParser bugs.
+ Let's ignore those bugs for now in our copy of the web-platform-tests so we can see URLParser conformance improvement in our results.
+ I've proposed moving these URL.origin checks to different tests in https://github.com/w3c/web-platform-tests/pull/4182
+
+ * web-platform-tests/url/a-element-expected.txt:
+ * web-platform-tests/url/a-element-xhtml-expected.txt:
+ * web-platform-tests/url/a-element.js:
+ (runURLTests):
+ * web-platform-tests/url/url-constructor-expected.txt:
+ * web-platform-tests/url/url-constructor.html:
+
</ins><span class="cx"> 2016-11-04 Brady Eidson <beidson@apple.com>
</span><span class="cx">
</span><span class="cx"> IndexedDB 2.0: Clean up more transaction abort and exception throwing behavior from IDBObjectStore.
</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 (208456 => 208457)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/url/a-element-expected.txt        2016-11-09 19:37:22 UTC (rev 208456)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/url/a-element-expected.txt        2016-11-09 19:40:37 UTC (rev 208457)
</span><span class="lines">@@ -7,7 +7,7 @@
</span><span class="cx"> PASS Parsing: <         :foo.com
</span><span class="cx"> > against <http://example.org/foo/bar>
</span><span class="cx"> PASS Parsing: < foo.com > against <http://example.org/foo/bar>
</span><del>-FAIL Parsing: <a:         foo.com> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "a://"
</del><ins>+PASS Parsing: <a:         foo.com> against <http://example.org/foo/bar>
</ins><span class="cx"> PASS Parsing: <http://f:21/ b ? d # e > against <http://example.org/foo/bar>
</span><span class="cx"> PASS Parsing: <http://f:/c> against <http://example.org/foo/bar>
</span><span class="cx"> PASS Parsing: <http://f:0/c> against <http://example.org/foo/bar>
</span><span class="lines">@@ -48,12 +48,12 @@
</span><span class="cx"> PASS Parsing: <http://foo.com/\@> against <http://example.org/foo/bar>
</span><span class="cx"> PASS Parsing: <http:\\foo.com\> against <http://example.org/foo/bar>
</span><span class="cx"> PASS Parsing: <http:\\a\b:c\d@foo.com\> against <http://example.org/foo/bar>
</span><del>-FAIL Parsing: <foo:/> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "foo://"
-FAIL Parsing: <foo:/bar.com/> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "foo://"
-FAIL Parsing: <foo://///////> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "foo://"
-FAIL Parsing: <foo://///////bar.com/> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "foo://"
-FAIL Parsing: <foo:////://///> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "foo://"
-FAIL Parsing: <c:/foo> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "c://"
</del><ins>+PASS Parsing: <foo:/> against <http://example.org/foo/bar>
+PASS Parsing: <foo:/bar.com/> against <http://example.org/foo/bar>
+FAIL Parsing: <foo://///////> against <http://example.org/foo/bar> assert_equals: pathname expected "///////" but got "/////////"
+FAIL Parsing: <foo://///////bar.com/> against <http://example.org/foo/bar> assert_equals: pathname expected "///////bar.com/" but got "/////////bar.com/"
+FAIL Parsing: <foo:////://///> against <http://example.org/foo/bar> assert_equals: pathname expected "//://///" but got "////://///"
+PASS Parsing: <c:/foo> against <http://example.org/foo/bar>
</ins><span class="cx"> PASS Parsing: <//foo/bar> against <http://example.org/foo/bar>
</span><span class="cx"> PASS Parsing: <http://foo/path;a??e#f#g> against <http://example.org/foo/bar>
</span><span class="cx"> PASS Parsing: <http://foo/abcd?efgh?ijkl> against <http://example.org/foo/bar>
</span><span class="lines">@@ -69,26 +69,26 @@
</span><span class="cx"> PASS Parsing: <http:/example.com/> against <http://example.org/foo/bar>
</span><span class="cx"> PASS Parsing: <ftp:/example.com/> against <http://example.org/foo/bar>
</span><span class="cx"> PASS Parsing: <https:/example.com/> against <http://example.org/foo/bar>
</span><del>-FAIL Parsing: <madeupscheme:/example.com/> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "madeupscheme://"
</del><ins>+PASS Parsing: <madeupscheme:/example.com/> against <http://example.org/foo/bar>
</ins><span class="cx"> PASS Parsing: <file:/example.com/> against <http://example.org/foo/bar>
</span><del>-FAIL Parsing: <ftps:/example.com/> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "ftps://"
</del><ins>+PASS Parsing: <ftps:/example.com/> against <http://example.org/foo/bar>
</ins><span class="cx"> PASS Parsing: <gopher:/example.com/> against <http://example.org/foo/bar>
</span><span class="cx"> PASS Parsing: <ws:/example.com/> against <http://example.org/foo/bar>
</span><span class="cx"> PASS Parsing: <wss:/example.com/> against <http://example.org/foo/bar>
</span><span class="cx"> PASS Parsing: <data:/example.com/> against <http://example.org/foo/bar>
</span><span class="cx"> PASS Parsing: <javascript:/example.com/> against <http://example.org/foo/bar>
</span><del>-FAIL Parsing: <mailto:/example.com/> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "mailto://"
</del><ins>+PASS Parsing: <mailto:/example.com/> against <http://example.org/foo/bar>
</ins><span class="cx"> PASS Parsing: <http:example.com/> against <http://example.org/foo/bar>
</span><span class="cx"> PASS Parsing: <ftp:example.com/> against <http://example.org/foo/bar>
</span><span class="cx"> PASS Parsing: <https:example.com/> against <http://example.org/foo/bar>
</span><del>-FAIL Parsing: <madeupscheme:example.com/> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "madeupscheme://"
-FAIL Parsing: <ftps:example.com/> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "ftps://"
</del><ins>+PASS Parsing: <madeupscheme:example.com/> against <http://example.org/foo/bar>
+PASS Parsing: <ftps:example.com/> against <http://example.org/foo/bar>
</ins><span class="cx"> PASS Parsing: <gopher:example.com/> against <http://example.org/foo/bar>
</span><span class="cx"> PASS Parsing: <ws:example.com/> against <http://example.org/foo/bar>
</span><span class="cx"> PASS Parsing: <wss:example.com/> against <http://example.org/foo/bar>
</span><span class="cx"> PASS Parsing: <data:example.com/> against <http://example.org/foo/bar>
</span><span class="cx"> PASS Parsing: <javascript:example.com/> against <http://example.org/foo/bar>
</span><del>-FAIL Parsing: <mailto:example.com/> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "mailto://"
</del><ins>+PASS Parsing: <mailto:example.com/> against <http://example.org/foo/bar>
</ins><span class="cx"> PASS Parsing: </a/b/c> against <http://example.org/foo/bar>
</span><span class="cx"> PASS Parsing: </a/ /c> against <http://example.org/foo/bar>
</span><span class="cx"> PASS Parsing: </a%2fc> against <http://example.org/foo/bar>
</span><span class="lines">@@ -95,7 +95,7 @@
</span><span class="cx"> PASS Parsing: </a/%2f/c> against <http://example.org/foo/bar>
</span><span class="cx"> FAIL Parsing: <#β> against <http://example.org/foo/bar> assert_equals: href expected "http://example.org/foo/bar#β" but got "http://example.org/foo/bar#%CE%B2"
</span><span class="cx"> PASS Parsing: <data:text/html,test#test> against <http://example.org/foo/bar>
</span><del>-FAIL Parsing: <tel:1234567890> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "tel://"
</del><ins>+PASS Parsing: <tel:1234567890> against <http://example.org/foo/bar>
</ins><span class="cx"> PASS Parsing: <file:c:\foo\bar.html> against <file:///tmp/mock/path>
</span><span class="cx"> PASS Parsing: < File:c|////foo\bar.html> against <file:///tmp/mock/path>
</span><span class="cx"> PASS Parsing: <C|/foo/bar> against <file:///tmp/mock/path>
</span><span class="lines">@@ -164,7 +164,7 @@
</span><span class="cx"> PASS Parsing: <http:\\www.google.com\foo> against <about:blank>
</span><span class="cx"> PASS Parsing: <http://foo:80/> against <about:blank>
</span><span class="cx"> PASS Parsing: <http://foo:81/> against <about:blank>
</span><del>-FAIL Parsing: <httpa://foo:80/> against <about:blank> assert_equals: origin expected "null" but got "httpa://foo:80"
</del><ins>+PASS Parsing: <httpa://foo:80/> against <about:blank>
</ins><span class="cx"> PASS Parsing: <http://foo:-80/> against <about:blank>
</span><span class="cx"> PASS Parsing: <https://foo:443/> against <about:blank>
</span><span class="cx"> PASS Parsing: <https://foo:80/> against <about:blank>
</span><span class="lines">@@ -183,26 +183,26 @@
</span><span class="cx"> PASS Parsing: <http:/example.com/> against <about:blank>
</span><span class="cx"> PASS Parsing: <ftp:/example.com/> against <about:blank>
</span><span class="cx"> PASS Parsing: <https:/example.com/> against <about:blank>
</span><del>-FAIL Parsing: <madeupscheme:/example.com/> against <about:blank> assert_equals: origin expected "null" but got "madeupscheme://"
</del><ins>+PASS Parsing: <madeupscheme:/example.com/> against <about:blank>
</ins><span class="cx"> PASS Parsing: <file:/example.com/> against <about:blank>
</span><del>-FAIL Parsing: <ftps:/example.com/> against <about:blank> assert_equals: origin expected "null" but got "ftps://"
</del><ins>+PASS Parsing: <ftps:/example.com/> against <about:blank>
</ins><span class="cx"> PASS Parsing: <gopher:/example.com/> against <about:blank>
</span><span class="cx"> PASS Parsing: <ws:/example.com/> against <about:blank>
</span><span class="cx"> PASS Parsing: <wss:/example.com/> against <about:blank>
</span><span class="cx"> PASS Parsing: <data:/example.com/> against <about:blank>
</span><span class="cx"> PASS Parsing: <javascript:/example.com/> against <about:blank>
</span><del>-FAIL Parsing: <mailto:/example.com/> against <about:blank> assert_equals: origin expected "null" but got "mailto://"
</del><ins>+PASS Parsing: <mailto:/example.com/> against <about:blank>
</ins><span class="cx"> PASS Parsing: <http:example.com/> against <about:blank>
</span><span class="cx"> PASS Parsing: <ftp:example.com/> against <about:blank>
</span><span class="cx"> PASS Parsing: <https:example.com/> against <about:blank>
</span><del>-FAIL Parsing: <madeupscheme:example.com/> against <about:blank> assert_equals: origin expected "null" but got "madeupscheme://"
-FAIL Parsing: <ftps:example.com/> against <about:blank> assert_equals: origin expected "null" but got "ftps://"
</del><ins>+PASS Parsing: <madeupscheme:example.com/> against <about:blank>
+PASS Parsing: <ftps:example.com/> against <about:blank>
</ins><span class="cx"> PASS Parsing: <gopher:example.com/> against <about:blank>
</span><span class="cx"> PASS Parsing: <ws:example.com/> against <about:blank>
</span><span class="cx"> PASS Parsing: <wss:example.com/> against <about:blank>
</span><span class="cx"> PASS Parsing: <data:example.com/> against <about:blank>
</span><span class="cx"> PASS Parsing: <javascript:example.com/> against <about:blank>
</span><del>-FAIL Parsing: <mailto:example.com/> against <about:blank> assert_equals: origin expected "null" but got "mailto://"
</del><ins>+PASS Parsing: <mailto:example.com/> against <about:blank>
</ins><span class="cx"> PASS Parsing: <http:@www.example.com> against <about:blank>
</span><span class="cx"> PASS Parsing: <http:/@www.example.com> against <about:blank>
</span><span class="cx"> PASS Parsing: <http://@www.example.com> against <about:blank>
</span><span class="lines">@@ -261,7 +261,7 @@
</span><span class="cx"> PASS Parsing: <http://%ef%bc%85%ef%bc%94%ef%bc%91.com> against <http://other.com/>
</span><span class="cx"> PASS Parsing: <http://%00.com> against <http://other.com/>
</span><span class="cx"> PASS Parsing: <http://%ef%bc%85%ef%bc%90%ef%bc%90.com> against <http://other.com/>
</span><del>-FAIL Parsing: <http://你好你好> against <http://other.com/> assert_equals: origin expected "http://你好你好" but got "http://xn--6qqa088eba"
</del><ins>+PASS Parsing: <http://你好你好> against <http://other.com/>
</ins><span class="cx"> PASS Parsing: <http://%zz%66%a.com> against <http://other.com/>
</span><span class="cx"> PASS Parsing: <http://%25> against <http://other.com/>
</span><span class="cx"> PASS Parsing: <http://hello%00> against <http://other.com/>
</span><span class="lines">@@ -273,11 +273,11 @@
</span><span class="cx"> PASS Parsing: <http://0Xc0.0250.01> against <http://other.com/>
</span><span class="cx"> PASS Parsing: <http://[google.com]> against <http://other.com/>
</span><span class="cx"> PASS Parsing: <http://foo:💩@example.com/bar> against <http://other.com/>
</span><del>-FAIL Parsing: <#> against <test:test> assert_equals: origin expected "null" but got "test://"
-FAIL Parsing: <#x> against <mailto:x@x.com> assert_equals: origin expected "null" but got "mailto://"
</del><ins>+PASS Parsing: <#> against <test:test>
+PASS Parsing: <#x> against <mailto:x@x.com>
</ins><span class="cx"> PASS Parsing: <#x> against <data:,>
</span><span class="cx"> PASS Parsing: <#x> against <about:blank>
</span><del>-FAIL Parsing: <#> against <test:test?test> assert_equals: origin expected "null" but got "test://"
</del><ins>+PASS Parsing: <#> against <test:test?test>
</ins><span class="cx"> PASS Parsing: <https://@test@test@example:800/> against <http://doesnotmatter/>
</span><span class="cx"> PASS Parsing: <https://@@@example> against <http://doesnotmatter/>
</span><span class="cx"> PASS Parsing: <http://`{}:`{}@h/`{}?`{}> against <http://doesnotmatter/>
</span><span class="lines">@@ -286,36 +286,36 @@
</span><span class="cx"> PASS Parsing: </some/path> against <http://user:pass@example.org:21/smth>
</span><span class="cx"> PASS Parsing: <i> against <sc:sd>
</span><span class="cx"> PASS Parsing: <i> against <sc:sd/sd>
</span><del>-FAIL Parsing: <i> against <sc:/pa/pa> assert_equals: origin expected "null" but got "sc://"
-FAIL Parsing: <i> against <sc://ho/pa> assert_equals: origin expected "null" but got "sc://ho"
-FAIL Parsing: <i> against <sc:///pa/pa> assert_equals: origin expected "null" but got "sc://"
</del><ins>+PASS Parsing: <i> against <sc:/pa/pa>
+PASS Parsing: <i> against <sc://ho/pa>
+FAIL Parsing: <i> against <sc:///pa/pa> assert_equals: pathname expected "/pa/i" but got "///pa/i"
</ins><span class="cx"> PASS Parsing: <../i> against <sc:sd>
</span><span class="cx"> PASS Parsing: <../i> against <sc:sd/sd>
</span><del>-FAIL Parsing: <../i> against <sc:/pa/pa> assert_equals: origin expected "null" but got "sc://"
-FAIL Parsing: <../i> against <sc://ho/pa> assert_equals: origin expected "null" but got "sc://ho"
-FAIL Parsing: <../i> against <sc:///pa/pa> assert_equals: origin expected "null" but got "sc://"
</del><ins>+PASS Parsing: <../i> against <sc:/pa/pa>
+PASS Parsing: <../i> against <sc://ho/pa>
+FAIL Parsing: <../i> against <sc:///pa/pa> assert_equals: pathname expected "/i" but got "///i"
</ins><span class="cx"> PASS Parsing: </i> against <sc:sd>
</span><span class="cx"> PASS Parsing: </i> against <sc:sd/sd>
</span><del>-FAIL Parsing: </i> against <sc:/pa/pa> assert_equals: origin expected "null" but got "sc://"
-FAIL Parsing: </i> against <sc://ho/pa> assert_equals: origin expected "null" but got "sc://ho"
</del><ins>+PASS Parsing: </i> against <sc:/pa/pa>
+PASS Parsing: </i> against <sc://ho/pa>
</ins><span class="cx"> FAIL Parsing: </i> against <sc:///pa/pa> assert_equals: href expected "sc:///i" but got "sc:/i"
</span><span class="cx"> PASS Parsing: <?i> against <sc:sd>
</span><span class="cx"> PASS Parsing: <?i> against <sc:sd/sd>
</span><del>-FAIL Parsing: <?i> against <sc:/pa/pa> assert_equals: origin expected "null" but got "sc://"
-FAIL Parsing: <?i> against <sc://ho/pa> assert_equals: origin expected "null" but got "sc://ho"
-FAIL Parsing: <?i> against <sc:///pa/pa> assert_equals: origin expected "null" but got "sc://"
-FAIL Parsing: <#i> against <sc:sd> assert_equals: origin expected "null" but got "sc://"
-FAIL Parsing: <#i> against <sc:sd/sd> assert_equals: origin expected "null" but got "sc://"
-FAIL Parsing: <#i> against <sc:/pa/pa> assert_equals: origin expected "null" but got "sc://"
-FAIL Parsing: <#i> against <sc://ho/pa> assert_equals: origin expected "null" but got "sc://ho"
-FAIL Parsing: <#i> against <sc:///pa/pa> assert_equals: origin expected "null" but got "sc://"
</del><ins>+PASS Parsing: <?i> against <sc:/pa/pa>
+PASS Parsing: <?i> against <sc://ho/pa>
+FAIL Parsing: <?i> against <sc:///pa/pa> assert_equals: pathname expected "/pa/pa" but got "///pa/pa"
+PASS Parsing: <#i> against <sc:sd>
+PASS Parsing: <#i> against <sc:sd/sd>
+PASS Parsing: <#i> against <sc:/pa/pa>
+PASS Parsing: <#i> against <sc://ho/pa>
+FAIL Parsing: <#i> against <sc:///pa/pa> assert_equals: pathname expected "/pa/pa" but got "///pa/pa"
</ins><span class="cx"> PASS Parsing: <about:/../> against <about:blank>
</span><span class="cx"> PASS Parsing: <data:/../> against <about:blank>
</span><span class="cx"> PASS Parsing: <javascript:/../> against <about:blank>
</span><del>-FAIL Parsing: <mailto:/../> against <about:blank> assert_equals: origin expected "null" but got "mailto://"
</del><ins>+PASS Parsing: <mailto:/../> against <about:blank>
</ins><span class="cx"> FAIL Parsing: <sc://ñ.test/> against <about:blank> assert_equals: href expected "sc://xn--ida.test/" but got "sc://%C3%B1.test/"
</span><del>-FAIL Parsing: <sc:\../> against <about:blank> assert_equals: origin expected "null" but got "sc://"
-FAIL Parsing: <sc::a@example.net> against <about:blank> assert_equals: origin expected "null" but got "sc://"
</del><ins>+PASS Parsing: <sc:\../> against <about:blank>
+PASS Parsing: <sc::a@example.net> against <about:blank>
</ins><span class="cx"> PASS Parsing: <http://127.0.0.1:10100/relative_import.html> against <about:blank>
</span><span class="cx"> PASS Parsing: <http://facebook.com/?foo=%7B%22abc%22> against <about:blank>
</span><span class="cx"> PASS Parsing: <https://localhost:3000/jqueryui@1.2.3> against <about:blank>
</span><span class="lines">@@ -330,5 +330,5 @@
</span><span class="cx"> PASS Parsing: <??a=b&c=d> against <http://example.org/foo/bar>
</span><span class="cx"> PASS Parsing: <http:> against <http://example.org/foo/bar>
</span><span class="cx"> FAIL Parsing: <http:> against <https://example.org/foo/bar> assert_unreached: Expected URL to fail parsing Reached unreachable code
</span><del>-FAIL Parsing: <sc:> against <https://example.org/foo/bar> assert_equals: origin expected "null" but got "sc://"
</del><ins>+PASS Parsing: <sc:> against <https://example.org/foo/bar>
</ins><span class="cx">
</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 (208456 => 208457)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/url/a-element-xhtml-expected.txt        2016-11-09 19:37:22 UTC (rev 208456)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/url/a-element-xhtml-expected.txt        2016-11-09 19:40:37 UTC (rev 208457)
</span><span class="lines">@@ -7,7 +7,7 @@
</span><span class="cx"> PASS Parsing: <         :foo.com
</span><span class="cx"> > against <http://example.org/foo/bar>
</span><span class="cx"> PASS Parsing: < foo.com > against <http://example.org/foo/bar>
</span><del>-FAIL Parsing: <a:         foo.com> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "a://"
</del><ins>+PASS Parsing: <a:         foo.com> against <http://example.org/foo/bar>
</ins><span class="cx"> PASS Parsing: <http://f:21/ b ? d # e > against <http://example.org/foo/bar>
</span><span class="cx"> PASS Parsing: <http://f:/c> against <http://example.org/foo/bar>
</span><span class="cx"> PASS Parsing: <http://f:0/c> against <http://example.org/foo/bar>
</span><span class="lines">@@ -48,12 +48,12 @@
</span><span class="cx"> PASS Parsing: <http://foo.com/\@> against <http://example.org/foo/bar>
</span><span class="cx"> PASS Parsing: <http:\\foo.com\> against <http://example.org/foo/bar>
</span><span class="cx"> PASS Parsing: <http:\\a\b:c\d@foo.com\> against <http://example.org/foo/bar>
</span><del>-FAIL Parsing: <foo:/> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "foo://"
-FAIL Parsing: <foo:/bar.com/> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "foo://"
-FAIL Parsing: <foo://///////> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "foo://"
-FAIL Parsing: <foo://///////bar.com/> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "foo://"
-FAIL Parsing: <foo:////://///> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "foo://"
-FAIL Parsing: <c:/foo> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "c://"
</del><ins>+PASS Parsing: <foo:/> against <http://example.org/foo/bar>
+PASS Parsing: <foo:/bar.com/> against <http://example.org/foo/bar>
+FAIL Parsing: <foo://///////> against <http://example.org/foo/bar> assert_equals: pathname expected "///////" but got "/////////"
+FAIL Parsing: <foo://///////bar.com/> against <http://example.org/foo/bar> assert_equals: pathname expected "///////bar.com/" but got "/////////bar.com/"
+FAIL Parsing: <foo:////://///> against <http://example.org/foo/bar> assert_equals: pathname expected "//://///" but got "////://///"
+PASS Parsing: <c:/foo> against <http://example.org/foo/bar>
</ins><span class="cx"> PASS Parsing: <//foo/bar> against <http://example.org/foo/bar>
</span><span class="cx"> PASS Parsing: <http://foo/path;a??e#f#g> against <http://example.org/foo/bar>
</span><span class="cx"> PASS Parsing: <http://foo/abcd?efgh?ijkl> against <http://example.org/foo/bar>
</span><span class="lines">@@ -69,26 +69,26 @@
</span><span class="cx"> PASS Parsing: <http:/example.com/> against <http://example.org/foo/bar>
</span><span class="cx"> PASS Parsing: <ftp:/example.com/> against <http://example.org/foo/bar>
</span><span class="cx"> PASS Parsing: <https:/example.com/> against <http://example.org/foo/bar>
</span><del>-FAIL Parsing: <madeupscheme:/example.com/> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "madeupscheme://"
</del><ins>+PASS Parsing: <madeupscheme:/example.com/> against <http://example.org/foo/bar>
</ins><span class="cx"> PASS Parsing: <file:/example.com/> against <http://example.org/foo/bar>
</span><del>-FAIL Parsing: <ftps:/example.com/> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "ftps://"
</del><ins>+PASS Parsing: <ftps:/example.com/> against <http://example.org/foo/bar>
</ins><span class="cx"> PASS Parsing: <gopher:/example.com/> against <http://example.org/foo/bar>
</span><span class="cx"> PASS Parsing: <ws:/example.com/> against <http://example.org/foo/bar>
</span><span class="cx"> PASS Parsing: <wss:/example.com/> against <http://example.org/foo/bar>
</span><span class="cx"> PASS Parsing: <data:/example.com/> against <http://example.org/foo/bar>
</span><span class="cx"> PASS Parsing: <javascript:/example.com/> against <http://example.org/foo/bar>
</span><del>-FAIL Parsing: <mailto:/example.com/> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "mailto://"
</del><ins>+PASS Parsing: <mailto:/example.com/> against <http://example.org/foo/bar>
</ins><span class="cx"> PASS Parsing: <http:example.com/> against <http://example.org/foo/bar>
</span><span class="cx"> PASS Parsing: <ftp:example.com/> against <http://example.org/foo/bar>
</span><span class="cx"> PASS Parsing: <https:example.com/> against <http://example.org/foo/bar>
</span><del>-FAIL Parsing: <madeupscheme:example.com/> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "madeupscheme://"
-FAIL Parsing: <ftps:example.com/> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "ftps://"
</del><ins>+PASS Parsing: <madeupscheme:example.com/> against <http://example.org/foo/bar>
+PASS Parsing: <ftps:example.com/> against <http://example.org/foo/bar>
</ins><span class="cx"> PASS Parsing: <gopher:example.com/> against <http://example.org/foo/bar>
</span><span class="cx"> PASS Parsing: <ws:example.com/> against <http://example.org/foo/bar>
</span><span class="cx"> PASS Parsing: <wss:example.com/> against <http://example.org/foo/bar>
</span><span class="cx"> PASS Parsing: <data:example.com/> against <http://example.org/foo/bar>
</span><span class="cx"> PASS Parsing: <javascript:example.com/> against <http://example.org/foo/bar>
</span><del>-FAIL Parsing: <mailto:example.com/> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "mailto://"
</del><ins>+PASS Parsing: <mailto:example.com/> against <http://example.org/foo/bar>
</ins><span class="cx"> PASS Parsing: </a/b/c> against <http://example.org/foo/bar>
</span><span class="cx"> PASS Parsing: </a/ /c> against <http://example.org/foo/bar>
</span><span class="cx"> PASS Parsing: </a%2fc> against <http://example.org/foo/bar>
</span><span class="lines">@@ -95,7 +95,7 @@
</span><span class="cx"> PASS Parsing: </a/%2f/c> against <http://example.org/foo/bar>
</span><span class="cx"> FAIL Parsing: <#β> against <http://example.org/foo/bar> assert_equals: href expected "http://example.org/foo/bar#β" but got "http://example.org/foo/bar#%CE%B2"
</span><span class="cx"> PASS Parsing: <data:text/html,test#test> against <http://example.org/foo/bar>
</span><del>-FAIL Parsing: <tel:1234567890> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "tel://"
</del><ins>+PASS Parsing: <tel:1234567890> against <http://example.org/foo/bar>
</ins><span class="cx"> PASS Parsing: <file:c:\foo\bar.html> against <file:///tmp/mock/path>
</span><span class="cx"> PASS Parsing: < File:c|////foo\bar.html> against <file:///tmp/mock/path>
</span><span class="cx"> PASS Parsing: <C|/foo/bar> against <file:///tmp/mock/path>
</span><span class="lines">@@ -164,7 +164,7 @@
</span><span class="cx"> PASS Parsing: <http:\\www.google.com\foo> against <about:blank>
</span><span class="cx"> PASS Parsing: <http://foo:80/> against <about:blank>
</span><span class="cx"> PASS Parsing: <http://foo:81/> against <about:blank>
</span><del>-FAIL Parsing: <httpa://foo:80/> against <about:blank> assert_equals: origin expected "null" but got "httpa://foo:80"
</del><ins>+PASS Parsing: <httpa://foo:80/> against <about:blank>
</ins><span class="cx"> PASS Parsing: <http://foo:-80/> against <about:blank>
</span><span class="cx"> PASS Parsing: <https://foo:443/> against <about:blank>
</span><span class="cx"> PASS Parsing: <https://foo:80/> against <about:blank>
</span><span class="lines">@@ -183,26 +183,26 @@
</span><span class="cx"> PASS Parsing: <http:/example.com/> against <about:blank>
</span><span class="cx"> PASS Parsing: <ftp:/example.com/> against <about:blank>
</span><span class="cx"> PASS Parsing: <https:/example.com/> against <about:blank>
</span><del>-FAIL Parsing: <madeupscheme:/example.com/> against <about:blank> assert_equals: origin expected "null" but got "madeupscheme://"
</del><ins>+PASS Parsing: <madeupscheme:/example.com/> against <about:blank>
</ins><span class="cx"> PASS Parsing: <file:/example.com/> against <about:blank>
</span><del>-FAIL Parsing: <ftps:/example.com/> against <about:blank> assert_equals: origin expected "null" but got "ftps://"
</del><ins>+PASS Parsing: <ftps:/example.com/> against <about:blank>
</ins><span class="cx"> PASS Parsing: <gopher:/example.com/> against <about:blank>
</span><span class="cx"> PASS Parsing: <ws:/example.com/> against <about:blank>
</span><span class="cx"> PASS Parsing: <wss:/example.com/> against <about:blank>
</span><span class="cx"> PASS Parsing: <data:/example.com/> against <about:blank>
</span><span class="cx"> PASS Parsing: <javascript:/example.com/> against <about:blank>
</span><del>-FAIL Parsing: <mailto:/example.com/> against <about:blank> assert_equals: origin expected "null" but got "mailto://"
</del><ins>+PASS Parsing: <mailto:/example.com/> against <about:blank>
</ins><span class="cx"> PASS Parsing: <http:example.com/> against <about:blank>
</span><span class="cx"> PASS Parsing: <ftp:example.com/> against <about:blank>
</span><span class="cx"> PASS Parsing: <https:example.com/> against <about:blank>
</span><del>-FAIL Parsing: <madeupscheme:example.com/> against <about:blank> assert_equals: origin expected "null" but got "madeupscheme://"
-FAIL Parsing: <ftps:example.com/> against <about:blank> assert_equals: origin expected "null" but got "ftps://"
</del><ins>+PASS Parsing: <madeupscheme:example.com/> against <about:blank>
+PASS Parsing: <ftps:example.com/> against <about:blank>
</ins><span class="cx"> PASS Parsing: <gopher:example.com/> against <about:blank>
</span><span class="cx"> PASS Parsing: <ws:example.com/> against <about:blank>
</span><span class="cx"> PASS Parsing: <wss:example.com/> against <about:blank>
</span><span class="cx"> PASS Parsing: <data:example.com/> against <about:blank>
</span><span class="cx"> PASS Parsing: <javascript:example.com/> against <about:blank>
</span><del>-FAIL Parsing: <mailto:example.com/> against <about:blank> assert_equals: origin expected "null" but got "mailto://"
</del><ins>+PASS Parsing: <mailto:example.com/> against <about:blank>
</ins><span class="cx"> PASS Parsing: <http:@www.example.com> against <about:blank>
</span><span class="cx"> PASS Parsing: <http:/@www.example.com> against <about:blank>
</span><span class="cx"> PASS Parsing: <http://@www.example.com> against <about:blank>
</span><span class="lines">@@ -261,7 +261,7 @@
</span><span class="cx"> PASS Parsing: <http://%ef%bc%85%ef%bc%94%ef%bc%91.com> against <http://other.com/>
</span><span class="cx"> PASS Parsing: <http://%00.com> against <http://other.com/>
</span><span class="cx"> PASS Parsing: <http://%ef%bc%85%ef%bc%90%ef%bc%90.com> against <http://other.com/>
</span><del>-FAIL Parsing: <http://你好你好> against <http://other.com/> assert_equals: origin expected "http://你好你好" but got "http://xn--6qqa088eba"
</del><ins>+PASS Parsing: <http://你好你好> against <http://other.com/>
</ins><span class="cx"> PASS Parsing: <http://%zz%66%a.com> against <http://other.com/>
</span><span class="cx"> PASS Parsing: <http://%25> against <http://other.com/>
</span><span class="cx"> PASS Parsing: <http://hello%00> against <http://other.com/>
</span><span class="lines">@@ -273,11 +273,11 @@
</span><span class="cx"> PASS Parsing: <http://0Xc0.0250.01> against <http://other.com/>
</span><span class="cx"> PASS Parsing: <http://[google.com]> against <http://other.com/>
</span><span class="cx"> PASS Parsing: <http://foo:💩@example.com/bar> against <http://other.com/>
</span><del>-FAIL Parsing: <#> against <test:test> assert_equals: origin expected "null" but got "test://"
-FAIL Parsing: <#x> against <mailto:x@x.com> assert_equals: origin expected "null" but got "mailto://"
</del><ins>+PASS Parsing: <#> against <test:test>
+PASS Parsing: <#x> against <mailto:x@x.com>
</ins><span class="cx"> PASS Parsing: <#x> against <data:,>
</span><span class="cx"> PASS Parsing: <#x> against <about:blank>
</span><del>-FAIL Parsing: <#> against <test:test?test> assert_equals: origin expected "null" but got "test://"
</del><ins>+PASS Parsing: <#> against <test:test?test>
</ins><span class="cx"> PASS Parsing: <https://@test@test@example:800/> against <http://doesnotmatter/>
</span><span class="cx"> PASS Parsing: <https://@@@example> against <http://doesnotmatter/>
</span><span class="cx"> PASS Parsing: <http://`{}:`{}@h/`{}?`{}> against <http://doesnotmatter/>
</span><span class="lines">@@ -286,36 +286,36 @@
</span><span class="cx"> PASS Parsing: </some/path> against <http://user:pass@example.org:21/smth>
</span><span class="cx"> PASS Parsing: <i> against <sc:sd>
</span><span class="cx"> PASS Parsing: <i> against <sc:sd/sd>
</span><del>-FAIL Parsing: <i> against <sc:/pa/pa> assert_equals: origin expected "null" but got "sc://"
-FAIL Parsing: <i> against <sc://ho/pa> assert_equals: origin expected "null" but got "sc://ho"
-FAIL Parsing: <i> against <sc:///pa/pa> assert_equals: origin expected "null" but got "sc://"
</del><ins>+PASS Parsing: <i> against <sc:/pa/pa>
+PASS Parsing: <i> against <sc://ho/pa>
+FAIL Parsing: <i> against <sc:///pa/pa> assert_equals: pathname expected "/pa/i" but got "///pa/i"
</ins><span class="cx"> PASS Parsing: <../i> against <sc:sd>
</span><span class="cx"> PASS Parsing: <../i> against <sc:sd/sd>
</span><del>-FAIL Parsing: <../i> against <sc:/pa/pa> assert_equals: origin expected "null" but got "sc://"
-FAIL Parsing: <../i> against <sc://ho/pa> assert_equals: origin expected "null" but got "sc://ho"
-FAIL Parsing: <../i> against <sc:///pa/pa> assert_equals: origin expected "null" but got "sc://"
</del><ins>+PASS Parsing: <../i> against <sc:/pa/pa>
+PASS Parsing: <../i> against <sc://ho/pa>
+FAIL Parsing: <../i> against <sc:///pa/pa> assert_equals: pathname expected "/i" but got "///i"
</ins><span class="cx"> PASS Parsing: </i> against <sc:sd>
</span><span class="cx"> PASS Parsing: </i> against <sc:sd/sd>
</span><del>-FAIL Parsing: </i> against <sc:/pa/pa> assert_equals: origin expected "null" but got "sc://"
-FAIL Parsing: </i> against <sc://ho/pa> assert_equals: origin expected "null" but got "sc://ho"
</del><ins>+PASS Parsing: </i> against <sc:/pa/pa>
+PASS Parsing: </i> against <sc://ho/pa>
</ins><span class="cx"> FAIL Parsing: </i> against <sc:///pa/pa> assert_equals: href expected "sc:///i" but got "sc:/i"
</span><span class="cx"> PASS Parsing: <?i> against <sc:sd>
</span><span class="cx"> PASS Parsing: <?i> against <sc:sd/sd>
</span><del>-FAIL Parsing: <?i> against <sc:/pa/pa> assert_equals: origin expected "null" but got "sc://"
-FAIL Parsing: <?i> against <sc://ho/pa> assert_equals: origin expected "null" but got "sc://ho"
-FAIL Parsing: <?i> against <sc:///pa/pa> assert_equals: origin expected "null" but got "sc://"
-FAIL Parsing: <#i> against <sc:sd> assert_equals: origin expected "null" but got "sc://"
-FAIL Parsing: <#i> against <sc:sd/sd> assert_equals: origin expected "null" but got "sc://"
-FAIL Parsing: <#i> against <sc:/pa/pa> assert_equals: origin expected "null" but got "sc://"
-FAIL Parsing: <#i> against <sc://ho/pa> assert_equals: origin expected "null" but got "sc://ho"
-FAIL Parsing: <#i> against <sc:///pa/pa> assert_equals: origin expected "null" but got "sc://"
</del><ins>+PASS Parsing: <?i> against <sc:/pa/pa>
+PASS Parsing: <?i> against <sc://ho/pa>
+FAIL Parsing: <?i> against <sc:///pa/pa> assert_equals: pathname expected "/pa/pa" but got "///pa/pa"
+PASS Parsing: <#i> against <sc:sd>
+PASS Parsing: <#i> against <sc:sd/sd>
+PASS Parsing: <#i> against <sc:/pa/pa>
+PASS Parsing: <#i> against <sc://ho/pa>
+FAIL Parsing: <#i> against <sc:///pa/pa> assert_equals: pathname expected "/pa/pa" but got "///pa/pa"
</ins><span class="cx"> PASS Parsing: <about:/../> against <about:blank>
</span><span class="cx"> PASS Parsing: <data:/../> against <about:blank>
</span><span class="cx"> PASS Parsing: <javascript:/../> against <about:blank>
</span><del>-FAIL Parsing: <mailto:/../> against <about:blank> assert_equals: origin expected "null" but got "mailto://"
</del><ins>+PASS Parsing: <mailto:/../> against <about:blank>
</ins><span class="cx"> FAIL Parsing: <sc://ñ.test/> against <about:blank> assert_equals: href expected "sc://xn--ida.test/" but got "sc://%C3%B1.test/"
</span><del>-FAIL Parsing: <sc:\../> against <about:blank> assert_equals: origin expected "null" but got "sc://"
-FAIL Parsing: <sc::a@example.net> against <about:blank> assert_equals: origin expected "null" but got "sc://"
</del><ins>+PASS Parsing: <sc:\../> against <about:blank>
+PASS Parsing: <sc::a@example.net> against <about:blank>
</ins><span class="cx"> PASS Parsing: <http://127.0.0.1:10100/relative_import.html> against <about:blank>
</span><span class="cx"> PASS Parsing: <http://facebook.com/?foo=%7B%22abc%22> against <about:blank>
</span><span class="cx"> PASS Parsing: <https://localhost:3000/jqueryui@1.2.3> against <about:blank>
</span><span class="lines">@@ -330,5 +330,5 @@
</span><span class="cx"> PASS Parsing: <??a=b&c=d> against <http://example.org/foo/bar>
</span><span class="cx"> PASS Parsing: <http:> against <http://example.org/foo/bar>
</span><span class="cx"> FAIL Parsing: <http:> against <https://example.org/foo/bar> assert_unreached: Expected URL to fail parsing Reached unreachable code
</span><del>-FAIL Parsing: <sc:> against <https://example.org/foo/bar> assert_equals: origin expected "null" but got "sc://"
</del><ins>+PASS Parsing: <sc:> against <https://example.org/foo/bar>
</ins><span class="cx">
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsurlaelementjs"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/url/a-element.js (208456 => 208457)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/url/a-element.js        2016-11-09 19:37:22 UTC (rev 208456)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/url/a-element.js        2016-11-09 19:40:37 UTC (rev 208457)
</span><span class="lines">@@ -38,9 +38,6 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> assert_equals(url.href, expected.href, "href")
</span><del>- if ("origin" in expected) {
- assert_equals(url.origin, expected.origin, "origin")
- }
</del><span class="cx"> assert_equals(url.protocol, expected.protocol, "protocol")
</span><span class="cx"> assert_equals(url.username, expected.username, "username")
</span><span class="cx"> assert_equals(url.password, expected.password, "password")
</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 (208456 => 208457)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/url/url-constructor-expected.txt        2016-11-09 19:37:22 UTC (rev 208456)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/url/url-constructor-expected.txt        2016-11-09 19:40:37 UTC (rev 208457)
</span><span class="lines">@@ -11,7 +11,7 @@
</span><span class="cx"> PASS Parsing: <         :foo.com
</span><span class="cx"> > against <http://example.org/foo/bar>
</span><span class="cx"> PASS Parsing: < foo.com > against <http://example.org/foo/bar>
</span><del>-FAIL Parsing: <a:         foo.com> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "a://"
</del><ins>+PASS Parsing: <a:         foo.com> against <http://example.org/foo/bar>
</ins><span class="cx"> PASS Parsing: <http://f:21/ b ? d # e > against <http://example.org/foo/bar>
</span><span class="cx"> PASS Parsing: <http://f:/c> against <http://example.org/foo/bar>
</span><span class="cx"> PASS Parsing: <http://f:0/c> against <http://example.org/foo/bar>
</span><span class="lines">@@ -52,12 +52,12 @@
</span><span class="cx"> PASS Parsing: <http://foo.com/\@> against <http://example.org/foo/bar>
</span><span class="cx"> PASS Parsing: <http:\\foo.com\> against <http://example.org/foo/bar>
</span><span class="cx"> PASS Parsing: <http:\\a\b:c\d@foo.com\> against <http://example.org/foo/bar>
</span><del>-FAIL Parsing: <foo:/> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "foo://"
-FAIL Parsing: <foo:/bar.com/> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "foo://"
-FAIL Parsing: <foo://///////> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "foo://"
-FAIL Parsing: <foo://///////bar.com/> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "foo://"
-FAIL Parsing: <foo:////://///> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "foo://"
-FAIL Parsing: <c:/foo> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "c://"
</del><ins>+PASS Parsing: <foo:/> against <http://example.org/foo/bar>
+PASS Parsing: <foo:/bar.com/> against <http://example.org/foo/bar>
+FAIL Parsing: <foo://///////> against <http://example.org/foo/bar> assert_equals: pathname expected "///////" but got "/////////"
+FAIL Parsing: <foo://///////bar.com/> against <http://example.org/foo/bar> assert_equals: pathname expected "///////bar.com/" but got "/////////bar.com/"
+FAIL Parsing: <foo:////://///> against <http://example.org/foo/bar> assert_equals: pathname expected "//://///" but got "////://///"
+PASS Parsing: <c:/foo> against <http://example.org/foo/bar>
</ins><span class="cx"> PASS Parsing: <//foo/bar> against <http://example.org/foo/bar>
</span><span class="cx"> PASS Parsing: <http://foo/path;a??e#f#g> against <http://example.org/foo/bar>
</span><span class="cx"> PASS Parsing: <http://foo/abcd?efgh?ijkl> against <http://example.org/foo/bar>
</span><span class="lines">@@ -73,26 +73,26 @@
</span><span class="cx"> PASS Parsing: <http:/example.com/> against <http://example.org/foo/bar>
</span><span class="cx"> PASS Parsing: <ftp:/example.com/> against <http://example.org/foo/bar>
</span><span class="cx"> PASS Parsing: <https:/example.com/> against <http://example.org/foo/bar>
</span><del>-FAIL Parsing: <madeupscheme:/example.com/> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "madeupscheme://"
</del><ins>+PASS Parsing: <madeupscheme:/example.com/> against <http://example.org/foo/bar>
</ins><span class="cx"> PASS Parsing: <file:/example.com/> against <http://example.org/foo/bar>
</span><del>-FAIL Parsing: <ftps:/example.com/> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "ftps://"
</del><ins>+PASS Parsing: <ftps:/example.com/> against <http://example.org/foo/bar>
</ins><span class="cx"> PASS Parsing: <gopher:/example.com/> against <http://example.org/foo/bar>
</span><span class="cx"> PASS Parsing: <ws:/example.com/> against <http://example.org/foo/bar>
</span><span class="cx"> PASS Parsing: <wss:/example.com/> against <http://example.org/foo/bar>
</span><span class="cx"> PASS Parsing: <data:/example.com/> against <http://example.org/foo/bar>
</span><span class="cx"> PASS Parsing: <javascript:/example.com/> against <http://example.org/foo/bar>
</span><del>-FAIL Parsing: <mailto:/example.com/> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "mailto://"
</del><ins>+PASS Parsing: <mailto:/example.com/> against <http://example.org/foo/bar>
</ins><span class="cx"> PASS Parsing: <http:example.com/> against <http://example.org/foo/bar>
</span><span class="cx"> PASS Parsing: <ftp:example.com/> against <http://example.org/foo/bar>
</span><span class="cx"> PASS Parsing: <https:example.com/> against <http://example.org/foo/bar>
</span><del>-FAIL Parsing: <madeupscheme:example.com/> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "madeupscheme://"
-FAIL Parsing: <ftps:example.com/> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "ftps://"
</del><ins>+PASS Parsing: <madeupscheme:example.com/> against <http://example.org/foo/bar>
+PASS Parsing: <ftps:example.com/> against <http://example.org/foo/bar>
</ins><span class="cx"> PASS Parsing: <gopher:example.com/> against <http://example.org/foo/bar>
</span><span class="cx"> PASS Parsing: <ws:example.com/> against <http://example.org/foo/bar>
</span><span class="cx"> PASS Parsing: <wss:example.com/> against <http://example.org/foo/bar>
</span><span class="cx"> PASS Parsing: <data:example.com/> against <http://example.org/foo/bar>
</span><span class="cx"> PASS Parsing: <javascript:example.com/> against <http://example.org/foo/bar>
</span><del>-FAIL Parsing: <mailto:example.com/> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "mailto://"
</del><ins>+PASS Parsing: <mailto:example.com/> against <http://example.org/foo/bar>
</ins><span class="cx"> PASS Parsing: </a/b/c> against <http://example.org/foo/bar>
</span><span class="cx"> PASS Parsing: </a/ /c> against <http://example.org/foo/bar>
</span><span class="cx"> PASS Parsing: </a%2fc> against <http://example.org/foo/bar>
</span><span class="lines">@@ -99,7 +99,7 @@
</span><span class="cx"> PASS Parsing: </a/%2f/c> against <http://example.org/foo/bar>
</span><span class="cx"> FAIL Parsing: <#β> against <http://example.org/foo/bar> assert_equals: href expected "http://example.org/foo/bar#β" but got "http://example.org/foo/bar#%CE%B2"
</span><span class="cx"> PASS Parsing: <data:text/html,test#test> against <http://example.org/foo/bar>
</span><del>-FAIL Parsing: <tel:1234567890> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "tel://"
</del><ins>+PASS Parsing: <tel:1234567890> against <http://example.org/foo/bar>
</ins><span class="cx"> PASS Parsing: <file:c:\foo\bar.html> against <file:///tmp/mock/path>
</span><span class="cx"> PASS Parsing: < File:c|////foo\bar.html> against <file:///tmp/mock/path>
</span><span class="cx"> PASS Parsing: <C|/foo/bar> against <file:///tmp/mock/path>
</span><span class="lines">@@ -168,7 +168,7 @@
</span><span class="cx"> PASS Parsing: <http:\\www.google.com\foo> against <about:blank>
</span><span class="cx"> PASS Parsing: <http://foo:80/> against <about:blank>
</span><span class="cx"> PASS Parsing: <http://foo:81/> against <about:blank>
</span><del>-FAIL Parsing: <httpa://foo:80/> against <about:blank> assert_equals: origin expected "null" but got "httpa://foo:80"
</del><ins>+PASS Parsing: <httpa://foo:80/> against <about:blank>
</ins><span class="cx"> PASS Parsing: <http://foo:-80/> against <about:blank>
</span><span class="cx"> PASS Parsing: <https://foo:443/> against <about:blank>
</span><span class="cx"> PASS Parsing: <https://foo:80/> against <about:blank>
</span><span class="lines">@@ -187,26 +187,26 @@
</span><span class="cx"> PASS Parsing: <http:/example.com/> against <about:blank>
</span><span class="cx"> PASS Parsing: <ftp:/example.com/> against <about:blank>
</span><span class="cx"> PASS Parsing: <https:/example.com/> against <about:blank>
</span><del>-FAIL Parsing: <madeupscheme:/example.com/> against <about:blank> assert_equals: origin expected "null" but got "madeupscheme://"
</del><ins>+PASS Parsing: <madeupscheme:/example.com/> against <about:blank>
</ins><span class="cx"> PASS Parsing: <file:/example.com/> against <about:blank>
</span><del>-FAIL Parsing: <ftps:/example.com/> against <about:blank> assert_equals: origin expected "null" but got "ftps://"
</del><ins>+PASS Parsing: <ftps:/example.com/> against <about:blank>
</ins><span class="cx"> PASS Parsing: <gopher:/example.com/> against <about:blank>
</span><span class="cx"> PASS Parsing: <ws:/example.com/> against <about:blank>
</span><span class="cx"> PASS Parsing: <wss:/example.com/> against <about:blank>
</span><span class="cx"> PASS Parsing: <data:/example.com/> against <about:blank>
</span><span class="cx"> PASS Parsing: <javascript:/example.com/> against <about:blank>
</span><del>-FAIL Parsing: <mailto:/example.com/> against <about:blank> assert_equals: origin expected "null" but got "mailto://"
</del><ins>+PASS Parsing: <mailto:/example.com/> against <about:blank>
</ins><span class="cx"> PASS Parsing: <http:example.com/> against <about:blank>
</span><span class="cx"> PASS Parsing: <ftp:example.com/> against <about:blank>
</span><span class="cx"> PASS Parsing: <https:example.com/> against <about:blank>
</span><del>-FAIL Parsing: <madeupscheme:example.com/> against <about:blank> assert_equals: origin expected "null" but got "madeupscheme://"
-FAIL Parsing: <ftps:example.com/> against <about:blank> assert_equals: origin expected "null" but got "ftps://"
</del><ins>+PASS Parsing: <madeupscheme:example.com/> against <about:blank>
+PASS Parsing: <ftps:example.com/> against <about:blank>
</ins><span class="cx"> PASS Parsing: <gopher:example.com/> against <about:blank>
</span><span class="cx"> PASS Parsing: <ws:example.com/> against <about:blank>
</span><span class="cx"> PASS Parsing: <wss:example.com/> against <about:blank>
</span><span class="cx"> PASS Parsing: <data:example.com/> against <about:blank>
</span><span class="cx"> PASS Parsing: <javascript:example.com/> against <about:blank>
</span><del>-FAIL Parsing: <mailto:example.com/> against <about:blank> assert_equals: origin expected "null" but got "mailto://"
</del><ins>+PASS Parsing: <mailto:example.com/> against <about:blank>
</ins><span class="cx"> PASS Parsing: <http:@www.example.com> against <about:blank>
</span><span class="cx"> PASS Parsing: <http:/@www.example.com> against <about:blank>
</span><span class="cx"> PASS Parsing: <http://@www.example.com> against <about:blank>
</span><span class="lines">@@ -265,7 +265,7 @@
</span><span class="cx"> PASS Parsing: <http://%ef%bc%85%ef%bc%94%ef%bc%91.com> against <http://other.com/>
</span><span class="cx"> PASS Parsing: <http://%00.com> against <http://other.com/>
</span><span class="cx"> PASS Parsing: <http://%ef%bc%85%ef%bc%90%ef%bc%90.com> against <http://other.com/>
</span><del>-FAIL Parsing: <http://你好你好> against <http://other.com/> assert_equals: origin expected "http://你好你好" but got "http://xn--6qqa088eba"
</del><ins>+PASS Parsing: <http://你好你好> against <http://other.com/>
</ins><span class="cx"> PASS Parsing: <http://%zz%66%a.com> against <http://other.com/>
</span><span class="cx"> PASS Parsing: <http://%25> against <http://other.com/>
</span><span class="cx"> PASS Parsing: <http://hello%00> against <http://other.com/>
</span><span class="lines">@@ -278,11 +278,11 @@
</span><span class="cx"> PASS Parsing: <http://0Xc0.0250.01> against <http://other.com/>
</span><span class="cx"> PASS Parsing: <http://[google.com]> against <http://other.com/>
</span><span class="cx"> PASS Parsing: <http://foo:💩@example.com/bar> against <http://other.com/>
</span><del>-FAIL Parsing: <#> against <test:test> assert_equals: origin expected "null" but got "test://"
-FAIL Parsing: <#x> against <mailto:x@x.com> assert_equals: origin expected "null" but got "mailto://"
</del><ins>+PASS Parsing: <#> against <test:test>
+PASS Parsing: <#x> against <mailto:x@x.com>
</ins><span class="cx"> PASS Parsing: <#x> against <data:,>
</span><span class="cx"> PASS Parsing: <#x> against <about:blank>
</span><del>-FAIL Parsing: <#> against <test:test?test> assert_equals: origin expected "null" but got "test://"
</del><ins>+PASS Parsing: <#> against <test:test?test>
</ins><span class="cx"> PASS Parsing: <https://@test@test@example:800/> against <http://doesnotmatter/>
</span><span class="cx"> PASS Parsing: <https://@@@example> against <http://doesnotmatter/>
</span><span class="cx"> PASS Parsing: <http://`{}:`{}@h/`{}?`{}> against <http://doesnotmatter/>
</span><span class="lines">@@ -291,36 +291,36 @@
</span><span class="cx"> PASS Parsing: </some/path> against <http://user:pass@example.org:21/smth>
</span><span class="cx"> PASS Parsing: <i> against <sc:sd>
</span><span class="cx"> PASS Parsing: <i> against <sc:sd/sd>
</span><del>-FAIL Parsing: <i> against <sc:/pa/pa> assert_equals: origin expected "null" but got "sc://"
-FAIL Parsing: <i> against <sc://ho/pa> assert_equals: origin expected "null" but got "sc://ho"
-FAIL Parsing: <i> against <sc:///pa/pa> assert_equals: origin expected "null" but got "sc://"
</del><ins>+PASS Parsing: <i> against <sc:/pa/pa>
+PASS Parsing: <i> against <sc://ho/pa>
+FAIL Parsing: <i> against <sc:///pa/pa> assert_equals: pathname expected "/pa/i" but got "///pa/i"
</ins><span class="cx"> PASS Parsing: <../i> against <sc:sd>
</span><span class="cx"> PASS Parsing: <../i> against <sc:sd/sd>
</span><del>-FAIL Parsing: <../i> against <sc:/pa/pa> assert_equals: origin expected "null" but got "sc://"
-FAIL Parsing: <../i> against <sc://ho/pa> assert_equals: origin expected "null" but got "sc://ho"
-FAIL Parsing: <../i> against <sc:///pa/pa> assert_equals: origin expected "null" but got "sc://"
</del><ins>+PASS Parsing: <../i> against <sc:/pa/pa>
+PASS Parsing: <../i> against <sc://ho/pa>
+FAIL Parsing: <../i> against <sc:///pa/pa> assert_equals: pathname expected "/i" but got "///i"
</ins><span class="cx"> PASS Parsing: </i> against <sc:sd>
</span><span class="cx"> PASS Parsing: </i> against <sc:sd/sd>
</span><del>-FAIL Parsing: </i> against <sc:/pa/pa> assert_equals: origin expected "null" but got "sc://"
-FAIL Parsing: </i> against <sc://ho/pa> assert_equals: origin expected "null" but got "sc://ho"
</del><ins>+PASS Parsing: </i> against <sc:/pa/pa>
+PASS Parsing: </i> against <sc://ho/pa>
</ins><span class="cx"> FAIL Parsing: </i> against <sc:///pa/pa> assert_equals: href expected "sc:///i" but got "sc:/i"
</span><span class="cx"> PASS Parsing: <?i> against <sc:sd>
</span><span class="cx"> PASS Parsing: <?i> against <sc:sd/sd>
</span><del>-FAIL Parsing: <?i> against <sc:/pa/pa> assert_equals: origin expected "null" but got "sc://"
-FAIL Parsing: <?i> against <sc://ho/pa> assert_equals: origin expected "null" but got "sc://ho"
-FAIL Parsing: <?i> against <sc:///pa/pa> assert_equals: origin expected "null" but got "sc://"
-FAIL Parsing: <#i> against <sc:sd> assert_equals: origin expected "null" but got "sc://"
-FAIL Parsing: <#i> against <sc:sd/sd> assert_equals: origin expected "null" but got "sc://"
-FAIL Parsing: <#i> against <sc:/pa/pa> assert_equals: origin expected "null" but got "sc://"
-FAIL Parsing: <#i> against <sc://ho/pa> assert_equals: origin expected "null" but got "sc://ho"
-FAIL Parsing: <#i> against <sc:///pa/pa> assert_equals: origin expected "null" but got "sc://"
</del><ins>+PASS Parsing: <?i> against <sc:/pa/pa>
+PASS Parsing: <?i> against <sc://ho/pa>
+FAIL Parsing: <?i> against <sc:///pa/pa> assert_equals: pathname expected "/pa/pa" but got "///pa/pa"
+PASS Parsing: <#i> against <sc:sd>
+PASS Parsing: <#i> against <sc:sd/sd>
+PASS Parsing: <#i> against <sc:/pa/pa>
+PASS Parsing: <#i> against <sc://ho/pa>
+FAIL Parsing: <#i> against <sc:///pa/pa> assert_equals: pathname expected "/pa/pa" but got "///pa/pa"
</ins><span class="cx"> PASS Parsing: <about:/../> against <about:blank>
</span><span class="cx"> PASS Parsing: <data:/../> against <about:blank>
</span><span class="cx"> PASS Parsing: <javascript:/../> against <about:blank>
</span><del>-FAIL Parsing: <mailto:/../> against <about:blank> assert_equals: origin expected "null" but got "mailto://"
</del><ins>+PASS Parsing: <mailto:/../> against <about:blank>
</ins><span class="cx"> FAIL Parsing: <sc://ñ.test/> against <about:blank> assert_equals: href expected "sc://xn--ida.test/" but got "sc://%C3%B1.test/"
</span><del>-FAIL Parsing: <sc:\../> against <about:blank> assert_equals: origin expected "null" but got "sc://"
-FAIL Parsing: <sc::a@example.net> against <about:blank> assert_equals: origin expected "null" but got "sc://"
</del><ins>+PASS Parsing: <sc:\../> against <about:blank>
+PASS Parsing: <sc::a@example.net> against <about:blank>
</ins><span class="cx"> PASS Parsing: <http://127.0.0.1:10100/relative_import.html> against <about:blank>
</span><span class="cx"> PASS Parsing: <http://facebook.com/?foo=%7B%22abc%22> against <about:blank>
</span><span class="cx"> PASS Parsing: <https://localhost:3000/jqueryui@1.2.3> against <about:blank>
</span><span class="lines">@@ -336,5 +336,5 @@
</span><span class="cx"> PASS Parsing: <http:> against <http://example.org/foo/bar>
</span><span class="cx"> FAIL Parsing: <http:> against <https://example.org/foo/bar> assert_throws: function "function () {
</span><span class="cx"> bURL(expected.input, expected.bas..." did not throw
</span><del>-FAIL Parsing: <sc:> against <https://example.org/foo/bar> assert_equals: origin expected "null" but got "sc://"
</del><ins>+PASS Parsing: <sc:> against <https://example.org/foo/bar>
</ins><span class="cx">
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsurlurlconstructorhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/url/url-constructor.html (208456 => 208457)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/url/url-constructor.html        2016-11-09 19:37:22 UTC (rev 208456)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/url/url-constructor.html        2016-11-09 19:40:37 UTC (rev 208457)
</span><span class="lines">@@ -37,9 +37,6 @@
</span><span class="cx">
</span><span class="cx"> var url = bURL(expected.input, expected.base)
</span><span class="cx"> assert_equals(url.href, expected.href, "href")
</span><del>- if ("origin" in expected) {
- assert_equals(url.origin, expected.origin, "origin")
- }
</del><span class="cx"> assert_equals(url.protocol, expected.protocol, "protocol")
</span><span class="cx"> assert_equals(url.username, expected.username, "username")
</span><span class="cx"> assert_equals(url.password, expected.password, "password")
</span></span></pre>
</div>
</div>
</body>
</html>