Skip to content

Commit

Permalink
Allow WebDriver BiDi to override the cache mode
Browse files Browse the repository at this point in the history
The primary use case here is allowing WebDriver to enforce that requests do not
use the network cache. But for future extension this works by allowing WebDriver
to override the cache mode on requests.
  • Loading branch information
jgraham committed May 29, 2024
1 parent 527ca76 commit 206f279
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fetch.bs
Original file line number Diff line number Diff line change
Expand Up @@ -5616,6 +5616,8 @@ run these steps:
<a>default `<code>User-Agent</code>` value</a>) to <var>httpRequest</var>'s
<a for=request>header list</a>.

<li><p>Run the <a>WebDriver BiDi update request cache mode</a> steps with <var>request</var>.

<li><p>If <var>httpRequest</var>'s <a for=request>cache mode</a> is "<code>default</code>" and
<var>httpRequest</var>'s <a for=request>header list</a> <a for="header list">contains</a>
`<code>If-Modified-Since</code>`,
Expand Down

0 comments on commit 206f279

Please sign in to comment.