WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
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
Committed
r231294
: <
https://trac.webkit.org/changeset/231294
>
Radar WebKit Bug Importer
Comment 3
2018-05-02 20:41:25 PDT
<
rdar://problem/39930646
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug