mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02:00
LibWeb: Implement DataTransfer.prototype.getData()
This is used by Google Lens. It will always return the empty string when dragging an image onto the Google Lens search field.
This commit is contained in:
committed by
Andreas Kling
parent
0b0d44da27
commit
535f03b6cf
Notes:
github-actions[bot]
2024-08-22 12:23:15 +00:00
Author: https://github.com/trflynn89 Commit: https://github.com/LadybirdBrowser/ladybird/commit/535f03b6cf6 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1158 Reviewed-by: https://github.com/shannonbooth
@@ -14,7 +14,7 @@ interface DataTransfer {
|
||||
|
||||
// old interface
|
||||
readonly attribute sequence<DOMString> types; // FIXME: This should be FrozenArray<DOMString>
|
||||
[FIXME] DOMString getData(DOMString format);
|
||||
DOMString getData(DOMString format);
|
||||
[FIXME] undefined setData(DOMString format, DOMString data);
|
||||
[FIXME] undefined clearData(optional DOMString format);
|
||||
[SameObject] readonly attribute FileList files;
|
||||
|
||||
Reference in New Issue
Block a user