Commit 48fc0f9
committed
Allow WebDriver BiDi to override the cache mode
The primary use case here is allowing WebDriver to enforce that requests do not
use the network cache, including the CORS preflight cache. But for
future extension the this works by calling into WebDriver BiDi to get
a cache behavior for the request, which is then translated into
specific implementation on the fetch side (e.g. setting the request's
cache mode, or not using the preflight cache).
For now the only possible values of the cache behavior are "default"
and "bypass", so we only need to check for the latter value.1 parent d41ef17 commit 48fc0f9
1 file changed
+8
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5237 | 5237 | | |
5238 | 5238 | | |
5239 | 5239 | | |
| 5240 | + | |
| 5241 | + | |
5240 | 5242 | | |
5241 | 5243 | | |
5242 | 5244 | | |
| |||
5615 | 5617 | | |
5616 | 5618 | | |
5617 | 5619 | | |
| 5620 | + | |
| 5621 | + | |
| 5622 | + | |
5618 | 5623 | | |
5619 | 5624 | | |
5620 | 5625 | | |
| |||
6495 | 6500 | | |
6496 | 6501 | | |
6497 | 6502 | | |
6498 | | - | |
6499 | | - | |
| 6503 | + | |
| 6504 | + | |
| 6505 | + | |
6500 | 6506 | | |
6501 | 6507 | | |
6502 | 6508 | | |
| |||
0 commit comments