Re: ACTION-103 Follow up on the about: scheme Registration

Krzysztof Maczyński wrote:
>> "about:blank" MUST return a resource of zero length, containing no
>> data, with the media type "text/html"
> This seems to be an invalid document for that MIME type. Either
> something should be put in (and something that's a Rec by the time it
> becomes an RFC) or the type changed to text/plain;charset=UTF-8. I
> believe the latter to be preferable.

It has to be done this way for compatibility, as scripts depend on 
browsers treating about:blank as an HTML document in quirks mode.

e.g. sites that use this:

   <iframe src="about:blank"></iframe>

And then add content to the document with scripts.

Lachlan Hunt - Opera Software

Received on Friday, 18 September 2009 23:29:29 UTC