WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
250276
Adjust error-handling for invalid filter primitive references
https://bugs.webkit.org/show_bug.cgi?id=250276
Summary
Adjust error-handling for invalid filter primitive references
Ahmad Saleem
Reported
2023-01-07 10:09:56 PST
Hi Team, While going through Blink's commit, I came across another failing test case: Test Case -
https://jsfiddle.net/xothm1vc/show
^ Safari 16.2 & STP160 only show two green rectangles. While Firefox Nightly 110 and Chrome Canary 111 show full green bar rectangle, not just two slots. Blink Commit -
https://chromium.googlesource.com/chromium/blink/+/ffa39ae78904542a2864e2cb7d1c16c24ee2324e
I haven't checked whether it is 1-1 merge or not but just wanted to raise for tracking. Thanks!
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-01-14 10:10:15 PST
<
rdar://problem/104262208
>
Ahmad Saleem
Comment 2
2023-05-07 04:17:26 PDT
WebKit ToT (
263769@main
) get full bar but half is 'red' while STP169 still shows only two rectangles. Just wanted to highlight small-progression.
Ahmad Saleem
Comment 3
2023-05-07 04:19:39 PDT
This commit removed 'SVGFilterBuilder.cpp' in WebKit -
https://commits.webkit.org/251522@main
Ahmad Saleem
Comment 4
2023-05-08 02:29:16 PDT
(In reply to Ahmad Saleem from
comment #2
)
> WebKit ToT (
263769@main
) get full bar but half is 'red' while STP169 still > shows only two rectangles. > > Just wanted to highlight small-progression.
This is with LBSE turned on. LBSE off is still same.
Ahmad Saleem
Comment 5
2023-11-09 15:26:19 PST
Something to do here ?:
https://searchfox.org/wubkat/source/Source/WebCore/svg/graphics/filters/SVGFilterGraph.h#64
Ahmad Saleem
Comment 6
2024-05-08 16:38:21 PDT
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.
EWS
Comment 7
2024-05-28 19:38:17 PDT
Committed
279421@main
(8e028375b9c5): <
https://commits.webkit.org/279421@main
> Reviewed commits have been landed. Closing PR #28314 and removing active labels.
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