WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 256617
203711
SVGAnimatedNumber should throw a TypeError exception when setting its baseVal to NaN or Infinity
https://bugs.webkit.org/show_bug.cgi?id=203711
Summary
SVGAnimatedNumber should throw a TypeError exception when setting its baseVal...
Said Abou-Hallawa
Reported
2019-10-31 18:12:41 PDT
The specs:
https://www.w3.org/TR/SVG/types.html#InterfaceSVGAnimatedNumber
do not say that this should happen. But the WPT test
https://wpt.fyi/results/svg/types/scripted/SVGAnimatedNumber.html?label=master&label=experimental&aligned
expects this to happen. I think throwing an exception and keeping the value unchanged is much better than setting it to NaN.
Attachments
Patch
(6.72 KB, patch)
2019-10-31 18:16 PDT
,
Said Abou-Hallawa
sabouhallawa
: review?
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Said Abou-Hallawa
Comment 1
2019-10-31 18:16:56 PDT
Created
attachment 382531
[details]
Patch
Ahmad Saleem
Comment 2
2023-01-01 06:22:32 PST
Safari Technology Preview 160 is still failing this test case:
https://wpt.fyi/results/svg/types/scripted/SVGAnimatedNumber.html?label=master&label=experimental&aligned&view=subtest&q=svganimatednumber
Ahmad Saleem
Comment 3
2023-05-12 02:33:59 PDT
I progressed this with following Commit -
https://github.com/WebKit/WebKit/commit/300c734d4a81735113dc5cfd69d327715a96b883
Do we need this anymore?
Said Abou-Hallawa
Comment 4
2024-09-09 13:32:31 PDT
No. This is not needed.
bug 256617
has a better way to fix this issue. *** This bug has been marked as a duplicate of
bug 256617
***
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