mirror of
https://github.com/roytam1/palemoon27.git
synced 2026-05-29 10:32:23 +00:00
Fix test catch for let in versionless HTML script tags.
This commit is contained in:
@@ -118,7 +118,7 @@ function report(testName, success) {
|
||||
eval("let x = 1;");
|
||||
var success = true;
|
||||
}
|
||||
catch (e) { success = true; }
|
||||
catch (e) { success = false; }
|
||||
is(success, true, "let should work in versionless HTML script tags");
|
||||
]]></script>
|
||||
</pre>
|
||||
|
||||
Reference in New Issue
Block a user