Bug 243227

Summary: [EventSource] Stop allowing trailing junk when parsing retry delay
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: WebCore Misc.Assignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
URL: https://html.spec.whatwg.org/multipage/server-sent-events.html#processField

Description Chris Dumez 2022-07-26 13:16:02 PDT
Stop allowing trailing junk when parsing retry delay for EventSource:
- https://html.spec.whatwg.org/multipage/server-sent-events.html#processField

This aligns our behavior with Blink and Gecko.
Comment 1 Chris Dumez 2022-07-26 13:17:14 PDT
Pull request: https://github.com/WebKit/WebKit/pull/2750
Comment 2 EWS 2022-07-27 16:36:11 PDT
Committed 252885@main (8d4846adfa1f): <https://commits.webkit.org/252885@main>

Reviewed commits have been landed. Closing PR #2750 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2022-07-27 16:37:15 PDT
<rdar://problem/97690876>