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

Unified Diff: test/preparser/strict-function-statement.pyt

Issue 788773003: Update tests in preparation for shipping classes. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 6 years 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
Index: test/preparser/strict-function-statement.pyt
diff --git a/test/preparser/strict-function-statement.pyt b/test/preparser/strict-function-statement.pyt
index 5542ee175942a2053ecdd9dead407b9ed1c9c096..cc3d7bb582ff8108133a76b19fd7f2ac439ec808 100644
--- a/test/preparser/strict-function-statement.pyt
+++ b/test/preparser/strict-function-statement.pyt
@@ -31,7 +31,10 @@
# scopes (global scope, function scope, and nested function scope).
def StrictTest(name, source, legacy):
if legacy:
- extra_flags = ["--noharmony-scoping"]
+ extra_flags = [
+ "--noharmony-scoping",
+ "--noharmony-classes",
+ "--noharmony-object-literals"]
else:
extra_flags = []
Test(name, '"use strict";\n' + source, "strict_function",

Powered by Google App Engine
This is Rietveld 408576698