Skip to content

Commit f96bea9

Browse files
committed
Explictly handle network cache settings during context creation.
1 parent d30d864 commit f96bea9

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

index.bs

+15-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,16 @@ 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. If [=navigable cache behavior map=] [=map/contains=] |context|, return
6640+
[=navigable cache behavior map=][|context|].
6641+
6642+
1. Return [=default cache behavior=].
6643+
6644+
</div>
6645+
66326646
<div algorithm="remote end steps for network.setCacheBehavior">
66336647
The [=remote end steps=] given <var ignore>session</var> and |command parameters| are:
66346648

0 commit comments

Comments
 (0)