Re: XSS mitigation in browsers

I thought the question was 'if scripting is disabled by a faulty
policy, your registered event handler won't run'. Did I misunderstand
it ?

-devdatta




On 22 January 2011 01:12, Adam Barth <w3c@adambarth.com> wrote:
> On Sat, Jan 22, 2011 at 12:59 AM, Devdatta Akhawe <dev.akhawe@gmail.com> wrote:
>>> If the CSP policy disables all script, how will the script run which detects
>>> the event of a policy violation and reports it?
>>
>> Don't do that :). I mean, that is a problem with Adam's original proposal too.
>
> Not really.  You just need to register for the events before including
> the <meta> element.
>
> Adam
>

Received on Saturday, 22 January 2011 09:21:55 UTC