Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

旧标签打开新标签,同域名下进程共享问题,新标签内存占用过高后旧标签页面会卡死

  • 1 回覆
  • 0 有這個問題
  • 91 次檢視
  • 最近回覆由 Denys
  • Open

在 Firefox 内部:

通过 JS 触发的新页面 通过 a.click 触发的新页面 甚至 rel=noopener 都会被标记为:

“related browsing context”

进而共享同一个进程,新页签因为内存占用过高,导致旧页签卡死。

通过设置

  1. 添加 COOP 响应头 add_header Cross-Origin-Opener-Policy "same-origin" always;也无法解决

设置空白页再重定向也无法解决

在 Firefox 内部: 通过 JS 触发的新页面 通过 a.click 触发的新页面 甚至 rel=noopener 都会被标记为: “related browsing context” 进而共享同一个进程,新页签因为内存占用过高,导致旧页签卡死。 通过设置 # 添加 COOP 响应头 add_header Cross-Origin-Opener-Policy "same-origin" always;也无法解决 设置空白页再重定向也无法解决

所有回覆 (1)

Hi,

Apologies for replying in English, but you're currently posting in our English forum.

To get help in your locale language, please check out the Get community support article, which lists other available support forums and resources by language.

Thanks for your understanding.

問個問題

如果您還沒有帳號,您必須先登入帳號 來回覆文章。還沒有帳號的話,只能發問新問題