[Webkit-unassigned] [Bug 37496] Add URL scheme parsing tests

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 14 08:41:58 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=37496





--- Comment #5 from Adam Barth <abarth at webkit.org>  2010-04-14 08:41:57 PST ---
> That would mean testing a code path that should never be taken.

There might be another API that takes strings and parses them as absolute URLs,
or if there isn't one today, we could well invent one tomorrow.

> It seems better
> to just test that this code path is never taken by verifying that such URLs are
> parsed as relative.

We can certainly test that if you like.  The intent of this test is to test the
URL parser, not the HTMLAnchorElement.href API.  We're just using the href API
as a convenient way to get at the URL parser.

-- 
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