[Webkit-unassigned] [Bug 279712] New: "supports" in ClipboardItem returns false in Safari

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Sep 14 07:07:01 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=279712

            Bug ID: 279712
           Summary: "supports" in ClipboardItem returns false in Safari
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
               URL: https://wpt.live/clipboard-apis/clipboard-item.https.h
                    tml
                OS: Unspecified
            Status: NEW
          Keywords: BrowserCompat
          Severity: Normal
          Priority: P2
         Component: HTML Editing
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: karlcow at apple.com
                CC: webkit-bug-importer at group.apple.com,
                    wenson_hsieh at apple.com

"supports" in ClipboardItem 

returns true on Chrome and Firefox
returns false on Safari. 

See https://w3c.github.io/clipboard-apis/#dom-clipboarditem-supports


7.2.4. supports(type)

This method must run the below steps:

If type is in mandatory data types or optional data types, then return true.
If not, then return false.


A couple of Web Platform Tests are failing because of this. 
https://wpt.live/clipboard-apis/clipboard-item.https.html

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240914/bf1f55f1/attachment.htm>


More information about the webkit-unassigned mailing list