Bug 264543

Summary: Throw exception if querying SVGAnimationElement with unresolved interval
Product: WebKit Reporter: Ahmad Saleem <ahmad.saleem792>
Component: SVGAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: sabouhallawa, webkit-bug-importer, zimmermann
Priority: P2 Keywords: BrowserCompat, InRadar, WPTImpact
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Ahmad Saleem 2023-11-09 18:10:31 PST
Hi Team,

While trying to look for WPT failures, I noticed three failures:

WPT: https://wpt.fyi/results/svg/animations/scripted?label=master&label=experimental&aligned=&q=svganimationelement

> SVGAnimationElement-exceptions.html
> SVGAnimationElement-getStartTime.html

^ Only Safari / WebKit fails them. So I will add 'BrowserCompat' tag along with 'WPTImpact' tag.

Blink Commit (to merge): https://src.chromium.org/viewvc/blink?view=revision&revision=194141

Web-Spec: https://svgwg.org/specs/animations/#InterfaceSVGAnimationElement

In 'Operations:' section.

___

Just wanted to raise so we can fix it. I am doing local testing to see if I can fix it or not.

Thanks!
Comment 1 Ahmad Saleem 2023-11-09 19:06:20 PST
PR - https://github.com/WebKit/WebKit/pull/20280 (not merging Blink commit since I was able to do it but used it as reference only).

Exception changes are easy. :-)
Comment 2 EWS 2023-11-10 02:26:39 PST
Committed 270519@main (73237f2bdac8): <https://commits.webkit.org/270519@main>

Reviewed commits have been landed. Closing PR #20280 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2023-11-10 02:27:16 PST
<rdar://problem/118227343>