Bug 266893
Summary: | Sync 'DataTransfer*' with IDL Web Specification | ||
---|---|---|---|
Product: | WebKit | Reporter: | Ahmad Saleem <ahmad.saleem792> |
Component: | DOM | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | webkit-bug-importer, wenson_hsieh |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Ahmad Saleem
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/120376716>
Ahmad Saleem
As mentioned by Anne on PR - https://github.com/WebKit/WebKit/pull/23827 , it needs test coverage.