Bug 1416337 - Fix bug 1298809's test to function correctly on beta/release. r=evilpie

--HG--
extra : rebase_source : a07772569667e0a08870f0b980559f6d2a8113e9
This commit is contained in:
Jeff Walden 2017-11-23 12:52:33 -05:00
parent 669e1b4c27
commit 39e22f3104

View File

@ -1,8 +1,11 @@
if (getBuildConfiguration().release_or_beta) {
eval(`
function f() {
// The expression closure is deliberate here, testing the semicolon after
// one when it appears as a FunctionDeclaration from B.3.4
// FunctionDeclarations in IfStatement Statement Clauses.
if (0)
function g() { x };
function g() x;
else;
}
f();`)