[webkit-dev] Leading new-line in dataTransfer.setData
Ian Hickson
ian at hixie.ch
Tue Mar 23 01:44:15 PDT 2010
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. `._.-(,_..'--(,_..'`-.;.'
More information about the webkit-dev
mailing list