Re: PeerConnection and the bfcache

On 11/28/2011 10:49 PM, Ian Hickson wrote:
> As part of removing the PeerConnection interface from the WHATWG spec, I
> also removed this paragraph which was not included in the webrtc.html
> file from which this WG's spec was forked:
>
> -<li>
> -
> -<p>If the<code>Document</code>'s<code>Window</code>  object<span
> -    title="concept-PeerConnection-owner">owns</span>  any
> -<code>PeerConnection</code>  objects whose
> -<span><code>PeerConnection</code>  readiness state</span>  is not
> -<code title="dom-PeerConnection-CLOSED">CLOSED</code>, then set
> -<code>Document</code>'s<var
> -    title="concept-document-salvageable">salvageable</var>  state to
> -    false.</p>
> -
> -</li>
>
> This was part of the unloading document cleanup steps:
> http://www.whatwg.org/specs/web-apps/current-work/#unloading-document-cleanup-steps
>
> The WebRTC spec should define an unloading document cleanup step that
> consists of something equivalent to the above to avoid having documents
> with open PeerConnection objects survive in the bfcache.
Thanks very much for the heads-up!

The editors will do this together with some other cleanup to align with 
current practice.

Received on Tuesday, 29 November 2011 05:02:57 UTC