Summary

Harness status: OK

Found 20 tests

Details

ResultTest NameMessage
PassThe value of the [[Prototype]] internal property of the WeakMap prototype object is the standard built-in Object prototype object (15.2.4).
Asserts run
Pass
assert_equals(object "[object Object]", object "[object Object]")
    at Test.<anonymous> ( /js/builtins/WeakMap.prototype-properties.html:50:3)
PassThe initial value of WeakMap.prototype.constructor is the built-in WeakMap constructor.
Asserts run
Pass
assert_equals(function "function WeakMap() { [native code] }", function "function WeakMap() { [native code] }")
    at Test.<anonymous> ( /js/builtins/WeakMap.prototype-properties.html:55:3)
Pass
assert_equals("object", "object")
    at assert_propdesc ( /js/builtins/WeakMap.prototype-properties.html:12:3)
Pass
assert_equals(true, true, "[[Writable]]")
    at assert_propdesc ( /js/builtins/WeakMap.prototype-properties.html:13:3)
Pass
assert_equals(false, false, "[[Enumerable]]")
    at assert_propdesc ( /js/builtins/WeakMap.prototype-properties.html:14:3)
Pass
assert_equals(true, true, "[[Configurable]]")
    at assert_propdesc ( /js/builtins/WeakMap.prototype-properties.html:15:3)
PassWeakMap.prototype.delete
Asserts run
Pass
assert_equals("object", "object")
    at assert_propdesc ( /js/builtins/WeakMap.prototype-properties.html:12:3)
Pass
assert_equals(true, true, "[[Writable]]")
    at assert_propdesc ( /js/builtins/WeakMap.prototype-properties.html:13:3)
Pass
assert_equals(false, false, "[[Enumerable]]")
    at assert_propdesc ( /js/builtins/WeakMap.prototype-properties.html:14:3)
Pass
assert_equals(true, true, "[[Configurable]]")
    at assert_propdesc ( /js/builtins/WeakMap.prototype-properties.html:15:3)
PassWeakMap.prototype.delete.length
Asserts run
Pass
assert_equals("object", "object")
    at assert_propdesc ( /js/builtins/WeakMap.prototype-properties.html:12:3)
Pass
assert_equals(false, false, "[[Writable]]")
    at assert_propdesc ( /js/builtins/WeakMap.prototype-properties.html:13:3)
Pass
assert_equals(false, false, "[[Enumerable]]")
    at assert_propdesc ( /js/builtins/WeakMap.prototype-properties.html:14:3)
Pass
assert_equals(true, true, "[[Configurable]]")
    at assert_propdesc ( /js/builtins/WeakMap.prototype-properties.html:15:3)
Pass
assert_equals(1, 1)
    at Test.<anonymous> ( /js/builtins/WeakMap.prototype-properties.html:21:5)
PassWeakMap.prototype.delete: ToObject on this
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function() {       WeakMap.prototype[fun].apply(null, args);     }")
    at Test.<anonymous> ( /js/builtins/WeakMap.prototype-properties.html:28:5)
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function() {       WeakMap.prototype[fun].apply(undefined, args);     }")
    at Test.<anonymous> ( /js/builtins/WeakMap.prototype-properties.html:31:5)
PassWeakMap.prototype.delete: this has no [[WeakMapData]] internal property
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function() {       WeakMap.prototype[fun].apply({}, args);     }")
    at Test.<anonymous> ( /js/builtins/WeakMap.prototype-properties.html:37:5)
PassWeakMap.prototype.get
Asserts run
Pass
assert_equals("object", "object")
    at assert_propdesc ( /js/builtins/WeakMap.prototype-properties.html:12:3)
Pass
assert_equals(true, true, "[[Writable]]")
    at assert_propdesc ( /js/builtins/WeakMap.prototype-properties.html:13:3)
Pass
assert_equals(false, false, "[[Enumerable]]")
    at assert_propdesc ( /js/builtins/WeakMap.prototype-properties.html:14:3)
Pass
assert_equals(true, true, "[[Configurable]]")
    at assert_propdesc ( /js/builtins/WeakMap.prototype-properties.html:15:3)
PassWeakMap.prototype.get.length
Asserts run
Pass
assert_equals("object", "object")
    at assert_propdesc ( /js/builtins/WeakMap.prototype-properties.html:12:3)
Pass
assert_equals(false, false, "[[Writable]]")
    at assert_propdesc ( /js/builtins/WeakMap.prototype-properties.html:13:3)
Pass
assert_equals(false, false, "[[Enumerable]]")
    at assert_propdesc ( /js/builtins/WeakMap.prototype-properties.html:14:3)
Pass
assert_equals(true, true, "[[Configurable]]")
    at assert_propdesc ( /js/builtins/WeakMap.prototype-properties.html:15:3)
Pass
assert_equals(1, 1)
    at Test.<anonymous> ( /js/builtins/WeakMap.prototype-properties.html:21:5)
PassWeakMap.prototype.get: ToObject on this
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function() {       WeakMap.prototype[fun].apply(null, args);     }")
    at Test.<anonymous> ( /js/builtins/WeakMap.prototype-properties.html:28:5)
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function() {       WeakMap.prototype[fun].apply(undefined, args);     }")
    at Test.<anonymous> ( /js/builtins/WeakMap.prototype-properties.html:31:5)
