Skip to content

Commit b7d581e

Browse files
authored
Revert "Add definition of "weak map" (#1713)" (#1803)
This reverts commit d05e463.
1 parent d05e463 commit b7d581e

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

index.html

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4256,23 +4256,15 @@ <h2>Elements</h2>
42564256
representing a handle to a DOM node in a specific
42574257
WebDriver <a>session</a>.
42584258

4259-
<p>A <dfn>weak map</dfn> is a [=infra/map=] in which keys are held weakly
4260-
i.e. items are removed if the key object is garbaged collected, and presence
4261-
in the map does not prevent garbage collection. This acts as an alternative
4262-
to defining properties directly on the key objects.
4263-
4264-
<p class=note>Unlike the ECMAScript [=WeakMap=] type, a <a>weak map</a> can
4265-
participate in the full set of operations available for a <a>Map</a>.
4266-
42674259
<p>A WebDriver <a>session</a> has a <dfn>browsing context group node
4268-
map</dfn>, which is a <a>weak map</a> between a <a>browsing context group</a>
4260+
map</dfn>, which is a weak map between a <a>browsing context group</a>
42694261
and a <a>node id map</a>.
42704262

4271-
<p>A <dfn>node id map</dfn> is <a>weak map</a> between nodes and their
4263+
<p>A <dfn>node id map</dfn> is weak map between nodes and their
42724264
corresponding <a>WebDriver node id</a>.
42734265

42744266
<p>A WebDriver <a>session</a> has a <dfn>navigable seen nodes map</dfn>
4275-
which is a <a>weak map</a> between a [=navigable=] and a set.
4267+
which is a weak map between a [=navigable=] and a set.
42764268

42774269
<p>To <dfn>get a node</dfn> given <var>session</var>,
42784270
<var>browsing context</var>, and <var>reference</var>:

0 commit comments

Comments
 (0)