summaryrefslogtreecommitdiff
path: root/test/built-ins/Function
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Function')
-rw-r--r--test/built-ins/Function/call-bind-this-realm-undef.js2
-rw-r--r--test/built-ins/Function/call-bind-this-realm-value.js2
-rw-r--r--test/built-ins/Function/internals/Call/class-ctor-realm.js2
-rw-r--r--test/built-ins/Function/internals/Construct/base-ctor-revoked-proxy-realm.js2
-rw-r--r--test/built-ins/Function/internals/Construct/derived-return-val-realm.js2
-rw-r--r--test/built-ins/Function/internals/Construct/derived-this-uninitialized-realm.js2
-rw-r--r--test/built-ins/Function/proto-from-ctor-realm.js2
-rw-r--r--test/built-ins/Function/prototype/bind/get-fn-realm.js2
-rw-r--r--test/built-ins/Function/prototype/bind/proto-from-ctor-realm.js2
9 files changed, 9 insertions, 9 deletions
diff --git a/test/built-ins/Function/call-bind-this-realm-undef.js b/test/built-ins/Function/call-bind-this-realm-undef.js
index 4df0dc42d..1df54747f 100644
--- a/test/built-ins/Function/call-bind-this-realm-undef.js
+++ b/test/built-ins/Function/call-bind-this-realm-undef.js
@@ -21,7 +21,7 @@ info: >
[...]
---*/
-var other = $.createRealm().global;
+var other = $262.createRealm().global;
var func = new other.Function('return this;');
var subject;
diff --git a/test/built-ins/Function/call-bind-this-realm-value.js b/test/built-ins/Function/call-bind-this-realm-value.js
index cc1a668ca..11aa62b74 100644
--- a/test/built-ins/Function/call-bind-this-realm-value.js
+++ b/test/built-ins/Function/call-bind-this-realm-value.js
@@ -22,7 +22,7 @@ info: >
[...]
---*/
-var other = $.createRealm().global;
+var other = $262.createRealm().global;
var func = new other.Function('return this;');
var subject;
diff --git a/test/built-ins/Function/internals/Call/class-ctor-realm.js b/test/built-ins/Function/internals/Call/class-ctor-realm.js
index e4e609579..1433e5e42 100644
--- a/test/built-ins/Function/internals/Call/class-ctor-realm.js
+++ b/test/built-ins/Function/internals/Call/class-ctor-realm.js
@@ -13,7 +13,7 @@ info: |
features: [class]
---*/
-var C = $.createRealm().global.eval('0, class {}');
+var C = $262.createRealm().global.eval('0, class {}');
assert.throws(TypeError, function() {
C();
diff --git a/test/built-ins/Function/internals/Construct/base-ctor-revoked-proxy-realm.js b/test/built-ins/Function/internals/Construct/base-ctor-revoked-proxy-realm.js
index a52864477..87bff8a5e 100644
--- a/test/built-ins/Function/internals/Construct/base-ctor-revoked-proxy-realm.js
+++ b/test/built-ins/Function/internals/Construct/base-ctor-revoked-proxy-realm.js
@@ -40,7 +40,7 @@ info: |
features: [Proxy]
---*/
-var other = $.createRealm().global;
+var other = $262.createRealm().global;
// Defer proxy revocation until after the `constructor` property has been
// accessed
var handlers = {
diff --git a/test/built-ins/Function/internals/Construct/derived-return-val-realm.js b/test/built-ins/Function/internals/Construct/derived-return-val-realm.js
index ff8d83d1c..52e9c69e2 100644
--- a/test/built-ins/Function/internals/Construct/derived-return-val-realm.js
+++ b/test/built-ins/Function/internals/Construct/derived-return-val-realm.js
@@ -17,7 +17,7 @@ info: |
features: [class]
---*/
-var C = $.createRealm().global.eval(
+var C = $262.createRealm().global.eval(
'0, class extends Object {' +
' constructor() {' +
' return null;' +
diff --git a/test/built-ins/Function/internals/Construct/derived-this-uninitialized-realm.js b/test/built-ins/Function/internals/Construct/derived-this-uninitialized-realm.js
index c051a457d..4c9484659 100644
--- a/test/built-ins/Function/internals/Construct/derived-this-uninitialized-realm.js
+++ b/test/built-ins/Function/internals/Construct/derived-this-uninitialized-realm.js
@@ -18,7 +18,7 @@ info: |
features: [class]
---*/
-var C = $.createRealm().global.eval(
+var C = $262.createRealm().global.eval(
'(class C extends Object {' +
' constructor() {}' +
'});'
diff --git a/test/built-ins/Function/proto-from-ctor-realm.js b/test/built-ins/Function/proto-from-ctor-realm.js
index 61c396a3e..131356859 100644
--- a/test/built-ins/Function/proto-from-ctor-realm.js
+++ b/test/built-ins/Function/proto-from-ctor-realm.js
@@ -29,7 +29,7 @@ info: |
features: [Reflect]
---*/
-var other = $.createRealm().global;
+var other = $262.createRealm().global;
var C = new other.Function();
C.prototype = null;
diff --git a/test/built-ins/Function/prototype/bind/get-fn-realm.js b/test/built-ins/Function/prototype/bind/get-fn-realm.js
index fda8693d8..40d115390 100644
--- a/test/built-ins/Function/prototype/bind/get-fn-realm.js
+++ b/test/built-ins/Function/prototype/bind/get-fn-realm.js
@@ -15,7 +15,7 @@ info: |
b. Return ? GetFunctionRealm(target).
---*/
-var other = $.createRealm().global;
+var other = $262.createRealm().global;
var C = new other.Function();
var B = Function.prototype.bind.call(C);
diff --git a/test/built-ins/Function/prototype/bind/proto-from-ctor-realm.js b/test/built-ins/Function/prototype/bind/proto-from-ctor-realm.js
index a7e9be216..ed6b03795 100644
--- a/test/built-ins/Function/prototype/bind/proto-from-ctor-realm.js
+++ b/test/built-ins/Function/prototype/bind/proto-from-ctor-realm.js
@@ -19,7 +19,7 @@ info: |
features: [Reflect]
---*/
-var other = $.createRealm().global;
+var other = $262.createRealm().global;
var C = new other.Function();
C.prototype = null;