RESOLVED FIXED264673
Sync 'setSelectionRange' in 'HTMLTextAreaElement.idl' from WebIDL Specification
https://bugs.webkit.org/show_bug.cgi?id=264673
Summary Sync 'setSelectionRange' in 'HTMLTextAreaElement.idl' from WebIDL Specification
Ahmad Saleem
Reported 2023-11-11 06:11:31 PST
Hi Team, While going through WPT failures, I noticed that we are failing two test cases: Test Case: https://wpt.fyi/results/html/dom/idlharness.https.html%3Finclude=HTML.*?label=master&label=experimental&aligned&q=safari%3Afail%20idlharness >> HTMLTextAreaElement interface: operation setSelectionRange(unsigned long, unsigned long, optional DOMString) >> HTMLTextAreaElement interface: calling setSelectionRange(unsigned long, unsigned long, optional DOMString) on document.createElement("textarea") with too few arguments must throw TypeError ___ Web-Spec: https://html.spec.whatwg.org/multipage/form-elements.html#htmltextareaelement Current: [ImplementedAs=setSelectionRangeForBindings] undefined setSelectionRange(optional unsigned long start = 0, optional unsigned long end = 0, optional DOMString direction); to [ImplementedAs=setSelectionRangeForBindings] undefined setSelectionRange(unsigned long start, unsigned long end, optional DOMString direction); It compiles and progress both above test cases ____ Just wanted to raise so can fix them. Thanks!
Attachments
EWS
Comment 1 2023-11-11 15:52:53 PST
Committed 270605@main (3a15e783eb81): <https://commits.webkit.org/270605@main> Reviewed commits have been landed. Closing PR #20367 and removing active labels.
Radar WebKit Bug Importer
Comment 2 2023-11-11 15:53:13 PST
Note You need to log in before you can comment on or make changes to this bug.