* imported/w3c/web-platform-tests/html/infrastructure/safe-passing-of-structured-data/transfer-errors.window.html [ Failure ] Diff: -PASS Cannot transfer the same OffscreenCanvas twice -FAIL Serialize should make the OffscreenCanvas detached, so it cannot be transferred again promise_test: Unhandled rejection with value: object "DataCloneError: The object can not be cloned." -FAIL Serialize should throw before a detached OffscreenCanvas is found promise_test: Unhandled rejection with value: object "DataCloneError: The object can not be cloned." -FAIL Cannot transfer OffscreenCanvas detached while the message was serialized assert_true: expected true got false +FAIL Cannot transfer the same OffscreenCanvas twice assert_throws: function "() => self.postMessage({ get whatever() { throw new Error("You should not have gotten to this point") } }, "*", transferList)" threw +FAIL Serialize should make the OffscreenCanvas detached, so it cannot be transferred again assert_throws: function "() => self.postMessage(null, "*", [transferable])" threw object "InvalidStateError: The object +FAIL Serialize should throw before a detached OffscreenCanvas is found assert_throws: function "() => self.postMessage({ get whatever() { throw customError } }, "*", [transferable])" threw object "InvalidStateE +FAIL Cannot transfer OffscreenCanvas detached while the message was serialized assert_throws: function "() => self.postMessage(message, "*", [transferable])" did not throw
Created attachment 448206 [details] [fast-cq] Patch
Committed r287530 (245665@main): <https://commits.webkit.org/245665@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 448206 [details].
<rdar://problem/87059099>