[Webkit-unassigned] [Bug 250276] Adjust error-handling for invalid filter primitive references

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 8 16:38:21 PDT 2024


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

--- Comment #6 from Ahmad Saleem <ahmad.saleem792 at gmail.com> ---
This compiles and fixes this test case:

    RefPtr<NodeType> getNamedNode(const AtomString& id) const
    {
        if (!id.isEmpty()) {
            if (m_sourceNodes.contains(id))
                return m_sourceNodes.get(id);

            if (m_namedNodes.contains(id))
                return m_namedNodes.get(id);
        }

        if (m_lastNode)
            return m_lastNode;

        return sourceGraphic();
    }

in https://searchfox.org/wubkat/rev/7bf250e4832adfb28c2bf2bc518ad59958f2ae1b/Source/WebCore/svg/graphics/filters/SVGFilterGraph.h#78

For LBSE - there isn't any improvement or regression.

-- 
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/20240508/1031de7d/attachment.htm>


More information about the webkit-unassigned mailing list