You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current prose on setLocalDescription reads [[LastCreatedOffer]] and [[LastCreatedAnswer]] on method entry. This is the wrong time, and may produce the wrong result if other methods are enqueued. For example, it would fail in the FIFO peer case:
Here, all three promise-returning negotiation methods are invoked at the same time, which means setLocalDescription would read [[LastCreatedAnswer]] before the createAnswer has succeeded (or even begun the in-parallel part of its algorithm). This would cause SLD to either fail (if [[LastCreatedAnswer]] was null, or apply an outdated answer.
Instead, we need to read these internal slots in the enqueued steps.
The text was updated successfully, but these errors were encountered:
The current prose on setLocalDescription reads [[LastCreatedOffer]] and [[LastCreatedAnswer]] on method entry. This is the wrong time, and may produce the wrong result if other methods are enqueued. For example, it would fail in the FIFO peer case:
Here, all three promise-returning negotiation methods are invoked at the same time, which means
setLocalDescription
would read[[LastCreatedAnswer]]
before the createAnswer has succeeded (or even begun the in-parallel part of its algorithm). This would cause SLD to either fail (if[[LastCreatedAnswer]]
wasnull
, or apply an outdated answer.Instead, we need to read these internal slots in the enqueued steps.
The text was updated successfully, but these errors were encountered: