From 206f279f76e94f9cdeb0fd90d92ca29e8690d03c Mon Sep 17 00:00:00 2001 From: James Graham Date: Wed, 29 May 2024 12:21:46 +0100 Subject: [PATCH] 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. But for future extension this works by allowing WebDriver to override the cache mode on requests. --- fetch.bs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fetch.bs b/fetch.bs index 73a28f01b..312cbd02b 100644 --- a/fetch.bs +++ b/fetch.bs @@ -5616,6 +5616,8 @@ run these steps: default `User-Agent` value) to httpRequest's header list. +
  • Run the WebDriver BiDi update request cache mode steps with request. +

  • If httpRequest's cache mode is "default" and httpRequest's header list contains `If-Modified-Since`,