Skip to content

Commit 38a2258

Browse files
Daniel RuberyDevtools-frontend LUCI CQ
authored andcommitted
Add string for CacheControlNoStoreDeviceBoundSessionTerminated
This reason represents eviction from the BfCache when a page was added despite Cache-Control: no-store, but a Device Bound Session (https://github.com/w3c/webappsec-dbsc/blob/main/README.md) was terminated while in the cache. This reason is analogous to CacheControlNoStoreCookieModified or CacheControlNoStoreHTTPOnlyCookieModified, both of which use UIStrings.cacheControlNoStore, so we do the same here. Bug: none Change-Id: I3f5834f018cb7e401ee00968bcce6a866c305031 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6318344 Reviewed-by: Danil Somsikov <[email protected]> Reviewed-by: Simon Zünd <[email protected]> Commit-Queue: Simon Zünd <[email protected]> Auto-Submit: Daniel Rubery <[email protected]>
1 parent 0298d0c commit 38a2258

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

front_end/panels/application/components/BackForwardCacheStrings.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -703,6 +703,5 @@ export const NotRestoredReasonDescription = {
703703
WebViewMessageListenerInjected: {name: i18n.i18n.lockedLazyString('WebViewMessageListenerInjected')},
704704
WebViewSafeBrowsingAllowlistChanged: {name: i18n.i18n.lockedLazyString('WebViewSafeBrowsingAllowlistChanged')},
705705
WebViewDocumentStartJavascriptChanged: {name: i18n.i18n.lockedLazyString('WebViewDocumentStartJavascriptChanged')},
706-
CacheControlNoStoreDeviceBoundSessionTerminated:
707-
{name: i18n.i18n.lockedLazyString('CacheControlNoStoreDeviceBoundSessionTerminated')},
706+
CacheControlNoStoreDeviceBoundSessionTerminated: {name: i18nLazyString(UIStrings.cacheControlNoStore)},
708707
};

0 commit comments

Comments
 (0)