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.
-Boris
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss