[Webkit-unassigned] [Bug 249323] Make Attr.value/nodeValue/textContent not nullable

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 4 06:53:04 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=249323

--- Comment #4 from Ahmad Saleem <ahmad.saleem792 at gmail.com> ---
void Attr::setNodeValue(const String& value)
{
    const AtomString valueWithoutNull = value.isNull() ? emptyAtom() : AtomString(value);
    setValue(valueWithoutNull);
}

^ This fixes failing test case locally. Can do PR later. Thanks!

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230704/372d9a97/attachment.htm>


More information about the webkit-unassigned mailing list