Skip to content

Commit

Permalink
Explictly handle network cache settings during context creation.
Browse files Browse the repository at this point in the history
  • Loading branch information
jgraham committed Jul 3, 2024
1 parent d30d864 commit 331e65f
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1450,7 +1450,7 @@ To <dfn>cleanup remote end state</dfn>.

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

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

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

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

1. If the [=context cache behavior=] with |context| is "<code>bypass</code>",
then perform implementation-defined steps to disable any implementation-specific
resource caches for network requests originating from |context|.

1. Set |context|'s [=original opener=] to |opener navigable|'s [=active browsing context=],
if |opener navigable| is provided.

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

</div>

<div algorithm>
The <dfn>context cache behavior</dfn> steps given |context| are:

1. Set |top-level context| to the [=top-level browsing context=] for |context|.

1. If [=navigable cache behavior map=] [=map/contains=] |top-level context|, return
[=navigable cache behavior map=][|top-level context|].

1. Return [=default cache behavior=].

</div>

<div algorithm="remote end steps for network.setCacheBehavior">
The [=remote end steps=] given <var ignore>session</var> and |command parameters| are:

Expand Down

0 comments on commit 331e65f

Please sign in to comment.