[Webkit-unassigned] [Bug 46982] New: Setting href protocol attribute on malformed URL is incorrect when page is served over HTTP
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Oct 1 07:04:26 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=46982
Summary: Setting href protocol attribute on malformed URL is
incorrect when page is served over HTTP
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: P2
Component: WebCore Misc.
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: steveblock at google.com
CC: yael.aharon at nokia.com
LayoutTest fast/dom/HTMLAnchorElement/set-href-attribute-protocol.html tests setting the protocol attribute of the href of an anchor element.
A particular part of this test is as follows ...
debug("Set protocol to http on malformed URL");
a.href = "foo:??bar";
a.protocol = "http";
shouldBe("a.href", "'http:??bar'");
I noticed that when the test is served over HTTP, rather than as a file:// URL as is currently the case, this test fails as follows ...
Chromium (including ToT WebKit): FAIL - http://host/??bar
Safari (including ToT WebKit) : FAIL - http://host/path??bar
Android (including ToT WebKit) : FAIL - http://host/path??bar
The test passes on recent versions of FF and IE. A test case, which duplicates the existing test as an HTTP test, is attached.
The spec - http://dev.w3.org/html5/spec/urls.html - suggests that the expected result in the test is correct irrespective of the scheme over which the page is served, so it looks to me like this should be fixed.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list