为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Unable to load website if any background XHR request is failed

more options

I am using Firefox Developer Edition Version: 110.0b5 (64-bit) on M1 Mac running Ventura 13.1.

I am building an webapp some XHR triggering in background but it is not necessary to run the application (running fine on other browsers). But on Firefox Developer Edition, It shows a error window with the message and stops loading the application.

Firefox can’t establish a connection to the server at localhost:4000.

localhost:4000 is the failing XHR request domain. I have attached the screenshot.

How to ignore the XHR failing errors just like other browsers?

I am using '''Firefox Developer Edition''' Version: 1'''10.0b5 (64-bit)''' on '''M1 Mac''' running '''Ventura 13.1'''. I am building an webapp some XHR triggering in background but it is '''not necessary''' to run the application (running fine on other browsers). But on '''Firefox Developer Edition''', It shows a error window with the message and stops loading the application. '''Firefox can’t establish a connection to the server at localhost:4000.''' ''localhost:4000'' is the failing XHR request domain. I have attached the screenshot. How to ignore the XHR failing errors just like other browsers?
已附加屏幕截图

被采纳的解决方案

It is resolved. Actually, It's a iFrame, The error appears inside the iframe that looks like an browser alert.

定位到答案原位置 👍 0

所有回复 (1)

more options

选择的解决方案

It is resolved. Actually, It's a iFrame, The error appears inside the iframe that looks like an browser alert.