No subject
Tue May 3 15:05:30 PDT 2016
+FAIL Setting <https://example.net?lang=3Den-US#nav>.search =3D '??lang=3Df=
r' assert_equals: expected "https://example.net/??lang=3Dfr#nav" but got "h=
ttps://example.net/?lang=3Dfr#nav"
I noticed today that http://software.hixie.ch/utilities/js/live-dom-viewer/=
saved/5000 has different results in webkit, chromium, and gecko. :-(
<!DOCTYPE html>
<a href id=3Da></a>
<script>
a.search=3D'?';
w(a.href);
a.search=3D'??';
w(a.href);
var u =3D new URL('https://test/');
u.search =3D '?';
w(u.href);
u.search =3D '??';
w(u.href);
</script>
Result in Safari TP:
log: http://software.hixie.ch/utilities/js/live-dom-viewer/?
log: http://software.hixie.ch/utilities/js/live-dom-viewer/?
log: https://test/?
log: https://test/?
Expected (per URL standard and as in Gecko):
log: http://software.hixie.ch/utilities/js/live-dom-viewer/?
log: http://software.hixie.ch/utilities/js/live-dom-viewer/??
log: https://test/?
log: https://test/??
(Issue for chromium which has incorrect behavior for url.search =3D '?' ins=
tead: https://bugs.chromium.org/p/chromium/issues/detail?id=3D682150#c7 )
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--1491321518.Dd7B0.16237
Date: Tue, 4 Apr 2017 08:58:38 -0700
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: https://bugs.webkit.org/
Auto-Submitted: auto-generated
<html>
<head>
<base href=3D"https://bugs.webkit.org/">
</head>
<body><table border=3D"1" cellspacing=3D"0" cellpadding=3D"8">
<tr>
<th>Bug ID</th>
<td><a class=3D"bz_bug_link=20
bz_status_NEW "
title=3D"NEW - Setting url.search=3D"??" (two questionmarks) h=
as incorrect behavior"
href=3D"https://bugs.webkit.org/show_bug.cgi?id=3D170452">170452</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Setting url.search=3D"??" (two questionmarks) has i=
ncorrect behavior
</td>
</tr>
<tr>
<th>Product</th>
<td>WebKit
</td>
</tr>
<tr>
<th>Version</th>
<td>Safari Technology Preview
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Unspecified
</td>
</tr>
<tr>
<th>OS</th>
<td>Unspecified
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>Normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P2
</td>
</tr>
<tr>
<th>Component</th>
<td>WebCore Misc.
</td>
</tr>
<tr>
<th>Assignee</th>
<td>webkit-unassigned@lists.webkit.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>zcorpan@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>From <a class=3D"bz_bug_link=20
bz_status_NEW "
title=3D"NEW - [mac-wk1] LayoutTest imported/w3c/web-platform-tests/url/=
url-setters.html failing"
href=3D"show_bug.cgi?id=3D161191">https://bugs.webkit.org/show_bug.cgi?i=
d=3D161191</a>
+FAIL Setting <<a href=3D"https://example.net?lang=3Den-US#nav">https://=
example.net?lang=3Den-US#nav</a>>.search =3D '??lang=3Dfr' assert_equals=
: expected "<a href=3D"https://example.net/??lang=3Dfr#nav">https://ex=
ample.net/??lang=3Dfr#nav</a>" but got "<a href=3D"https://exampl=
e.net/?lang=3Dfr#nav">https://example.net/?lang=3Dfr#nav</a>"
I noticed today that <a href=3D"http://software.hixie.ch/utilities/js/live-=
dom-viewer/saved/5000">http://software.hixie.ch/utilities/js/live-dom-viewe=
r/saved/5000</a> has different results in webkit, chromium, and gecko. :-(
<!DOCTYPE html>
<a href id=3Da></a>
<script>
a.search=3D'?';
w(a.href);
a.search=3D'??';
w(a.href);
var u =3D new URL('<a href=3D"https://test/">https://test/</a>');
u.search =3D '?';
w(u.href);
u.search =3D '??';
w(u.href);
</script>
Result in Safari TP:
log: <a href=3D"http://software.hixie.ch/utilities/js/live-dom-viewer/">htt=
p://software.hixie.ch/utilities/js/live-dom-viewer/</a>?
log: <a href=3D"http://software.hixie.ch/utilities/js/live-dom-viewer/">htt=
p://software.hixie.ch/utilities/js/live-dom-viewer/</a>?
log: <a href=3D"https://test/">https://test/</a>?
log: <a href=3D"https://test/">https://test/</a>?
Expected (per URL standard and as in Gecko):
log: <a href=3D"http://software.hixie.ch/utilities/js/live-dom-viewer/">htt=
p://software.hixie.ch/utilities/js/live-dom-viewer/</a>?
log: <a href=3D"http://software.hixie.ch/utilities/js/live-dom-viewer/">htt=
p://software.hixie.ch/utilities/js/live-dom-viewer/</a>??
log: <a href=3D"https://test/">https://test/</a>?
log: <a href=3D"https://test/">https://test/</a>??
(Issue for chromium which has incorrect behavior for url.search =3D '?' ins=
tead: <a href=3D"https://bugs.chromium.org/p/chromium/issues/detail?id=3D68=
2150#c7">https://bugs.chromium.org/p/chromium/issues/detail?id=3D682150#c7<=
/a> )</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>=
--1491321518.Dd7B0.16237--
More information about the webkit-unassigned
mailing list