[Webkit-unassigned] [Bug 76816] Implement the URL decomposition IDL attributes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 28 02:59:53 PST 2012


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





--- Comment #29 from Kaustubh Atrawalkar <kaustubh at motorola.com>  2012-02-28 02:59:53 PST ---
In case Host/Port/Search attributes -

Location class has very limited set of attribute setter/getter test cases (as far as I could find). Due to which there is not much checking over the setHost, setPort & setSearch functions. The implementation in HTMLAnchorElement for these functions seems reasonable as there is strict checking added as per the specs in Layout tests (fast/dom/HTMLAnchorElement). setSearch also should replace # with %23 as per the specs for URL manipulation (http://www.whatwg.org/specs/web-apps/current-work/multipage/urls.html#url-manipulation-and-creation) which Location does not implements. So the # in query may leak to hash.
I think we should be able to add these checks and extra code in KURL itself.

I test other attributes with removing extra checks added for HTMLAnchorElement. If you want I can file a bug and provide the patch for same.

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