mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-22 01:35:35 +00:00
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:
parent
669e1b4c27
commit
39e22f3104
@ -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();`)
|
||||
|
Loading…
Reference in New Issue
Block a user