[webkit-dev] Best way to disable JavaScript

Jochen Eisinger jochen at chromium.org
Mon Mar 18 10:02:40 PDT 2013


On Mon, Mar 18, 2013 at 9:49 AM, Elliott Sprehn <esprehn at chromium.org>wrote:

>
> On Sun, Mar 17, 2013 at 8:26 PM, Geoffrey Garen <ggaren at apple.com> wrote:
>
>> ...
>>
>> There are problems with mode (2):
>>
>> * It breaks features that are implemented in JavaScript.
>>
>> The Web Inspector, bookmarklets, extensions, Safari Reader, and Safari
>> autofill all run JavaScript. This means that they break when users disable
>> JavaScript.
>>
>>
> The web inspector works even with JS disabled in Safari (I filed the very
> first bug about this actually back when it crashed :)) and I just tested
> and Reader works fine too.
>
> Are there any examples of browser provided UI that actually breaks with JS
> disabled? I'm pretty sure those all run in different worlds.
>

in chromium, e.g. the ftp directory listing is generating by javascript
running on the page in the main world (so we whitelist directory listings
for javascript blocking)

-jochen


> - E
>
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20130318/53d98fd5/attachment.html>


More information about the webkit-dev mailing list