Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 331e65f

Browse files
committedJul 3, 2024·
Explictly handle network cache settings during context creation.
1 parent d30d864 commit 331e65f

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed
 

‎index.bs

+17-1
Original file line numberDiff line numberDiff line change
@@ -1450,7 +1450,7 @@ To <dfn>cleanup remote end state</dfn>.
14501450

14511451
1. [=map/Clear=] the [=navigable cache behavior map=].
14521452

1453-
1. 1. Perform implementation-defined steps to enable any
1453+
1. Perform implementation-defined steps to enable any
14541454
implementation-specific resource caches that are usually enabled in the
14551455
current [=remote end=] configuration.
14561456

@@ -4241,6 +4241,10 @@ the <dfn export>WebDriver BiDi navigable created</dfn> steps given
42414241

42424242
1. Let |context| be |navigable|'s [=active browsing context=].
42434243

4244+
1. If the [=context cache behavior=] with |context| is "<code>bypass</code>",
4245+
then perform implementation-defined steps to disable any implementation-specific
4246+
resource caches for network requests originating from |context|.
4247+
42444248
1. Set |context|'s [=original opener=] to |opener navigable|'s [=active browsing context=],
42454249
if |opener navigable| is provided.
42464250

@@ -6629,6 +6633,18 @@ The <dfn export>WebDriver BiDi cache behavior</dfn> steps given |request| are:
66296633

66306634
</div>
66316635

6636+
<div algorithm>
6637+
The <dfn>context cache behavior</dfn> steps given |context| are:
6638+
6639+
1. Set |top-level context| to the [=top-level browsing context=] for |context|.
6640+
6641+
1. If [=navigable cache behavior map=] [=map/contains=] |top-level context|, return
6642+
[=navigable cache behavior map=][|top-level context|].
6643+
6644+
1. Return [=default cache behavior=].
6645+
6646+
</div>
6647+
66326648
<div algorithm="remote end steps for network.setCacheBehavior">
66336649
The [=remote end steps=] given <var ignore>session</var> and |command parameters| are:
66346650

0 commit comments

Comments
 (0)
Please sign in to comment.