On Tue, 23 Mar 2010, Roland Steiner wrote:
>
> Hm, but the first line could also be a comment (starting with '#') which 
> Mozilla also skips. IOW, I read the spec as "return the first line that 
> is a (valid) URL". But of course I could be convinced otherwise...

The empty string is a valid URL.

However, I agree that RFC2483 doesn't define the parsing very well. I 
regret trying to be clever by reusing that type instead of just punting on 
the whole MIME type thing and allowing URL to be a single URL as in IE.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to