mirror of
https://github.com/roytam1/palemoon27.git
synced 2026-06-06 08:29:08 +00:00
Remove let blocks in js tests
This commit is contained in:
@@ -55,7 +55,7 @@ BEGIN_TEST(test_enclosingFunction)
|
||||
EXEC("s2()()");
|
||||
CHECK(foundFun == fun);
|
||||
|
||||
const char s3chars[] = "return function() { let (x) { function g() { checkEnclosing() } return g() } }";
|
||||
const char s3chars[] = "return function() { { let x; function g() { checkEnclosing() } return g() } }";
|
||||
CHECK(JS::CompileFunction(cx, emptyScopeChain, options, "s3", 0, nullptr, s3chars,
|
||||
strlen(s3chars), &fun));
|
||||
CHECK(fun);
|
||||
|
||||
Reference in New Issue
Block a user