Mozilla サポートの検索

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

A webpage that makes an ajax call, then jumps to a new page works using Chrome but does not work with Firefox.

  • 2 件の返信
  • 1 人がこの問題に困っています
  • 4 回表示
  • 最後の返信者: cor-el

more options

Does Firefox require that a page remain active in the browser until the ajax call finishes? Is there any documentation that explains what Firefox requires to always successfully use javascript ajax calls to external API's?

Does Firefox require that a page remain active in the browser until the ajax call finishes? Is there any documentation that explains what Firefox requires to always successfully use javascript ajax calls to external API's?

すべての返信 (2)

more options

Pending requests of all kinds may be terminated when the page is unloaded. I imagine you could do your navigation in a callback when the request returns. But there should be plenty of advice on sites like StackExchange since this is quite an old behavior.

more options