SecurityInterstitialCommandId.CMD_PROCEED 实际上是做什么的?

What does SecurityInterstitialCommandId.CMD_PROCEED actually does?

我正在处理一些 SSL 证书错误,发现网站有 SSL 错误
运行 sendCommand(SecurityInterstitialCommandId.CMD_PROCEED)
Chrome 控制台中,网站将被加载。

当我再次加载网站时,没有显示错误或警告页面,谁能告诉我这个命令是如何工作的,我怎样才能将不受信任的网站恢复到原来的状态(显示不受信任的警告)。

我认为清除网站数据会恢复,但我不确定这是否正确,是否有像上面那样的 js 命令来清除特定网站的网站数据?

测试站点:expired.badssl.com & wrong.host.badssl.com

该行来自https://github.com/chromium/chromium/blob/f8d4f3dec98d8a9836847c256753a12cd3e809ce/components/security_interstitials/core/browser/resources/interstitial_large.js#L23

如果要还原不受信任的站点页面,请单击浏览器地址栏中 url 前的红色 Not Secure 图标,然后单击红色 Re-enable warnings