summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Object/prototype/proto.js
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--js/src/tests/test262/built-ins/Object/prototype/proto.js16
1 files changed, 16 insertions, 0 deletions
diff --git a/js/src/tests/test262/built-ins/Object/prototype/proto.js b/js/src/tests/test262/built-ins/Object/prototype/proto.js
new file mode 100644
index 0000000000..3a8ae4c536
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/prototype/proto.js
@@ -0,0 +1,16 @@
+// Copyright (C) 2016 the V8 project authors. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+/*---
+esid: sec-properties-of-the-object-prototype-object
+description: >
+ The value of the [[Prototype]] internal slot of Object.prototype is null
+info: |
+ 19.1.3 Properties of the Object Prototype Object
+
+ The value of the [[Prototype]] internal slot of the Object prototype object is
+ null and the initial value of the [[Extensible]] internal slot is true.
+---*/
+
+assert.sameValue(Object.getPrototypeOf(Object.prototype), null);
+
+reportCompare(0, 0);