summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Object/isSealed
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/tests/test262/built-ins/Object/isSealed')
-rw-r--r--js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-0-1.js13
-rw-r--r--js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-0-2.js11
-rw-r--r--js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-1.js13
-rw-r--r--js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-1.js11
-rw-r--r--js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-10.js13
-rw-r--r--js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-11.js15
-rw-r--r--js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-12.js13
-rw-r--r--js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-13.js15
-rw-r--r--js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-14.js13
-rw-r--r--js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-15.js13
-rw-r--r--js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-16.js15
-rw-r--r--js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-17.js13
-rw-r--r--js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-18.js15
-rw-r--r--js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-19.js13
-rw-r--r--js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-2.js13
-rw-r--r--js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-20.js15
-rw-r--r--js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-21.js13
-rw-r--r--js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-22.js13
-rw-r--r--js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-23.js15
-rw-r--r--js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-24.js15
-rw-r--r--js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-25.js13
-rw-r--r--js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-26.js13
-rw-r--r--js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-27.js13
-rw-r--r--js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-3.js15
-rw-r--r--js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-4.js13
-rw-r--r--js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-5.js15
-rw-r--r--js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-6.js13
-rw-r--r--js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-7.js15
-rw-r--r--js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-8.js13
-rw-r--r--js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-9.js15
-rw-r--r--js/src/tests/test262/built-ins/Object/isSealed/browser.js0
-rw-r--r--js/src/tests/test262/built-ins/Object/isSealed/name.js28
-rw-r--r--js/src/tests/test262/built-ins/Object/isSealed/not-a-constructor.js31
-rw-r--r--js/src/tests/test262/built-ins/Object/isSealed/proxy-no-ownkeys-returned-keys-order.js54
-rw-r--r--js/src/tests/test262/built-ins/Object/isSealed/shell.js0
35 files changed, 521 insertions, 0 deletions
diff --git a/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-0-1.js b/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-0-1.js
new file mode 100644
index 0000000000..0563532a38
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-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.11-0-1
+description: Object.isSealed must exist as a function
+---*/
+
+var f = Object.isSealed;
+
+assert.sameValue(typeof(f), "function", 'typeof(f)');
+
+reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-0-2.js b/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-0-2.js
new file mode 100644
index 0000000000..307b3f6ec8
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-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.11-0-2
+description: Object.isSealed must exist as a function taking 1 parameter
+---*/
+
+assert.sameValue(Object.isSealed.length, 1, 'Object.isSealed.length');
+
+reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-1.js b/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-1.js
new file mode 100644
index 0000000000..a59acc4e9f
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-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.11-1
+description: >
+ Object.isSealed does not throw TypeError if type of first param is
+ not Object
+---*/
+
+Object.isSealed(0);
+
+reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-1.js b/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-1.js
new file mode 100644
index 0000000000..70ae44f1df
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-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.11-4-1
+description: Object.isSealed returns false for all built-in objects (Global)
+---*/
+
+assert(!Object.isSealed(this));
+
+reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-10.js b/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-10.js
new file mode 100644
index 0000000000..9d83beaa9c
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-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.11-4-10
+description: Object.isSealed returns false for all built-in objects (Boolean)
+---*/
+
+var b = Object.isSealed(Boolean);
+
+assert.sameValue(b, false, 'b');
+
+reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-11.js b/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-11.js
new file mode 100644
index 0000000000..1f90e37653
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-11.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.11-4-11
+description: >
+ Object.isSealed returns false for all built-in objects
+ (Boolean.prototype)
+---*/
+
+var b = Object.isSealed(Boolean.prototype);
+
+assert.sameValue(b, false, 'b');
+
+reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-12.js b/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-12.js
new file mode 100644
index 0000000000..733f6ab559
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-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.11-4-12
+description: Object.isSealed returns false for all built-in objects (Number)
+---*/
+
+var b = Object.isSealed(Number);
+
+assert.sameValue(b, false, 'b');
+
+reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-13.js b/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-13.js
new file mode 100644
index 0000000000..d10efa3ae6
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-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.11-4-13
+description: >
+ Object.isSealed returns false for all built-in objects
+ (Number.prototype)
+---*/
+
+var b = Object.isSealed(Number.prototype);
+
+assert.sameValue(b, false, 'b');
+
+reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-14.js b/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-14.js
new file mode 100644
index 0000000000..c4b6c0cf29
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-14.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.11-4-14
+description: Object.isSealed returns false for all built-in objects (Math)
+---*/
+
+var b = Object.isSealed(Math);
+
+assert.sameValue(b, false, 'b');
+
+reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-15.js b/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-15.js
new file mode 100644
index 0000000000..8999346ae3
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-15.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.11-4-15
+description: Object.isSealed returns false for all built-in objects (Date)
+---*/
+
+var b = Object.isSealed(Date);
+
+assert.sameValue(b, false, 'b');
+
+reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-16.js b/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-16.js
new file mode 100644
index 0000000000..3079a81242
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-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.11-4-16
+description: >
+ Object.isSealed returns false for all built-in objects
+ (Date.prototype)
+---*/
+
+var b = Object.isSealed(Date.prototype);
+
+assert.sameValue(b, false, 'b');
+
+reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-17.js b/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-17.js
new file mode 100644
index 0000000000..3922751f6f
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-17.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.11-4-17
+description: Object.isSealed returns false for all built-in objects (RegExp)
+---*/
+
+var b = Object.isSealed(RegExp);
+
+assert.sameValue(b, false, 'b');
+
+reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-18.js b/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-18.js
new file mode 100644
index 0000000000..178d33d044
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-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.11-4-18
+description: >
+ Object.isSealed returns false for all built-in objects
+ (RegExp.prototype)
+---*/
+
+var b = Object.isSealed(RegExp.prototype);
+
+assert.sameValue(b, false, 'b');
+
+reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-19.js b/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-19.js
new file mode 100644
index 0000000000..74d27cfe2e
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-19.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.11-4-19
+description: Object.isSealed returns false for all built-in objects (Error)
+---*/
+
+var b = Object.isSealed(Error);
+
+assert.sameValue(b, false, 'b');
+
+reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-2.js b/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-2.js
new file mode 100644
index 0000000000..b0e6c7096d
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-2.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.11-4-2
+description: Object.isSealed returns false for all built-in objects (Object)
+---*/
+
+var b = Object.isSealed(Object);
+
+assert.sameValue(b, false, 'b');
+
+reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-20.js b/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-20.js
new file mode 100644
index 0000000000..b89aeb9772
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-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.11-4-20
+description: >
+ Object.isSealed returns false for all built-in objects
+ (Error.prototype)
+---*/
+
+var b = Object.isSealed(Error.prototype);
+
+assert.sameValue(b, false, 'b');
+
+reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-21.js b/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-21.js
new file mode 100644
index 0000000000..a6583febc2
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-21.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.11-4-21
+description: Object.isSealed returns false for all built-in objects (EvalError)
+---*/
+
+var b = Object.isSealed(EvalError);
+
+assert.sameValue(b, false, 'b');
+
+reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-22.js b/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-22.js
new file mode 100644
index 0000000000..27f0c920c0
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-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.11-4-22
+description: Object.isSealed returns false for all built-in objects (RangeError)
+---*/
+
+var b = Object.isSealed(RangeError);
+
+assert.sameValue(b, false, 'b');
+
+reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-23.js b/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-23.js
new file mode 100644
index 0000000000..ca9d5c2c44
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-23.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.11-4-23
+description: >
+ Object.isSealed returns false for all built-in objects
+ (ReferenceError)
+---*/
+
+var b = Object.isSealed(ReferenceError);
+
+assert.sameValue(b, false, 'b');
+
+reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-24.js b/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-24.js
new file mode 100644
index 0000000000..fcc1d67225
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-24.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.11-4-24
+description: >
+ Object.isSealed returns false for all built-in objects
+ (SyntaxError)
+---*/
+
+var b = Object.isSealed(SyntaxError);
+
+assert.sameValue(b, false, 'b');
+
+reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-25.js b/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-25.js
new file mode 100644
index 0000000000..09e2b5b68b
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-25.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.11-4-25
+description: Object.isSealed returns false for all built-in objects (TypeError)
+---*/
+
+var b = Object.isSealed(TypeError);
+
+assert.sameValue(b, false, 'b');
+
+reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-26.js b/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-26.js
new file mode 100644
index 0000000000..3083a39f0c
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-26.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.11-4-26
+description: Object.isSealed returns false for all built-in objects (URIError)
+---*/
+
+var b = Object.isSealed(URIError);
+
+assert.sameValue(b, false, 'b');
+
+reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-27.js b/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-27.js
new file mode 100644
index 0000000000..df1e795f90
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-27.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.11-4-27
+description: Object.isSealed returns false for all built-in objects (JSON)
+---*/
+
+var b = Object.isSealed(JSON);
+
+assert.sameValue(b, false, 'b');
+
+reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-3.js b/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-3.js
new file mode 100644
index 0000000000..d6b26297a0
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-3.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.11-4-3
+description: >
+ Object.isSealed returns false for all built-in objects
+ (Object.prototype)
+---*/
+
+var b = Object.isSealed(Object.prototype);
+
+assert.sameValue(b, false, 'b');
+
+reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-4.js b/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-4.js
new file mode 100644
index 0000000000..16478106ad
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-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.11-4-4
+description: Object.isSealed returns false for all built-in objects (Function)
+---*/
+
+var b = Object.isSealed(Function);
+
+assert.sameValue(b, false, 'b');
+
+reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-5.js b/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-5.js
new file mode 100644
index 0000000000..92b56fd611
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-5.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.11-4-5
+description: >
+ Object.isSealed returns false for all built-in objects
+ (Function.prototype)
+---*/
+
+var b = Object.isSealed(Function.prototype);
+
+assert.sameValue(b, false, 'b');
+
+reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-6.js b/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-6.js
new file mode 100644
index 0000000000..d006e75d2f
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-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.11-4-6
+description: Object.isSealed returns false for all built-in objects (Array)
+---*/
+
+var b = Object.isSealed(Array);
+
+assert.sameValue(b, false, 'b');
+
+reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-7.js b/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-7.js
new file mode 100644
index 0000000000..e67bffd1c0
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-7.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.11-4-7
+description: >
+ Object.isSealed returns false for all built-in objects
+ (Array.prototype)
+---*/
+
+var b = Object.isSealed(Array.prototype);
+
+assert.sameValue(b, false, 'b');
+
+reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-8.js b/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-8.js
new file mode 100644
index 0000000000..e252e12d2b
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-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.11-4-8
+description: Object.isSealed returns false for all built-in objects (String)
+---*/
+
+var b = Object.isSealed(String);
+
+assert.sameValue(b, false, 'b');
+
+reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-9.js b/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-9.js
new file mode 100644
index 0000000000..408e74ecc4
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isSealed/15.2.3.11-4-9.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.11-4-9
+description: >
+ Object.isSealed returns false for all built-in objects
+ (String.prototype)
+---*/
+
+var b = Object.isSealed(String.prototype);
+
+assert.sameValue(b, false, 'b');
+
+reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/Object/isSealed/browser.js b/js/src/tests/test262/built-ins/Object/isSealed/browser.js
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isSealed/browser.js
diff --git a/js/src/tests/test262/built-ins/Object/isSealed/name.js b/js/src/tests/test262/built-ins/Object/isSealed/name.js
new file mode 100644
index 0000000000..c11f5b4842
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isSealed/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.13
+description: >
+ Object.isSealed.name is "isSealed".
+info: |
+ Object.isSealed ( 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.isSealed.name, "isSealed");
+
+verifyNotEnumerable(Object.isSealed, "name");
+verifyNotWritable(Object.isSealed, "name");
+verifyConfigurable(Object.isSealed, "name");
+
+reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/Object/isSealed/not-a-constructor.js b/js/src/tests/test262/built-ins/Object/isSealed/not-a-constructor.js
new file mode 100644
index 0000000000..a02bf5f415
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isSealed/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.isSealed 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.isSealed), false, 'isConstructor(Object.isSealed) must return false');
+
+assert.throws(TypeError, () => {
+ new Object.isSealed({});
+}, '`new Object.isSealed({})` throws TypeError');
+
+
+reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/Object/isSealed/proxy-no-ownkeys-returned-keys-order.js b/js/src/tests/test262/built-ins/Object/isSealed/proxy-no-ownkeys-returned-keys-order.js
new file mode 100644
index 0000000000..cc50d92aba
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isSealed/proxy-no-ownkeys-returned-keys-order.js
@@ -0,0 +1,54 @@
+// Copyright (C) 2020 Alexey Shvayka. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+/*---
+esid: sec-object.issealed
+description: >
+ If Proxy "ownKeys" trap is missing, keys are sorted by type in ascending
+ chronological order.
+info: |
+ TestIntegrityLevel ( O, level )
+
+ [...]
+ 6. Let keys be ? O.[[OwnPropertyKeys]]().
+ 7. For each element k of keys, do
+ a. Let currentDesc be ? O.[[GetOwnProperty]](k).
+
+ [[OwnPropertyKeys]] ( )
+
+ [...]
+ 6. If trap is undefined, then
+ a. Return ? target.[[OwnPropertyKeys]]().
+
+ OrdinaryOwnPropertyKeys ( O )
+
+ [...]
+ 3. For each own property key P of O such that Type(P) is String and P is
+ not an array index, in ascending chronological order of property creation, do
+ a. Add P as the last element of keys.
+ 4. For each own property key P of O such that Type(P) is Symbol,
+ in ascending chronological order of property creation, do
+ a. Add P as the last element of keys.
+ 5. Return keys.
+features: [Proxy, Symbol, Reflect]
+includes: [compareArray.js]
+---*/
+
+var target = {};
+var sym = Symbol();
+target[sym] = 1;
+target.foo = 2;
+target[0] = 3;
+Object.seal(target);
+
+var getOwnKeys = [];
+var proxy = new Proxy(target, {
+ getOwnPropertyDescriptor: function(target, key) {
+ getOwnKeys.push(key);
+ return Reflect.getOwnPropertyDescriptor(target, key);
+ },
+});
+
+Object.isSealed(proxy);
+assert.compareArray(getOwnKeys, ["0", "foo", sym]);
+
+reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/Object/isSealed/shell.js b/js/src/tests/test262/built-ins/Object/isSealed/shell.js
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/isSealed/shell.js