headers-record.any.html
Details
- Test
/fetch/api/headers/headers-record.any.html- Harness
- OK
Subtests
| Status | Subtest |
|---|---|
| PASS | Passing nothing to Headers constructor |
| PASS | Passing undefined to Headers constructor |
| PASS | Passing null to Headers constructor |
| PASS | Basic operation with one property |
| PASS | Basic operation with one property and a proto |
| FAIL | Correct 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 |
| FAIL | Correct 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 |
| FAIL | Correct 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 |
| FAIL | Correct 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 |
| FAIL | Correct 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 |
| PASS | Correct operation ordering with repeated keys |
| FAIL | Basic operation with Symbol keys assert_throws_js: function "function() { var h = new Headers(proxy); }" did not throw |
| FAIL | Operation with non-enumerable Symbol keys assert_equals: expected 9 but got 8 |