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.
Created attachment 339365 [details] Removes the code
Committed r231294: <https://trac.webkit.org/changeset/231294>
<rdar://problem/39930646>