PassWeakMap.prototype.get: this has no [[WeakMapData]] internal property
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function() {       WeakMap.prototype[fun].apply({}, args);     }")
    at Test.<anonymous> ( /js/builtins/WeakMap.prototype-properties.html:37:5)
PassWeakMap.prototype.get: return undefined
Asserts run
Pass
assert_equals(undefined, undefined)
    at Test.<anonymous> ( /js/builtins/WeakMap.prototype-properties.html:79:5)
PassWeakMap.prototype.has
Asserts run
Pass
assert_equals("object", "object")
    at assert_propdesc ( /js/builtins/WeakMap.prototype-properties.html:12:3)
Pass
assert_equals(true, true, "[[Writable]]")
    at assert_propdesc ( /js/builtins/WeakMap.prototype-properties.html:13:3)
Pass
assert_equals(false, false, "[[Enumerable]]")
    at assert_propdesc ( /js/builtins/WeakMap.prototype-properties.html:14:3)
Pass
assert_equals(true, true, "[[Configurable]]")
    at assert_propdesc ( /js/builtins/WeakMap.prototype-properties.html:15:3)
PassWeakMap.prototype.has.length
Asserts run
Pass
assert_equals("object", "object")
    at assert_propdesc ( /js/builtins/WeakMap.prototype-properties.html:12:3)
Pass
assert_equals(false, false, "[[Writable]]")
    at assert_propdesc ( /js/builtins/WeakMap.prototype-properties.html:13:3)
Pass
assert_equals(false, false, "[[Enumerable]]")
    at assert_propdesc ( /js/builtins/WeakMap.prototype-properties.html:14:3)
Pass
assert_equals(true, true, "[[Configurable]]")
    at assert_propdesc ( /js/builtins/WeakMap.prototype-properties.html:15:3)
Pass
assert_equals(1, 1)
    at Test.<anonymous> ( /js/builtins/WeakMap.prototype-properties.html:21:5)
PassWeakMap.prototype.has: ToObject on this
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function() {       WeakMap.prototype[fun].apply(null, args);     }")
    at Test.<anonymous> ( /js/builtins/WeakMap.prototype-properties.html:28:5)
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function() {       WeakMap.prototype[fun].apply(undefined, args);     }")
    at Test.<anonymous> ( /js/builtins/WeakMap.prototype-properties.html:31:5)
PassWeakMap.prototype.has: this has no [[WeakMapData]] internal property
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function() {       WeakMap.prototype[fun].apply({}, args);     }")
    at Test.<anonymous> ( /js/builtins/WeakMap.prototype-properties.html:37:5)
PassWeakMap.prototype.set
Asserts run
Pass
assert_equals("object", "object")
    at assert_propdesc ( /js/builtins/WeakMap.prototype-properties.html:12:3)
Pass
assert_equals(true, true, "[[Writable]]")
    at assert_propdesc ( /js/builtins/WeakMap.prototype-properties.html:13:3)
Pass
assert_equals(false, false, "[[Enumerable]]")
    at assert_propdesc ( /js/builtins/WeakMap.prototype-properties.html:14:3)
Pass
assert_equals(true, true, "[[Configurable]]")
    at assert_propdesc ( /js/builtins/WeakMap.prototype-properties.html:15:3)
PassWeakMap.prototype.set.length
Asserts run
Pass
assert_equals("object", "object")
    at assert_propdesc ( /js/builtins/WeakMap.prototype-properties.html:12:3)
Pass
assert_equals(false, false, "[[Writable]]")
    at assert_propdesc ( /js/builtins/WeakMap.prototype-properties.html:13:3)
Pass
assert_equals(false, false, "[[Enumerable]]")
    at assert_propdesc ( /js/builtins/WeakMap.prototype-properties.html:14:3)
Pass
assert_equals(true, true, "[[Configurable]]")
    at assert_propdesc ( /js/builtins/WeakMap.prototype-properties.html:15:3)
Pass
assert_equals(2, 2)
    at Test.<anonymous> ( /js/builtins/WeakMap.prototype-properties.html:21:5)
PassWeakMap.prototype.set: ToObject on this
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function() {       WeakMap.prototype[fun].apply(null, args);     }")
    at Test.<anonymous> ( /js/builtins/WeakMap.prototype-properties.html:28:5)
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function() {       WeakMap.prototype[fun].apply(undefined, args);     }")
    at Test.<anonymous> ( /js/builtins/WeakMap.prototype-properties.html:31:5)
PassWeakMap.prototype.set: this has no [[WeakMapData]] internal property
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function() {       WeakMap.prototype[fun].apply({}, args);     }")
    at Test.<anonymous> ( /js/builtins/WeakMap.prototype-properties.html:37:5)
PassWeakMap.prototype.@@toStringTag
Asserts run
Pass
assert_class_string(object "[object WeakMap]", "WeakMap")
    at Test.<anonymous> ( /js/builtins/WeakMap.prototype-properties.html:101:3)
Pass
assert_class_string(object "[object WeakMap]", "WeakMap")
    at Test.<anonymous> ( /js/builtins/WeakMap.prototype-properties.html:102:3)