Index: test/mjsunit/realm-property-access.js |
diff --git a/test/mjsunit/realm-property-access.js b/test/mjsunit/realm-property-access.js |
index 679886d66a8a81d5b163ea9070fdafb268e98280..a95d9852c7ef8a74aa01e7a2d6ff257ae774436e 100644 |
--- a/test/mjsunit/realm-property-access.js |
+++ b/test/mjsunit/realm-property-access.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 r = Realm.create(); |
var f = Realm.eval(r, "function f() { return this }; f()"); |
assertEquals(f, Realm.global(r)); |