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

Unified Diff: test/mjsunit/es6/proxies-accesschecks.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/es6/proxies-accesschecks.js
diff --git a/test/mjsunit/es6/proxies-accesschecks.js b/test/mjsunit/es6/proxies-accesschecks.js
index f5b90dcb083d87b5ea722b0f98860219a08ca930..47dae0dbb50b9b0263ab7904519b4ee2ca322390 100644
--- a/test/mjsunit/es6/proxies-accesschecks.js
+++ b/test/mjsunit/es6/proxies-accesschecks.js
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+// Flags: --restricted-realms
+
var realm = Realm.create();
this.__proto__ = new Proxy({}, {

Powered by Google App Engine
This is Rietveld 408576698