headers-record.any.html

FAILExpected6 of 13 subtests pass309 ms

Details

Test
/fetch/api/headers/headers-record.any.html
Harness
OK

Subtests

StatusSubtestMessage
PASSPassing nothing to Headers constructor
PASSPassing undefined to Headers constructor
PASSPassing null to Headers constructor
PASSBasic operation with one property
PASSBasic operation with one property and a proto
FAILCorrect operation ordering with two properties
assert_array_equals: lengths differ, expected array ["get", object "[object Object]", "a", object "[object Object]"] length 4, got ["getOwnPropertyDescriptor", object "[object Object]", "c"] length 3
assert_array_equals: lengths differ, expected array ["get", object "[object Object]", "a", object "[object Object]"] length 4, got ["getOwnPropertyDescriptor", object "[object Object]", "c"] length 3
FAILCorrect operation ordering with two properties one of which has an invalid name
assert_throws_js: function "function() { var h = new Headers(proxy); }" did not throw
assert_throws_js: function "function() { var h = new Headers(proxy); }" did not throw
FAILCorrect operation ordering with two properties one of which has an invalid value
assert_throws_js: function "function() { var h = new Headers(proxy); }" did not throw
assert_throws_js: function "function() { var h = new Headers(proxy); }" did not throw
FAILCorrect operation ordering with non-enumerable properties
assert_array_equals: lengths differ, expected array ["get", object "[object Object]", "c", object "[object Object]"] length 4, got ["getOwnPropertyDescriptor", object "[object Object]", "e"] length 3
assert_array_equals: lengths differ, expected array ["get", object "[object Object]", "c", object "[object Object]"] length 4, got ["getOwnPropertyDescriptor", object "[object Object]", "e"] length 3
FAILCorrect operation ordering with undefined descriptors
assert_array_equals: lengths differ, expected array ["get", object "[object Object]", "c", object "[object Object]"] length 4, got ["getOwnPropertyDescriptor", object "[object Object]", "e"] length 3
assert_array_equals: lengths differ, expected array ["get", object "[object Object]", "c", object "[object Object]"] length 4, got ["getOwnPropertyDescriptor", object "[object Object]", "e"] length 3
PASSCorrect operation ordering with repeated keys
FAILBasic operation with Symbol keys
assert_throws_js: function "function() { var h = new Headers(proxy); }" did not throw
assert_throws_js: function "function() { var h = new Headers(proxy); }" did not throw
FAILOperation with non-enumerable Symbol keys
assert_equals: expected 9 but got 8
assert_equals: expected 9 but got 8