Summary: | Get rid of WebCore::URLString | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Benjamin Poulain <benjamin> | ||||
Component: | WebCore Misc. | Assignee: | Benjamin Poulain <benjamin> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | abarth | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Benjamin Poulain
2012-02-11 18:09:28 PST
Created attachment 126662 [details]
Patch
Comment on attachment 126662 [details]
Patch
Ok.
WebCore::URLString was something of a dream. :) (In reply to comment #3) > WebCore::URLString was something of a dream. :) I think we need a stronger concept for WTF::URLString. I would like the class to enforce the URL is well formed. Invalid URLs crawling as String keep me up at night. What is your opinion? Committed r107497: <http://trac.webkit.org/changeset/107497> Yeah, the goal of WebCore::URLString was to keep track of which Strings were actually legitimate/canonicalized URLs. There was going to a companion class called ParsedURL which would let you extract the various components of a parsed URL (i.e., what KURL can do for you). We were going to use URLString when the storage overhead of remembering the segmentation of the URL was more costly than just recomputing it as needed. |