From a41acdad52dbeebb7c4661c987b29eaba7045533 Mon Sep 17 00:00:00 2001
From: Domenic Denicola
Let thisTraversable be null.
Let thisTraversable be this's navigable.
For each top-level traversable - traversable of the user agent's top-level traversable set: if - traversable's active document's relevant - global object equals this, then set thisTraversable to - traversable and break.
If thisTraversable is null, then return.
- -In this case the method is being called on a Window
that does not
- correspond to a top-level traversable, and so closing is not allowed.
If thisTraversable is not a top-level traversable, then + return.
If thisTraversable's is closing is true, then return.
the incumbent global - object's node navigable is allowed by sandboxing to navigate - thisTraversable, given sourceSnapshotParams
then: