Summary

Harness status: OK

Found 4 tests

Details

ResultTest NameMessage
Passhistory.pushState(): simple case
Asserts run
Pass
assert_throws_dom("DataCloneError", function "() => {       history[method](new SharedArrayBuffer(), "dummy title");     }")
    at Test.<anonymous> ( /html/infrastructure/safe-passing-of-structured-data/shared-array-buffers/serialization-via-history.https.html:16:5)
Passhistory.pushState(): is interleaved correctly
Asserts run
Pass
assert_throws_dom("DataCloneError", function "() => {       history[method]([         { get x() { getter1Called = true; return 5; } },         new SharedArrayBuffer(),         { get x() { getter2Called = true; return 5; } }       ], "dummy title");     }")
    at Test.<anonymous> ( /html/infrastructure/safe-passing-of-structured-data/shared-array-buffers/serialization-via-history.https.html:24:5)
Pass
assert_true(true, "The getter before the SAB must have been called")
    at Test.<anonymous> ( /html/infrastructure/safe-passing-of-structured-data/shared-array-buffers/serialization-via-history.https.html:32:5)
Pass
assert_false(false, "The getter after the SAB must not have been called")
    at Test.<anonymous> ( /html/infrastructure/safe-passing-of-structured-data/shared-array-buffers/serialization-via-history.https.html:33:5)
Passhistory.replaceState(): simple case
Asserts run
Pass
assert_throws_dom("DataCloneError", function "() => {       history[method](new SharedArrayBuffer(), "dummy title");     }")
    at Test.<anonymous> ( /html/infrastructure/safe-passing-of-structured-data/shared-array-buffers/serialization-via-history.https.html:16:5)
Passhistory.replaceState(): is interleaved correctly
Asserts run
Pass
assert_throws_dom("DataCloneError", function "() => {       history[method]([         { get x() { getter1Called = true; return 5; } },         new SharedArrayBuffer(),         { get x() { getter2Called = true; return 5; } }       ], "dummy title");     }")
    at Test.<anonymous> ( /html/infrastructure/safe-passing-of-structured-data/shared-array-buffers/serialization-via-history.https.html:24:5)
Pass
assert_true(true, "The getter before the SAB must have been called")
    at Test.<anonymous> ( /html/infrastructure/safe-passing-of-structured-data/shared-array-buffers/serialization-via-history.https.html:32:5)
Pass
assert_false(false, "The getter after the SAB must not have been called")
    at Test.<anonymous> ( /html/infrastructure/safe-passing-of-structured-data/shared-array-buffers/serialization-via-history.https.html:33:5)