mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 16:25:38 +00:00
Bug 1514212: Global var-declarations are only configurable on nightly. r=jorendorff
This commit is contained in:
parent
25a593d03e
commit
6d7530556c
@ -1,5 +1,6 @@
|
||||
// Global functions are configurable in a browser environment.
|
||||
var functionDeclarationsConfigurable = typeof document !== "undefined";
|
||||
// Global functions are configurable in a browser environment on nightly.
|
||||
var functionDeclarationsConfigurable = typeof document !== "undefined" &&
|
||||
!getBuildConfiguration().release_or_beta;
|
||||
|
||||
var o = { f: "string-f" };
|
||||
with (o) {
|
||||
|
Loading…
Reference in New Issue
Block a user