Closed Bug 1879233 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 44459 - [Async Clipboard] Move `IsValidType` to `Clipboard::IsValidType`.

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
124 Branch
Tracking Status
firefox124 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

一丝 <yiorsi@gmail.com> wrote:

[Async Clipboard] Move IsValidType to Clipboard::IsValidType.

The refactoring allows us to use the generic format support logic in
more places. e.g. ``ClipboardItem.supportscan use it to detect the support ofimage/svg+xml` format.

Bug: 1483026

Change-Id: I1f93d2e75b0126b8a212103776fd083da4ff9ed4

Reviewed-on: https://chromium-review.googlesource.com/5278640
WPT-Export-Revision: 4dd842e097963d12722298cead9d143123182edd

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

CI Results

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

Total 1 tests and 13 subtests

Status Summary

Firefox

OK : 1
PASS: 12
FAIL: 1

Chrome

OK : 1
PASS: 10
FAIL: 3

Safari

OK : 1
PASS: 9
FAIL: 4

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/16d341c58be6 [wpt PR 44459] - [Async Clipboard] Use `supports` instead of `IsValidType`., a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 124 Branch
You need to log in before you can comment on or make changes to this bug.