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

Unified Diff: test/mjsunit/regress/regress-5783.js

Issue 2603783003: Fix SealHandleScope usage in runtime-classes.cc (Closed)
Patch Set: Created 4 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
« no previous file with comments | « src/runtime/runtime-classes.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-5783.js
diff --git a/test/message/function-sent-escaped.js b/test/mjsunit/regress/regress-5783.js
similarity index 55%
copy from test/message/function-sent-escaped.js
copy to test/mjsunit/regress/regress-5783.js
index aa17258f854a96a65617feb572389464677a81ce..828bb3dc56f1e1d609f5178f5f1e3b97db97510b 100644
--- a/test/message/function-sent-escaped.js
+++ b/test/mjsunit/regress/regress-5783.js
@@ -1,10 +1,8 @@
// 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-function-sent
-function* f() {
- return function.s\u0065nt;
-}
-for (var i of f()) print(i);
+class C {}
+class D extends C { constructor(...args) { super(...args, 75) } }
+D.__proto__ = null;
+assertThrows(() => new D(), TypeError);
« no previous file with comments | « src/runtime/runtime-classes.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698