Bug 207258 - [GTK] imported/w3c/web-platform-tests/html/infrastructure/safe-passing-of-structured-data/transfer-errors.window.html fails since r255315
Summary: [GTK] imported/w3c/web-platform-tests/html/infrastructure/safe-passing-of-str...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Canvas (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Diego Pino
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-02-05 04:25 PST by Diego Pino
Modified: 2022-01-02 22:32 PST (History)
2 users (show)

See Also:


Attachments
[fast-cq] Patch (7.54 KB, patch)
2022-01-02 22:25 PST, Diego Pino
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Pino 2020-02-05 04:25:04 PST
* 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
Comment 1 Diego Pino 2022-01-02 22:25:39 PST
Created attachment 448206 [details]
[fast-cq] Patch
Comment 2 EWS 2022-01-02 22:31:32 PST
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].
Comment 3 Radar WebKit Bug Importer 2022-01-02 22:32:22 PST
<rdar://problem/87059099>