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

Unified Diff: test/webkit/const-without-initializer.js

Issue 1571873004: Ship ES2015 sloppy-mode const semantics (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Associate with --harmony-shipping Created 4 years, 11 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/test262/test262.status ('k') | test/webkit/constant-count.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/webkit/const-without-initializer.js
diff --git a/test/webkit/const-without-initializer.js b/test/webkit/const-without-initializer.js
index 9eb036522a05920b2c1441b387002f91811d1752..b1a86b9629ace60538416e5df3001949f71f0e40 100644
--- a/test/webkit/const-without-initializer.js
+++ b/test/webkit/const-without-initializer.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: --legacy-const
+
description(
'Tests that declaring a const variable without initializing has the correct behavior and does not crash'
);
« no previous file with comments | « test/test262/test262.status ('k') | test/webkit/constant-count.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698