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

On 10/12/07, Simon Pieters <simonp@opera.com> wrote:
>
>  Consider the following:
>
>    <script src=javascript:"alert(1)"></script>
>
>  In Firefox, Opera, Safari and IE, the script of the resulting text/html
> document "alert(1)" is not executed. The spec should reflect this (probably
> in the "The javascript: protocol" section).
>

How is:-

"alert(1)"

a text/html document?

What it looks like is a string value in a javascript: pseudo url.

Garrett

>  --
>  Simon Pieters
>  Opera Software
>
>

Received on Tuesday, 12 August 2008 06:53:30 UTC