diff --git a/index.html b/index.html index 8c798ea7..b4bb76f4 100644 --- a/index.html +++ b/index.html @@ -2222,7 +2222,7 @@

Sessions

Unless stated otherwise it is in the dismiss and notify state.

A session has an associated browsing context input -state map, which is a Weak Map with top-level browsing +state map, which is a weak map with top-level browsing contexts as keys, and input state objects as values. This is initially set to an empty map. @@ -4256,15 +4256,24 @@

Elements

representing a handle to a DOM node in a specific WebDriver session. +

A weak map is a map in which keys are held +weakly i.e. items are removed if the key object is garbaged collected, and +presence in the map does not prevent garbage collection. This acts as an +alternative to defining properties directly on the key objects. + +

Unlike the ECMAScript WeakMap, +a weak map can participate in the full set of operations available for +a Map. +

A WebDriver session has a browsing context group node -map, which is a weak map between a browsing context group +map, which is a weak map between a browsing context group and a node id map. -

A node id map is weak map between nodes and their +

A node id map is weak map between nodes and their corresponding WebDriver node id.

A WebDriver session has a navigable seen nodes map -which is a weak map between a [=navigable=] and a set. +which is a weak map between a [=navigable=] and a set.

To get a node given session, browsing context, and reference: @@ -4299,7 +4308,7 @@

Elements

  • If browsing context group node map does not contain browsing context group, set browsing context - group node map[browsing context group] to a new weak map. + group node map[browsing context group] to a new weak map.
  • Let node id map be browsing context group node map[browsing context group].