summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Object/isExtensible
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
commit26a029d407be480d791972afb5975cf62c9360a6 (patch)
treef435a8308119effd964b339f76abb83a57c29483 /js/src/tests/test262/built-ins/Object/isExtensible
parentInitial commit. (diff)
downloadfirefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz
firefox-26a029d407be480d791972afb5975cf62c9360a6.zip
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'js/src/tests/test262/built-ins/Object/isExtensible')
-rw-r--r--js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-0-1.js13
-rw-r--r--js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-0-2.js11
-rw-r--r--js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-0-3.js18
-rw-r--r--js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-1-1.js11
-rw-r--r--js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-1-2.js11
-rw-r--r--js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-1-3.js11
-rw-r--r--js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-1-4.js11
-rw-r--r--js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-1.js13
-rw-r--r--js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-1.js13
-rw-r--r--js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-10.js13
-rw-r--r--js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-11.js13
-rw-r--r--js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-12.js13
-rw-r--r--js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-13.js15
-rw-r--r--js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-14.js15
-rw-r--r--js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-15.js15
-rw-r--r--js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-16.js15
-rw-r--r--js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-17.js15
-rw-r--r--js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-18.js15
-rw-r--r--js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-19.js15
-rw-r--r--js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-2.js14
-rw-r--r--js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-20.js15
-rw-r--r--js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-21.js25
-rw-r--r--js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-22.js13
-rw-r--r--js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-23.js14
-rw-r--r--js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-24.js20
-rw-r--r--js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-25.js21
-rw-r--r--js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-26.js21
-rw-r--r--js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-27.js22
-rw-r--r--js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-29.js11
-rw-r--r--js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-3.js17
-rw-r--r--js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-4.js13
-rw-r--r--js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-5.js13
-rw-r--r--js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-6.js13
-rw-r--r--js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-7.js13
-rw-r--r--js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-8.js13
-rw-r--r--js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-9.js13
-rw-r--r--js/src/tests/test262/built-ins/Object/isExtensible/browser.js0
-rw-r--r--js/src/tests/test262/built-ins/Object/isExtensible/name.js28
-rw-r--r--js/src/tests/test262/built-ins/Object/isExtensible/not-a-constructor.js31
-rw-r--r--js/src/tests/test262/built-ins/Object/isExtensible/shell.js0
40 files changed, 586 insertions, 0 deletions
diff --git a/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-0-1.js b/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-0-1.js
new file mode 100644
index 0000000000..13a3e8513d
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-0-1.js
@@ -0,0 +1,13 @@
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+es5id: 15.2.3.13-0-1
+description: Object.isExtensible must exist as a function
+---*/
+
+var f = Object.isExtensible;
+
+assert.sameValue(typeof(f), "function", 'typeof(f)');
+
+reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-0-2.js b/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-0-2.js
new file mode 100644
index 0000000000..f756aae99a
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-0-2.js
@@ -0,0 +1,11 @@
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+es5id: 15.2.3.13-0-2
+description: Object.isExtensible must exist as a function taking 1 parameter
+---*/
+
+assert.sameValue(Object.isExtensible.length, 1, 'Object.isExtensible.length');
+
+reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-0-3.js b/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-0-3.js
new file mode 100644
index 0000000000..61348c4f8f
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-0-3.js
@@ -0,0 +1,18 @@
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+info: |
+ A newly created object using the Object contructor has its [[Extensible]]
+ property set to true by default (15.2.2.1, step 8).
+es5id: 15.2.3.13-0-3
+description: >
+ Object.isExtensible is true for objects created using the Object
+ constructor
+---*/
+
+var o = new Object();
+
+assert.sameValue(Object.isExtensible(o), true, 'Object.isExtensible(o)');
+
+reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-1-1.js b/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-1-1.js
new file mode 100644
index 0000000000..d12be81541
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-1-1.js
@@ -0,0 +1,11 @@
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+es5id: 15.2.3.13-1-1
+description: Object.isExtensible does not throw TypeError if 'O' is undefined
+---*/
+
+Object.isExtensible(undefined);
+
+reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-1-2.js b/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-1-2.js
new file mode 100644
index 0000000000..22db32e90f
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-1-2.js
@@ -0,0 +1,11 @@
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+es5id: 15.2.3.13-1-2
+description: Object.isExtensible does not throw TypeError if 'O' is null
+---*/
+
+Object.isExtensible(null);
+
+reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-1-3.js b/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-1-3.js
new file mode 100644
index 0000000000..4bdac9f69d
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-1-3.js
@@ -0,0 +1,11 @@
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+es5id: 15.2.3.13-1-3
+description: Object.isExtensible does not throw TypeError if 'O' is a boolean
+---*/
+
+Object.isExtensible(true);
+
+reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-1-4.js b/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-1-4.js
new file mode 100644
index 0000000000..ae0d7b5004
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-1-4.js
@@ -0,0 +1,11 @@
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+es5id: 15.2.3.13-1-4
+description: Object.isExtensible does not throw TypeError if 'O' is a string
+---*/
+
+Object.isExtensible("abc");
+
+reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-1.js b/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-1.js
new file mode 100644
index 0000000000..57b7ff86bd
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-1.js
@@ -0,0 +1,13 @@
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+es5id: 15.2.3.13-1
+description: >
+ Object.isExtensible does not throw TypeError if type of first
+ param is not Object
+---*/
+
+Object.isExtensible(0);
+
+reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-1.js b/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-1.js
new file mode 100644
index 0000000000..98a6ad45a1
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-1.js
@@ -0,0 +1,13 @@
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+es5id: 15.2.3.13-2-1
+description: Object.isExtensible returns true for all built-in objects (Global)
+---*/
+
+var global = this;
+
+assert(Object.isExtensible(global));
+
+reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-10.js b/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-10.js
new file mode 100644
index 0000000000..3316e0aa20
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-10.js
@@ -0,0 +1,13 @@
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+es5id: 15.2.3.13-2-10
+description: Object.isExtensible returns true for all built-in objects (RegExp)
+---*/
+
+var e = Object.isExtensible(RegExp);
+
+assert.sameValue(e, true, 'e');
+
+reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-11.js b/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-11.js
new file mode 100644
index 0000000000..de6ccff767
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-11.js
@@ -0,0 +1,13 @@
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+es5id: 15.2.3.13-2-11
+description: Object.isExtensible returns true for all built-in objects (Error)
+---*/
+
+var e = Object.isExtensible(Error);
+
+assert.sameValue(e, true, 'e');
+
+reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-12.js b/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-12.js
new file mode 100644
index 0000000000..18cdad9e4f
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-12.js
@@ -0,0 +1,13 @@
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+es5id: 15.2.3.13-2-12
+description: Object.isExtensible returns true for all built-in objects (JSON)
+---*/
+
+var e = Object.isExtensible(JSON);
+
+assert.sameValue(e, true, 'e');
+
+reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-13.js b/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-13.js
new file mode 100644
index 0000000000..a2ff9c44e9
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-13.js
@@ -0,0 +1,15 @@
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+es5id: 15.2.3.13-2-13
+description: >
+ Object.isExtensible returns true for all built-in objects
+ (Function.constructor)
+---*/
+
+var e = Object.isExtensible(Function.constructor);
+
+assert.sameValue(e, true, 'e');
+
+reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-14.js b/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-14.js
new file mode 100644
index 0000000000..529c2d409c
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-14.js
@@ -0,0 +1,15 @@
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+es5id: 15.2.3.13-2-14
+description: >
+ Object.isExtensible returns true for all built-in objects
+ (Function.prototype)
+---*/
+
+var e = Object.isExtensible(Function.prototype);
+
+assert.sameValue(e, true, 'e');
+
+reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-15.js b/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-15.js
new file mode 100644
index 0000000000..dbf4db1c7b
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-15.js
@@ -0,0 +1,15 @@
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+es5id: 15.2.3.13-2-15
+description: >
+ Object.isExtensible returns true for all built-in objects
+ (Array.prototype)
+---*/
+
+var e = Object.isExtensible(Array.prototype);
+
+assert.sameValue(e, true, 'e');
+
+reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-16.js b/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-16.js
new file mode 100644
index 0000000000..bf4edf2910
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-16.js
@@ -0,0 +1,15 @@
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+es5id: 15.2.3.13-2-16
+description: >
+ Object.isExtensible returns true for all built-in objects
+ (String.prototype)
+---*/
+
+var e = Object.isExtensible(String.prototype);
+
+assert.sameValue(e, true, 'e');
+
+reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-17.js b/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-17.js
new file mode 100644
index 0000000000..0767d26aed
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-17.js
@@ -0,0 +1,15 @@
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+es5id: 15.2.3.13-2-17
+description: >
+ Object.isExtensible returns true for all built-in objects
+ (Boolean.prototype)
+---*/
+
+var e = Object.isExtensible(Boolean.prototype);
+
+assert.sameValue(e, true, 'e');
+
+reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-18.js b/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-18.js
new file mode 100644
index 0000000000..99f2aeddb0
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-18.js
@@ -0,0 +1,15 @@
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+es5id: 15.2.3.13-2-18
+description: >
+ Object.isExtensible returns true for all built-in objects
+ (Number.prototype)
+---*/
+
+var e = Object.isExtensible(Number.prototype);
+
+assert.sameValue(e, true, 'e');
+
+reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-19.js b/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-19.js
new file mode 100644
index 0000000000..9f411ed118
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-19.js
@@ -0,0 +1,15 @@
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+es5id: 15.2.3.13-2-19
+description: >
+ Object.isExtensible returns true for all built-in objects
+ (Date.prototype)
+---*/
+
+var e = Object.isExtensible(Date.prototype);
+
+assert.sameValue(e, true, 'e');
+
+reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-2.js b/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-2.js
new file mode 100644
index 0000000000..e2060210c2
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-2.js
@@ -0,0 +1,14 @@
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+es5id: 15.2.3.13-2-2
+description: Object.isExtensible returns true for all built-in objects (Object)
+---*/
+
+var o = {};
+var e = Object.isExtensible(o);
+
+assert.sameValue(e, true, 'e');
+
+reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-20.js b/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-20.js
new file mode 100644
index 0000000000..87e644b31f
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-20.js
@@ -0,0 +1,15 @@
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+es5id: 15.2.3.13-2-20
+description: >
+ Object.isExtensible returns true for all built-in objects
+ (RegExp.prototype)
+---*/
+
+var e = Object.isExtensible(RegExp.prototype);
+
+assert.sameValue(e, true, 'e');
+
+reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-21.js b/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-21.js
new file mode 100644
index 0000000000..3963526646
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-21.js
@@ -0,0 +1,25 @@
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+info: |
+ Function.constructor
+ Function.prototype
+ Array.prototype
+ String.prototype
+ Boolean.prototype
+ Number.prototype
+ Date.prototype
+ RegExp.prototype
+ Error.prototype
+es5id: 15.2.3.13-2-21
+description: >
+ Object.isExtensible returns true for all built-in objects
+ (Error.prototype)
+---*/
+
+var e = Object.isExtensible(Error.prototype);
+
+assert.sameValue(e, true, 'e');
+
+reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-22.js b/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-22.js
new file mode 100644
index 0000000000..351f13bdd4
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-22.js
@@ -0,0 +1,13 @@
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+es5id: 15.2.3.13-2-22
+description: Object.isExtensible returns true if 'O' is extensible
+---*/
+
+var obj = {};
+
+assert(Object.isExtensible(obj), 'Object.isExtensible(obj) !== true');
+
+reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-23.js b/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-23.js
new file mode 100644
index 0000000000..0f556dfa27
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-23.js
@@ -0,0 +1,14 @@
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+es5id: 15.2.3.13-2-23
+description: Object.isExtensible returns false if 'O' is not extensible
+---*/
+
+var obj = {};
+Object.preventExtensions(obj);
+
+assert.sameValue(Object.isExtensible(obj), false, 'Object.isExtensible(obj)');
+
+reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-24.js b/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-24.js
new file mode 100644
index 0000000000..252a9838b0
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-24.js
@@ -0,0 +1,20 @@
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+es5id: 15.2.3.13-2-24
+description: >
+ Object.isExtensible returns true if O is extensible and has a
+ prototype that is extensible
+---*/
+
+var proto = {};
+
+var ConstructFun = function() {};
+ConstructFun.prototype = proto;
+
+var obj = new ConstructFun();
+
+assert(Object.isExtensible(obj), 'Object.isExtensible(obj) !== true');
+
+reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-25.js b/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-25.js
new file mode 100644
index 0000000000..77cc5d1371
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-25.js
@@ -0,0 +1,21 @@
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+es5id: 15.2.3.13-2-25
+description: >
+ Object.isExtensible returns true if O is extensible and has a
+ prototype that is not extensible
+---*/
+
+var proto = {};
+Object.preventExtensions(proto);
+
+var ConstructFun = function() {};
+ConstructFun.prototype = proto;
+
+var obj = new ConstructFun();
+
+assert(Object.isExtensible(obj), 'Object.isExtensible(obj) !== true');
+
+reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-26.js b/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-26.js
new file mode 100644
index 0000000000..d25fd782a0
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-26.js
@@ -0,0 +1,21 @@
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+es5id: 15.2.3.13-2-26
+description: >
+ Object.isExtensible returns false if O is not extensible and has a
+ prototype that is extensible
+---*/
+
+var proto = {};
+
+var ConstructFun = function() {};
+ConstructFun.prototype = proto;
+var obj = new ConstructFun();
+
+Object.preventExtensions(obj);
+
+assert.sameValue(Object.isExtensible(obj), false, 'Object.isExtensible(obj)');
+
+reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-27.js b/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-27.js
new file mode 100644
index 0000000000..9200da1085
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-27.js
@@ -0,0 +1,22 @@
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+es5id: 15.2.3.13-2-27
+description: >
+ Object.isExtensible returns false if O is not extensible and has a
+ prototype that is not extensible
+---*/
+
+var proto = {};
+Object.preventExtensions(proto);
+
+var ConstructFun = function() {};
+ConstructFun.prototype = proto;
+
+var obj = new ConstructFun();
+Object.preventExtensions(obj);
+
+assert.sameValue(Object.isExtensible(obj), false, 'Object.isExtensible(obj)');
+
+reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-29.js b/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-29.js
new file mode 100644
index 0000000000..7cdec561e4
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-29.js
@@ -0,0 +1,11 @@
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+es5id: 15.2.3.13-2-29
+description: Object.isExtensible returns true for the global object
+---*/
+
+assert(Object.isExtensible(this), 'Object.isExtensible(this) !== true');
+
+reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-3.js b/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-3.js
new file mode 100644
index 0000000000..10d10c2ff7
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-3.js
@@ -0,0 +1,17 @@
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+es5id: 15.2.3.13-2-3
+description: >
+ Object.isExtensible returns true for all built-in objects
+ (Function)
+---*/
+
+function foo() {}
+
+var e = Object.isExtensible(foo);
+
+assert.sameValue(e, true, 'e');
+
+reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-4.js b/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-4.js
new file mode 100644
index 0000000000..0ec1748a33
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-4.js
@@ -0,0 +1,13 @@
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+es5id: 15.2.3.13-2-4
+description: Object.isExtensible returns true for all built-in objects (Array)
+---*/
+
+var e = Object.isExtensible(Array);
+
+assert.sameValue(e, true, 'e');
+
+reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-5.js b/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-5.js
new file mode 100644
index 0000000000..1364ea117f
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-5.js
@@ -0,0 +1,13 @@
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+es5id: 15.2.3.13-2-5
+description: Object.isExtensible returns true for all built-in objects (String)
+---*/
+
+var e = Object.isExtensible(String);
+
+assert.sameValue(e, true, 'e');
+
+reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-6.js b/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-6.js
new file mode 100644
index 0000000000..5d84efc34b
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-6.js
@@ -0,0 +1,13 @@
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+es5id: 15.2.3.13-2-6
+description: Object.isExtensible returns true for all built-in objects (Boolean)
+---*/
+
+var e = Object.isExtensible(Boolean);
+
+assert.sameValue(e, true, 'e');
+
+reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-7.js b/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-7.js
new file mode 100644
index 0000000000..c6f06af3e0
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-7.js
@@ -0,0 +1,13 @@
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+es5id: 15.2.3.13-2-7
+description: Object.isExtensible returns true for all built-in objects (Number)
+---*/
+
+var e = Object.isExtensible(Number);
+
+assert.sameValue(e, true, 'e');
+
+reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-8.js b/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-8.js
new file mode 100644
index 0000000000..5d06b9074d
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-8.js
@@ -0,0 +1,13 @@
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+es5id: 15.2.3.13-2-8
+description: Object.isExtensible returns true for all built-in objects (Math)
+---*/
+
+var e = Object.isExtensible(Math);
+
+assert.sameValue(e, true, 'e');
+
+reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-9.js b/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-9.js
new file mode 100644
index 0000000000..b4f8b64c99
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isExtensible/15.2.3.13-2-9.js
@@ -0,0 +1,13 @@
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+es5id: 15.2.3.13-2-9
+description: Object.isExtensible returns true for all built-in objects (Date)
+---*/
+
+var e = Object.isExtensible(Date);
+
+assert.sameValue(e, true, 'e');
+
+reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/Object/isExtensible/browser.js b/js/src/tests/test262/built-ins/Object/isExtensible/browser.js
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isExtensible/browser.js
diff --git a/js/src/tests/test262/built-ins/Object/isExtensible/name.js b/js/src/tests/test262/built-ins/Object/isExtensible/name.js
new file mode 100644
index 0000000000..ae6a6e6549
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isExtensible/name.js
@@ -0,0 +1,28 @@
+// Copyright (C) 2015 André Bargull. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+es6id: 19.1.2.11
+description: >
+ Object.isExtensible.name is "isExtensible".
+info: |
+ Object.isExtensible ( O )
+
+ 17 ECMAScript Standard Built-in Objects:
+ Every built-in Function object, including constructors, that is not
+ identified as an anonymous function has a name property whose value
+ is a String.
+
+ Unless otherwise specified, the name property of a built-in Function
+ object, if it exists, has the attributes { [[Writable]]: false,
+ [[Enumerable]]: false, [[Configurable]]: true }.
+includes: [propertyHelper.js]
+---*/
+
+assert.sameValue(Object.isExtensible.name, "isExtensible");
+
+verifyNotEnumerable(Object.isExtensible, "name");
+verifyNotWritable(Object.isExtensible, "name");
+verifyConfigurable(Object.isExtensible, "name");
+
+reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/Object/isExtensible/not-a-constructor.js b/js/src/tests/test262/built-ins/Object/isExtensible/not-a-constructor.js
new file mode 100644
index 0000000000..56ab6d19e3
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isExtensible/not-a-constructor.js
@@ -0,0 +1,31 @@
+// Copyright (C) 2020 Rick Waldron. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+esid: sec-ecmascript-standard-built-in-objects
+description: >
+ Object.isExtensible does not implement [[Construct]], is not new-able
+info: |
+ ECMAScript Function Objects
+
+ Built-in function objects that are not identified as constructors do not
+ implement the [[Construct]] internal method unless otherwise specified in
+ the description of a particular function.
+
+ sec-evaluatenew
+
+ ...
+ 7. If IsConstructor(constructor) is false, throw a TypeError exception.
+ ...
+includes: [isConstructor.js]
+features: [Reflect.construct, arrow-function]
+---*/
+
+assert.sameValue(isConstructor(Object.isExtensible), false, 'isConstructor(Object.isExtensible) must return false');
+
+assert.throws(TypeError, () => {
+ new Object.isExtensible({});
+}, '`new Object.isExtensible({})` throws TypeError');
+
+
+reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/Object/isExtensible/shell.js b/js/src/tests/test262/built-ins/Object/isExtensible/shell.js
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isExtensible/shell.js