I think this also applies: "NOTE: The lifetime of a browsing context can be unrelated
  to the lifetime of the actual user agent process itself, as the user
  agent may support resuming sessions after a restart."<br><br><div class="gmail_quote">On Fri, Apr 3, 2009 at 6:46 PM, Ian Hickson <span dir="ltr"><ian@hixie.ch></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="h5">On Fri, 3 Apr 2009, Boris Zbarsky wrote:<br>
> Ian Hickson wrote:<br>
> > The term "browsing context" in the spec basically corresponds to the<br>
> > session history exposed by window.history, and the outer "Window"<br>
> > object that the history is on.<br>
><br>
> How should this behave in a situation like Firefox's "undo close tab",<br>
> where the resulting tab has a brand-new window object but the<br>
> window.history has been deserialized from a string representation.  So<br>
> it's a new object, but has the same information in it as the old one<br>
> used to.<br>
><br>
> Presumably in such a case this should be treated as "the same" browsing<br>
> context in spite of the Window object being totally different?<br>
<br>
</div></div>>From the HTML5 spec's point of view, that's a new browsing context.<br>
There's a 1:1 mapping from "browsing context" to "outer Window" (called<br>
WindowProxy in the spec).<br>
<br>
However, the Web Storage spec allows for this case:<br>
<br>
| When a new top-level browsing context is created by cloning an existing<br>
| browsing context, the new browsing context must start with the same<br>
| session storage areas as the original, but the two sets must from that<br>
| point on be considered separate, not affecting each other in any way.<br>
<br>
This was originally intended to cover IE's "open new window"<br>
functionality, which options a new window with a cloned session history,<br>
but "Undo close tab" should be considered a case of cloning a browsing<br>
context too. It just happens that the underlying browsing context is no<br>
longer accessible from script.<br>
<div><div></div><div class="h5"><br>
--<br>
Ian Hickson               U+1047E                )\._.,--....,'``.    fL<br>
<a href="http://ln.hixie.ch/" target="_blank">http://ln.hixie.ch/</a>       U+263A                /,   _.. \   _\  ;`._ ,.<br>
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'<br>
</div></div></blockquote></div><br>