| Summary: | Get rid of HTMLInputElement::setEditingValue | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Michael Catanzaro <mcatanzaro> | ||||||
| Component: | Forms | Assignee: | Michael Catanzaro <mcatanzaro> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | bugs-noreply, cdumez, cgarcia, darin, mcatanzaro, webkit-bug-importer, wenson_hsieh, zalan | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | WebKit Nightly Build | ||||||||
| Hardware: | PC | ||||||||
| OS: | Linux | ||||||||
| See Also: |
https://bugs.webkit.org/show_bug.cgi?id=195708 https://bugs.webkit.org/show_bug.cgi?id=196417 |
||||||||
| Attachments: |
|
||||||||
|
Description
Michael Catanzaro
2019-03-29 11:54:26 PDT
Created attachment 366291 [details]
Patch
Created attachment 366334 [details]
Patch
Thanks for the review. I'll wait for Carlos to approve the GLib API changes before committing. Comment on attachment 366334 [details]
Patch
I don't understand why we have to add new function and deprecate the old one, we could simply change the existing function to use setValueForUser and applications won't have to do anything.
(In reply to Carlos Garcia Campos from comment #4) > I don't understand why we have to add new function and deprecate the old > one, we could simply change the existing function to use setValueForUser and > applications won't have to do anything. Of course we don't have to. It's totally optional. Exposing set_value_for_user() is really just a nicer name. If you don't want it, I'll remove it and not deprecate anything. Applications don't have to do anything either way, because I did change the existing function to use setValueForUser. (But to avoid the deprecation warning they would need to change to the new name, of course.) (In reply to Michael Catanzaro from comment #5) > (In reply to Carlos Garcia Campos from comment #4) > > I don't understand why we have to add new function and deprecate the old > > one, we could simply change the existing function to use setValueForUser and > > applications won't have to do anything. > > Of course we don't have to. It's totally optional. Exposing > set_value_for_user() is really just a nicer name. If you don't want it, I'll > remove it and not deprecate anything. > > Applications don't have to do anything either way, because I did change the > existing function to use setValueForUser. (But to avoid the deprecation > warning they would need to change to the new name, of course.) I think it's easier to avoid the new method. *** Bug 196417 has been marked as a duplicate of this bug. *** |