RESOLVED FIXED 185227
Remove superfluous check for a null attribute value check in Element::removeAttributeInternal
https://bugs.webkit.org/show_bug.cgi?id=185227
Summary Remove superfluous check for a null attribute value check in Element::removeA...
Ryosuke Niwa
Reported 2018-05-02 16:47:37 PDT
Element::removeAttributeInternal has a check for valueBeingRemoved.isNull() before calling willModifyAttribute. But this is impossible because attribute value is always empty string or a string of at least length 1.
Attachments
Removes the code (1.38 KB, patch)
2018-05-02 16:59 PDT, Ryosuke Niwa
cdumez: review+
Ryosuke Niwa
Comment 1 2018-05-02 16:59:17 PDT
Created attachment 339365 [details] Removes the code
Ryosuke Niwa
Comment 2 2018-05-02 20:40:31 PDT
Radar WebKit Bug Importer
Comment 3 2018-05-02 20:41:25 PDT
Note You need to log in before you can comment on or make changes to this bug.