From 3fdb4c0545624583cd5e2495a8fa17e24918f4bb Mon Sep 17 00:00:00 2001 From: Diego Pino Garcia Date: Mon, 3 Jan 2022 06:30:23 +0000 Subject: [PATCH] [GTK] Unreviewed test gardening, update baseline for imported/w3c/web-platform-tests/html/infrastructure/safe-passing-of-structured-data/transfer-errors.window.html https://bugs.webkit.org/show_bug.cgi?id=207258 * platform/glib/TestExpectations: * platform/glib/imported/w3c/web-platform-tests/html/infrastructure/safe-passing-of-structured-data/transfer-errors.window-expected.txt: Canonical link: https://commits.webkit.org/245665@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@287530 268f45cc-cd09-0410-ab3c-d52691b4dbfc --- LayoutTests/ChangeLog | 8 ++++++++ LayoutTests/platform/glib/TestExpectations | 1 - .../transfer-errors.window-expected.txt | 18 +++++++++--------- 3 files changed, 17 insertions(+), 10 deletions(-) diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog index d454182895e3..f16d0c958bc4 100644 --- a/LayoutTests/ChangeLog +++ b/LayoutTests/ChangeLog @@ -1,3 +1,11 @@ +2022-01-02 Diego Pino Garcia + + [GTK] Unreviewed test gardening, update baseline for imported/w3c/web-platform-tests/html/infrastructure/safe-passing-of-structured-data/transfer-errors.window.html + https://bugs.webkit.org/show_bug.cgi?id=207258 + + * platform/glib/TestExpectations: + * platform/glib/imported/w3c/web-platform-tests/html/infrastructure/safe-passing-of-structured-data/transfer-errors.window-expected.txt: + 2022-01-02 Manuel Rego Casasnovas Access key should work on focusable element. diff --git a/LayoutTests/platform/glib/TestExpectations b/LayoutTests/platform/glib/TestExpectations index def0859eb5e7..1d958e2f05f4 100644 --- a/LayoutTests/platform/glib/TestExpectations +++ b/LayoutTests/platform/glib/TestExpectations @@ -2252,7 +2252,6 @@ webkit.org/b/206885 imported/w3c/web-platform-tests/css/css-fonts/standard-font- webkit.org/b/206885 imported/w3c/web-platform-tests/css/css-fonts/standard-font-family-7.html [ Pass ] webkit.org/b/206885 imported/w3c/web-platform-tests/css/css-fonts/standard-font-family.html [ Pass ] webkit.org/b/207255 webanimations/transform-accelerated-animation-removed-one-frame-after-finished-promise.html [ Failure ] -webkit.org/b/207258 imported/w3c/web-platform-tests/html/infrastructure/safe-passing-of-structured-data/transfer-errors.window.html [ Failure ] webkit.org/b/207574 [ Debug ] imported/w3c/web-platform-tests/css/css-backgrounds/background-size/vector/tall--auto-32px--nonpercent-width-omitted-height.html [ Crash ] webkit.org/b/207574 [ Debug ] imported/w3c/web-platform-tests/css/css-backgrounds/background-size/vector/tall--auto-32px--nonpercent-width-omitted-height-viewbox.html [ Crash ] webkit.org/b/207574 [ Debug ] imported/w3c/web-platform-tests/css/css-backgrounds/background-size/vector/tall--auto-32px--nonpercent-width-percent-height.html [ Crash ] diff --git a/LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/infrastructure/safe-passing-of-structured-data/transfer-errors.window-expected.txt b/LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/infrastructure/safe-passing-of-structured-data/transfer-errors.window-expected.txt index fabb62a6348a..89cfcd7715d3 100644 --- a/LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/infrastructure/safe-passing-of-structured-data/transfer-errors.window-expected.txt +++ b/LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/infrastructure/safe-passing-of-structured-data/transfer-errors.window-expected.txt @@ -1,19 +1,19 @@ PASS Cannot transfer all objects -FAIL Cannot transfer the same ArrayBuffer twice assert_throws: function "() => self.postMessage({ get whatever() { throw new Error("You should not have gotten to this point") } }, "*", transferList)" threw object "Error: You should not have gotten to this point" that is not a DOMException DataCloneError: property "code" is equal to undefined, expected 25 +PASS Cannot transfer the same ArrayBuffer twice PASS Serialize should make the ArrayBuffer detached, so it cannot be transferred again -FAIL Serialize should throw before a detached ArrayBuffer is found assert_throws: function "() => self.postMessage({ get whatever() { throw customError } }, "*", [transferable])" threw object "DataCloneError: The object can not be cloned." ("DataCloneError") expected object "Error: hi" ("Error") -FAIL Cannot transfer ArrayBuffer detached while the message was serialized assert_throws: function "() => self.postMessage(message, "*", [transferable])" threw object "TypeError: Type error" that is not a DOMException DataCloneError: property "code" is equal to undefined, expected 25 -FAIL Cannot transfer the same MessagePort twice assert_throws: function "() => self.postMessage({ get whatever() { throw new Error("You should not have gotten to this point") } }, "*", transferList)" threw object "Error: You should not have gotten to this point" that is not a DOMException DataCloneError: property "code" is equal to undefined, expected 25 +FAIL Serialize should throw before a detached ArrayBuffer is found assert_throws_exactly: function "() => self.postMessage({ get whatever() { throw customError } }, "*", [transferable])" threw object "DataCloneError: The object can not be cloned." but we expected it to throw object "Error: hi" +FAIL Cannot transfer ArrayBuffer detached while the message was serialized assert_throws_dom: function "() => self.postMessage(message, "*", [transferable])" threw object "TypeError: Type error" that is not a DOMException DataCloneError: property "code" is equal to undefined, expected 25 +PASS Cannot transfer the same MessagePort twice PASS Serialize should make the MessagePort detached, so it cannot be transferred again PASS Serialize should throw before a detached MessagePort is found PASS Cannot transfer MessagePort detached while the message was serialized PASS Cannot transfer the same ImageBitmap twice PASS Serialize should make the ImageBitmap detached, so it cannot be transferred again -FAIL Serialize should throw before a detached ImageBitmap is found assert_throws: function "() => self.postMessage({ get whatever() { throw customError } }, "*", [transferable])" threw object "DataCloneError: The object can not be cloned." ("DataCloneError") expected object "Error: hi" ("Error") -FAIL Cannot transfer ImageBitmap detached while the message was serialized assert_throws: function "() => self.postMessage(message, "*", [transferable])" did not throw +FAIL Serialize should throw before a detached ImageBitmap is found assert_throws_exactly: function "() => self.postMessage({ get whatever() { throw customError } }, "*", [transferable])" threw object "DataCloneError: The object can not be cloned." but we expected it to throw object "Error: hi" +FAIL Cannot transfer ImageBitmap detached while the message was serialized assert_throws_dom: function "() => self.postMessage(message, "*", [transferable])" did not throw 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 Serialize should make the OffscreenCanvas detached, so it cannot be transferred again assert_throws_dom: function "() => self.postMessage(null, "*", [transferable])" threw object "InvalidStateError: The object is in an invalid state." that is not a DOMException DataCloneError: property "code" is equal to 11, expected 25 +FAIL Serialize should throw before a detached OffscreenCanvas is found assert_throws_exactly: function "() => self.postMessage({ get whatever() { throw customError } }, "*", [transferable])" threw object "InvalidStateError: The object is in an invalid state." but we expected it to throw object "Error: hi" +FAIL Cannot transfer OffscreenCanvas detached while the message was serialized assert_throws_dom: function "() => self.postMessage(message, "*", [transferable])" did not throw