Bug 1514212: Global var-declarations are only configurable on nightly. r=jorendorff

This commit is contained in:
André Bargull 2018-12-14 06:35:03 -08:00
parent 25a593d03e
commit 6d7530556c

View File

@ -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) {