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

Just goes to show what I know. :)

If other @src's allow javascript:, why *wouldn't* we allow it in <script>?

J.Ja

> -----Original Message-----
> From: Boris Zbarsky [mailto:bzbarsky@MIT.EDU]
> Sent: Monday, August 11, 2008 2:01 PM
> To: Justin James
> Cc: 'Toby A Inkster'; public-html@w3.org
> Subject: Re: <script src=javascript:"..."> should do nothing
> 
> Justin James wrote:
> > I agree, it would be much more consistent for a javascript: protocol
> item in
> > the src to be executed as JavaScript. In fact, I would content that:
> >
> > <img src="javascript:..." />
> >
> > should be allowed
> 
> So do a number of other people.  And the current HTML5 draft allows it.
>   So I'm not sure what the problem is, exactly.
> 
> -Boris

Received on Monday, 11 August 2008 18:10:53 UTC