Bug 206653 - [GTK] Several WPT clipboard-apis tests are failing
Summary: [GTK] Several WPT clipboard-apis tests are failing
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on: 211979
Blocks:
  Show dependency treegraph
 
Reported: 2020-01-23 05:16 PST by Diego Pino
Modified: 2020-07-19 19:02 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Pino 2020-01-23 05:16:23 PST
* imported/w3c/web-platform-tests/clipboard-apis/async-navigator-clipboard-basics.https.html [ Failure ] Failing since r251279.
  * imported/w3c/web-platform-tests/clipboard-apis/async-write-text-read-dttext-manual.https.html [ Failure ] Failing since r252471-r252595.
  * imported/w3c/web-platform-tests/clipboard-apis/async-write-text-read-text-manual.https.html [ Failure ] Failing since r252471-r252626.

The last two tests fail because of a timeout reported by the harness framework.

--- /imported/w3c/web-platform-tests/clipboard-apis/async-write-text-read-dttext-manual.https-expected.txt
+++ /imported/w3c/web-platform-tests/clipboard-apis/async-write-text-read-dttext-manual.https-actual.txt
@@ -1,4 +1,6 @@
 Note: This is a manual test because it writes/reads to the shared system clipboard and thus cannot be run async with other tests that might interact with the clipboard.

-FAIL Verify write and read clipboard (DOMString) undefined is not an object (evaluating 'data.items.length')
+Harness Error (TIMEOUT), message = null

+TIMEOUT Verify write and read clipboard (DOMString) Test timed out

--- /imported/w3c/web-platform-tests/clipboard-apis/async-write-text-read-text-manual.https-expected.txt
+++ /imported/w3c/web-platform-tests/clipboard-apis/async-write-text-read-text-manual.https-actual.txt
@@ -1,4 +1,6 @@
 Note: This is a manual test because it writes/reads to the shared system clipboard and thus cannot be run async with other tests that might interact with the clipboard.

-PASS Verify write and read clipboard (DOMString) 
+Harness Error (TIMEOUT), message = null

+TIMEOUT Verify write and read clipboard (DOMString) Test timed out

The other failure is:

--- /imported/w3c/web-platform-tests/clipboard-apis/async-navigator-clipboard-basics.https-expected.txt
+++ /imported/w3c/web-platform-tests/clipboard-apis/async-navigator-clipboard-basics.https-actual.txt
@@ -6,6 +6,6 @@
 PASS navigator.clipboard.write(DOMString) fails (expect DataTransfer)
 PASS navigator.clipboard.writeText(DOMString) succeeds
 PASS navigator.clipboard.writeText() fails (expect DOMString) 
-FAIL navigator.clipboard.read() succeeds assert_true: expected true got false
-PASS navigator.clipboard.readText() succeeds 
+FAIL navigator.clipboard.read() succeeds promise_test: Unhandled rejection with value: object "NotAllowedError: The request is not allowed by the user agent or the platform in the current context, possibly because the user denied permission."
+FAIL navigator.clipboard.readText() succeeds promise_test: Unhandled rejection with value: object "NotAllowedError: The request is not allowed by the user agent or the platform in the current context, possibly because the user denied permission."