revive let blocks

Rick Waldron waldron.rick at gmail.com
Thu Jun 18 19:56:32 UTC 2015


On Thu, Jun 18, 2015 at 12:55 PM Boris Zbarsky <bzbarsky at mit.edu> wrote:

> On 6/18/15 11:30 AM, Rick Waldron wrote:
> > Strange, this works in the console, but not in a script
> > https://i.gyazo.com/e55d26495c3fe8b01938fe1b99664682.png
>
> Yep, it's entirely possible the console opts in to let.
>
> It also exposes some APIs that are not exposed in web pages by default
> and a few other interesting things like that...  Evaluating things in
> the console and in the currently loaded web page are _almost_ the same,
> but not quite.
>
> In addition, in the particular screenshot you have there the currently
> loaded page is the Firefox start page, which is not exactly a normal web
> page either, so may have its own interesting things going on with both
> the script environment and its global.
>

That's interesting, thanks for the follow up!

Rick


>
> -Boris
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20150618/95e56c05/attachment.html>


More information about the es-discuss mailing list