File tree 1 file changed +16
-0
lines changed
1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -1435,10 +1435,23 @@ To <dfn>cleanup the session</dfn> given |session|:
1435
1435
1436
1436
1. [=Close the WebSocket connections=] with |session|.
1437
1437
1438
+ 1. If [=active sessions=] is [=list/empty=] , [=cleanup remote end state=] .
1439
+
1438
1440
1. Perform any implementation-specific cleanup steps.
1439
1441
1440
1442
</div>
1441
1443
1444
+ <div algorithm>
1445
+ To <dfn>cleanup remote end state</dfn> .
1446
+
1447
+ 1. [=map/Clear=] the [=before request sent map=] .
1448
+
1449
+ 1. Set the [=default cache bypass=] to false.
1450
+
1451
+ 1. [=set/Empty=] the [=navigable cache bypass set=] .
1452
+
1453
+ </div>
1454
+
1442
1455
<div algorithm>
1443
1456
To <dfn>update the event map</dfn> , given
1444
1457
|session|, |requested event names|, |browsing contexts|, and |enabled|:
@@ -2324,6 +2337,9 @@ BrowsingContextEvent = (
2324
2337
A [=remote end=] has a <dfn>device pixel ratio overrides</dfn> which is a weak map
2325
2338
between [=navigables=] and device pixel ratio overrides. It is initially empty.
2326
2339
2340
+ Note: this map is not cleared when the final session ends i.e. device pixel
2341
+ ratio overrides outlive any WebDriver session.
2342
+
2327
2343
### Types ### {#module-browsingcontext-types}
2328
2344
2329
2345
#### The browsingContext.BrowsingContext Type #### {#type-browsingContext-Browsingcontext}
You can’t perform that action at this time.
0 commit comments