PeerConnection and the bfcache

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.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Monday, 28 November 2011 21:50:23 UTC