summaryrefslogtreecommitdiff
path: root/test/built-ins/Proxy/get-fn-realm.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Proxy/get-fn-realm.js')
-rw-r--r--test/built-ins/Proxy/get-fn-realm.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/built-ins/Proxy/get-fn-realm.js b/test/built-ins/Proxy/get-fn-realm.js
index 08968ff92..922a6ffd0 100644
--- a/test/built-ins/Proxy/get-fn-realm.js
+++ b/test/built-ins/Proxy/get-fn-realm.js
@@ -22,6 +22,8 @@ features: [cross-realm]
var other = $262.createRealm().global;
var C = new other.Function();
// Ensure that the proxy does not report a `prototype` property
-var P = new Proxy(C, { get: function() {} });
+var P = new Proxy(C, {
+ get: function() {}
+});
assert.sameValue(Object.getPrototypeOf(new P()), other.Object.prototype);