The logic for setting this string is here: https://searchfox.org/mozilla-central/rev/6cd54550a27e2f6ca0755a25328f769e41e524f4/browser/base/content/browser-siteProtections.js#635 We need to improve the logic to consider the case when there's a site exception (which can be checked via `gProtectionsHandler.hasException`) and handle each cookieBehavior case.
Bug 1586934 Comment 7 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
The logic for setting this string is here: https://searchfox.org/mozilla-central/rev/6cd54550a27e2f6ca0755a25328f769e41e524f4/browser/base/content/browser-siteProtections.js#749 We need to improve the logic to handle each cookieBehavior case.