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

Unified Diff: test/mjsunit/lookup-behind-property.js

Issue 2034083002: Don't compile functions in a context the caller doesn't have access to (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: updates Created 4 years, 6 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/lookup-behind-property.js
diff --git a/test/mjsunit/lookup-behind-property.js b/test/mjsunit/lookup-behind-property.js
index abf1a52fbcca4c2b0501168a1519531e675556a7..9af3715353695f70206ac97b6fe9d4477a743ce9 100644
--- a/test/mjsunit/lookup-behind-property.js
+++ b/test/mjsunit/lookup-behind-property.js
@@ -2,5 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+// Flags: --restricted-realms
+
var g = Realm.global(Realm.create());
assertThrows(()=>g.toString());

Powered by Google App Engine
This is Rietveld 408576698