NEW 266893
Sync 'DataTransfer*' with IDL Web Specification
https://bugs.webkit.org/show_bug.cgi?id=266893
Summary Sync 'DataTransfer*' with IDL Web Specification
Ahmad Saleem
Reported 2023-12-26 10:23:01 PST
Hi Team, While looking into 'DataTransfer' related failures, I noted that we have few stuff to sync with web-specification: Source/WebCore/dom/DataTransfer.idl: -> Add web-spec link: https://html.spec.whatwg.org/multipage/dnd.html#the-datatransfer-interface Source/WebCore/dom/DataTransferItem.idl: -> Add web-spec link: https://html.spec.whatwg.org/multipage/dnd.html#the-datatransferitem-interface -> Change following: File getAsFile(); to File? getAsFile(); Source/WebCore/dom/DataTransferItemList.idl: -> Add web-spec link: https://html.spec.whatwg.org/multipage/dnd.html#the-datatransferitemlist-interface -> Change following: readonly attribute long length; to readonly attribute unsigned long length; -> Change following: getter DataTransferItem item(unsigned long index); to getter DataTransferItem (unsigned long index); ___ These are few quick ones, it might have one or two more stuff but just wanted to raise, so we can do these changes and fix it. Thanks!
Attachments
Radar WebKit Bug Importer
Comment 1 2024-01-02 10:23:30 PST
Ahmad Saleem
Comment 2 2024-02-04 05:46:49 PST
As mentioned by Anne on PR - https://github.com/WebKit/WebKit/pull/23827 , it needs test coverage.
Note You need to log in before you can comment on or make changes to this bug.