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 25833 - change the definition of "enqueue a task" as EKR slides May 20
Summary: change the definition of "enqueue a task" as EKR slides May 20
Status: RESOLVED LATER
Alias: None
Product: WebRTC Working Group
Classification: Unclassified
Component: WebRTC API (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Martin Thomson
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 25834
  Show dependency treegraph
 
Reported: 2014-05-20 20:14 UTC by Cullen Jennings
Modified: 2014-12-15 10:39 UTC (History)
3 users (show)

See Also:


Attachments

Description Cullen Jennings 2014-05-20 20:14:57 UTC

    
Comment 1 Martin Thomson 2014-05-21 03:14:59 UTC
As I proposed during the meeting, the plan is to describe "enqueue a task" as:

 if the pc is closed, throw InvalidStateError
 add a task to a queue

when the pc is closed, flush the queue, firing all callbacks with CancelledError (or something like that)
Comment 2 Harald Alvestrand 2014-10-31 17:41:56 UTC
The wording used is "queue a task", which is defined in HTML5, but the change is specific to PeerConnection task queueing.

PR needs to be generated.
Comment 3 Martin Thomson 2014-10-31 17:55:08 UTC
This needs to also clarify that there is a single queue for the peer connection.
Comment 4 Martin Thomson 2014-11-04 23:15:33 UTC
https://github.com/w3c/webrtc-pc/pull/22

I've not overridden the meaning of "queue a task", which is needed to manage dispatch from other (conceptual) threads.  I've invented a new phrase that identifies the special RTCPeerConnection task queue.
Comment 5 Dominique Hazael-Massieux 2014-12-15 10:39:46 UTC
WebRTC API bugs have been moved to github issues: https://github.com/w3c/webrtc-pc/issues

Please subscribe to the issues you want to keep watching.