This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 13812 - The EventSource garbage collection does not mention open/error events. It also does not seem to match the language entirely of WebSocket garbage collection.
Summary: The EventSource garbage collection does not mention open/error events. It als...
Status: RESOLVED FIXED
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: HISTORICAL - Server-Sent Events (editor: Ian Hickson) (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: public-webapps-bugzilla
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-17 22:43 UTC by contributor
Modified: 2011-10-04 19:58 UTC (History)
5 users (show)

See Also:


Attachments

Description contributor 2011-08-17 22:43:43 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/complete/timers.html
Multipage: http://www.whatwg.org/C#garbage-collection-1
Complete: http://www.whatwg.org/c#garbage-collection-1

Comment:
The EventSource garbage collection does not mention open/error events. It also
does not seem to match the language entirely of WebSocket garbage collection.

Posted from: 83.85.115.123 by annevk@opera.com
User agent: Opera/9.80 (Macintosh; Intel Mac OS X 10.7.1; U; en) Presto/2.9.168 Version/11.50
Comment 1 Anne 2011-08-18 09:09:02 UTC
In particular it uses the term "strong reference" which WebSocket does not.
Comment 2 Ian 'Hixie' Hickson 2011-10-04 19:56:02 UTC
Not matching the language isn't a big deal; they have different behaviour. I've fixed the other thing though.
Comment 3 contributor 2011-10-04 19:58:40 UTC
Checked in as WHATWG revision r6624.
Check-in comment: Rephrase how EventSource is protected from garbage collection to make more sense. Note that EventSource objects are allowed to survive the bfcache (unlike, say, WebSocket connections).
http://html5.org/tools/web-apps-tracker?from=6623&to=6624