structured-serialize-detail.any.html
Details
- Test
/user-timing/structured-serialize-detail.any.html- Harness
- OK
Subtests
| Status | Subtest |
|---|---|
| FAIL | The detail property in the mark constructor should be structured-clone. assert_not_equals: got disallowed value object "[object Object]" |
| FAIL | The detail property in the mark method should be structured-clone. assert_not_equals: got disallowed value object "[object Object]" |
| PASS | When accessing detail from a mark entry and the detail is not provided, just return a null value. |
| FAIL | Mark: 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 |
| FAIL | The detail property in the measure method should be structured-clone. assert_not_equals: got disallowed value object "[object Object]" |
| PASS | The detail property in the measure method should be the same reference. |
| PASS | When accessing detail from a measure entry and the detail is not provided, just return a null value. |
| FAIL | Measure: 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 |
| FAIL | The detail object is cloned when passed to mark API. assert_equals: expected 1 but got 2 |