https://www.w3.org/Bugs/Public/show_bug.cgi?id=28823
Bug ID: 28823 Summary: Course of action even after Event Source retry failure. Product: WebAppsWG Version: unspecified Hardware: All OS: All Status: NEW Severity: normal Priority: P2 Component: Server-Sent Events (editor: Ian Hickson) Assignee: i...@hixie.ch Reporter: hiremathprasha...@gmail.com QA Contact: public-webapps-bugzi...@w3.org CC: m...@w3.org, public-webapps@w3.org As per the spec https://html.spec.whatwg.org/multipage/comms.html#processing-model-10 , when EventSource fail to establish the connection first time, it should retry to connect to given URL after time specified in the "retry" field/UA default value. But Spec doesn't tell specifically what should be done if retry attempt fails. And since this "retry" field is in seconds, Browser should try only once or is it retry interval(i.e browser should keep on retrying after every retry seconds). For eg: var evtSource = new EventSource("http://www.test.not") evtSource.onerror = function() { console.log(evtSource.readyState); } In above case Browsers behavior is : Firefox retries only once and if it fails to establish the connection to given URL it closes the connection. But Blinks keep on retrying for given URL with readyState set to CONNECTING. Can spec be more specific on this i.e what should be done if it fails to connect even after retry? -- You are receiving this mail because: You are on the CC list for the bug.