fix(chromium): disable back-forward cache (#14996)

Otherwise, back/forward navigation does not intercept requests.
This commit is contained in:
Dmitry Gozman 2022-06-20 17:27:45 -07:00 committed by GitHub
parent 883e4d449a
commit bff90b5abb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -329,6 +329,7 @@ const DEFAULT_ARGS = [
'--enable-features=NetworkService,NetworkServiceInProcess',
'--disable-background-timer-throttling',
'--disable-backgrounding-occluded-windows',
'--disable-back-forward-cache', // Avoids surprises like main request not being intercepted during page.goBack().
'--disable-breakpad',
'--disable-client-side-phishing-detection',
'--disable-component-extensions-with-background-pages',