Bug 299047

Summary: REGRESSION(298715@main): SVG animation with finite 'max' and indefinite 'repeatDur` causes the web page to jetsam
Product: WebKit Reporter: Said Abou-Hallawa <sabouhallawa>
Component: New BugsAssignee: Said Abou-Hallawa <sabouhallawa>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=275293
Bug Depends on: 300482, 300483    
Bug Blocks:    
Attachments:
Description Flags
test case (will jetsam) none

Said Abou-Hallawa
Reported 2025-09-17 15:16:12 PDT
Created attachment 476781 [details] test case (will jetsam) Open the attached test case. Result: The web page will jetsam. This happens because this for-loop, which was added in 298715@main, will run for max(unsigned) which is 4 billions: for (unsigned i = 0; i < repeat - 1; ++i) smilEventSender().dispatchEventSoon(*this, eventNames().repeatEventEvent);
Attachments
test case (will jetsam) (302 bytes, text/html)
2025-09-17 15:16 PDT, Said Abou-Hallawa
no flags
Said Abou-Hallawa
Comment 1 2025-09-17 15:16:47 PDT
Said Abou-Hallawa
Comment 2 2025-09-17 15:54:13 PDT
EWS
Comment 3 2025-09-18 09:55:43 PDT
Committed 300165@main (19a1347c71e0): <https://commits.webkit.org/300165@main> Reviewed commits have been landed. Closing PR #50892 and removing active labels.
WebKit Commit Bot
Comment 4 2025-10-09 19:30:44 PDT
Re-opened since this is blocked by bug 300482
Said Abou-Hallawa
Comment 5 2025-10-12 21:09:40 PDT
EWS
Comment 6 2025-10-13 06:56:55 PDT
Committed 301404@main (9e3f17d2eca9): <https://commits.webkit.org/301404@main> Reviewed commits have been landed. Closing PR #52212 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.