From 8e62bb08f50ce3f9552ce56d4ee63a94f7a2e863 Mon Sep 17 00:00:00 2001
From: Henrik Skupin WebDriver
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. @@ -4920,15 +4920,24 @@
A WebDriver session has a browsing context group node -map, which is a weak map between a browsing context group +
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 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: @@ -4963,7 +4972,7 @@
null
.
- A snapshot is used to promote operation atomicity. +
A snapshot is used to promote operation atomicity.
Let index be 0. @@ -5625,7 +5634,7 @@