Re: <script src=javascript:"..."> should do nothing

On Mon, 11 Aug 2008, Boris Zbarsky wrote:
> 
> Justin James wrote:
> > If other @src's allow javascript:, why *wouldn't* we allow it in <script>?
> 
> The spec currently does.

Actually right now the spec specifically says that javascript: in <script 
src=""> does nothing, for compatiblity with existing UAs. (I doubt that 
the three biggest UAs would all ignore javascript: in this one specific 
case if there wasn't content relying on that, so it seems unwise to not 
also require this in the spec.)

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Tuesday, 12 August 2008 00:23:34 UTC