Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(93)

Unified Diff: test/webkit/fast/js/parser-syntax-check.js

Issue 1799233003: Ship ES2015 restrictions on function declaration locations (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebase Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/mjsunit/regress/regress-542100.js ('k') | test/webkit/function-declaration-statement.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/webkit/fast/js/parser-syntax-check.js
diff --git a/test/webkit/fast/js/parser-syntax-check.js b/test/webkit/fast/js/parser-syntax-check.js
index a3fef13474c7ac94b8d6ef53f2da1f2c3387d6c3..c00374506db2505a421e207fce272112e04c6e9d 100644
--- a/test/webkit/fast/js/parser-syntax-check.js
+++ b/test/webkit/fast/js/parser-syntax-check.js
@@ -21,6 +21,8 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+// Flags: --no-harmony-restrictive-declarations
+
description(
"This test checks that the following expressions or statements are valid ECMASCRIPT code or should throw parse error"
);
« no previous file with comments | « test/mjsunit/regress/regress-542100.js ('k') | test/webkit/function-declaration-statement.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698