structured-serialize-detail.any.html

FAILExpected3 of 9 subtests pass1,108 ms

Details

Test
/user-timing/structured-serialize-detail.any.html
Harness
OK

Subtests

StatusSubtestMessage
FAILThe detail property in the mark constructor should be structured-clone.
assert_not_equals: got disallowed value object "[object Object]"
assert_not_equals: got disallowed value object "[object Object]"
FAILThe detail property in the mark method should be structured-clone.
assert_not_equals: got disallowed value object "[object Object]"
assert_not_equals: got disallowed value object "[object Object]"
PASSWhen accessing detail from a mark entry and the detail is not provided, just return a null value.
FAILMark: Throw an exception when the detail property cannot be structured-serialized.
assert_throws_dom: Trying to structured-serialize a Symbol. function "()=>{ new PerformanceMark("A", { detail }); }" did not throw
assert_throws_dom: Trying to structured-serialize a Symbol. function "()=>{ new PerformanceMark("A", { detail }); }" did not throw
FAILThe detail property in the measure method should be structured-clone.
assert_not_equals: got disallowed value object "[object Object]"
assert_not_equals: got disallowed value object "[object Object]"
PASSThe detail property in the measure method should be the same reference.
PASSWhen accessing detail from a measure entry and the detail is not provided, just return a null value.
FAILMeasure: Throw an exception when the detail property cannot be structured-serialized.
assert_throws_dom: Trying to structured-serialize a Symbol. function "()=>{ performance.measure("A", { start: 0, detail }); }" did not throw
assert_throws_dom: Trying to structured-serialize a Symbol. function "()=>{ performance.measure("A", { start: 0, detail }); }" did not throw
FAILThe detail object is cloned when passed to mark API.
assert_equals: expected 1 but got 2
assert_equals: expected 1 but got 2