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

Unified Diff: test/mjsunit/harmony/async-await-throw-loop.js

Issue 2348403003: Revert of Fix async/await memory leak (Closed)
Patch Set: Created 4 years, 3 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
Index: test/mjsunit/harmony/async-await-throw-loop.js
diff --git a/test/mjsunit/harmony/async-await-throw-loop.js b/test/mjsunit/harmony/async-await-throw-loop.js
deleted file mode 100644
index 15ad09da1731b1bd5121549a972938960ea86c51..0000000000000000000000000000000000000000
--- a/test/mjsunit/harmony/async-await-throw-loop.js
+++ /dev/null
@@ -1,23 +0,0 @@
-// Copyright 2016 the V8 project authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-// Flags: --harmony-async-await --allow-natives-syntax --max-old-space-size 3
-
-let out;
-
-async function thrower() { throw undefined; }
-
-async function throwLoop() {
- for (let i = 0; i < 8000; i++) {
- try { await thrower(); }
- catch (e) {}
- }
- out = 2;
-}
-
-throwLoop();
-
-%RunMicrotasks();
-
-assertEquals(2, out);
« no previous file with comments | « test/mjsunit/harmony/async-await-loop.js ('k') | test/mjsunit/harmony/debug-async-function-async-task-event.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698