Closed Bug 2091438 Opened 10 days ago Closed 5 days ago

[wpt-sync] Sync PR 64461 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=329537

Categories

(Core :: DOM: Copy & Paste and Drag & Drop, task, P4)

task

Tracking

()

RESOLVED FIXED
162 Branch
Tracking Status
firefox162 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 64461 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/64461
Details from upstream follow.

Anne van Kesteren <annevk@annevk.nl> wrote:

WebKit export of https://bugs.webkit.org/show_bug.cgi?id=329537

WebKit export from bug: Async clipboard should UTF-<!---->8 decode text blobs it writes

<pre>
Async clipboard should UTF-8 decode text blobs it writes

The Clipboard API's write blobs and option to the clipboard algorithm UTF-8 decodes each blob it
writes. For text/plain, text/html, and text/uri-list blobs, ClipboardItemBindingsDataSource read
them the way FileReader's readAsText() does instead, which switches to UTF-16 when the data starts
with a UTF-16 byte order mark. Read them with FileReaderLoader::ReadAsUTF8Text, as Blob's text()
does since <a href="https://commits.webkit.org/324356@main">324356@main</a>.

WebKit-Bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=329537">https://bugs.webkit.org/show_bug.cgi?id=329537</a>
</pre>

Component: web-platform-tests → DOM: Copy & Paste and Drag & Drop
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 4 tests and 2 subtests

Status Summary

Firefox

OK : 1[GitHub] 4[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS: 5[GitHub] 11[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]

Chrome

OK : 1
PASS: 3
FAIL: 2

Safari

OK : 1
PASS: 3
FAIL: 2

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /clipboard-apis/text-write-read/async-writeText-readText.https.html [wpt.fyi]: OK [Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt], SKIP [Gecko-windows11-32-25h2-opt]

Tests Disabled in Gecko Infrastructure

Status: NEW → RESOLVED
Closed: 5 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
You need to log in before you can comment on or make changes to this bug.