abort

abort (fetch)

[1] fetchのabortは、 fetch を次のようにします。

  1. [2] fetch を停止させます。
  2. [32] fetch に関係するタスクを捨てます。
  3. [3] fetch に関してネットワークから受信したデータがあれば、捨てます。

[4] これは文書のabortから呼び出されます。

歴史

[8] Fix normative requirements for the timeout attribute (including for sync... · 2677cc2 · whatwg/xhr ( ( 版)) <https://github.com/whatwg/xhr/commit/2677cc2e0fe79d290437c3ea9ff370a5d795294b>

[5] Abortable fetch (jakearchibald著, ) <https://github.com/whatwg/fetch/commit/0bcd5dfc71ef44319873887f4b83119bd6d0b71d>

[6] Aborting a fetch: The Next Generation · Issue #447 · whatwg/fetch () <https://github.com/whatwg/fetch/issues/447>

[7] Fetch abort & no-cors requests · Issue #563 · whatwg/fetch () <https://github.com/whatwg/fetch/issues/563>

[4] Aborting fetch by jakearchibald · Pull Request #523 · whatwg/fetch () <https://github.com/whatwg/fetch/pull/523>

[9] Align with Fetch's upcoming abort revamp (jakearchibald著, ) <https://github.com/whatwg/xhr/commit/1a8f6910dfc1bf4edc46b23076380cf4cedeaca0>

[10] Updating to fit with fetch aborting by jakearchibald · Pull Request #152 · whatwg/xhr () <https://github.com/whatwg/xhr/pull/152>

[11] Abortable fetch  |  Web  |  Google Developers () <https://developers.google.com/web/updates/2017/09/abortable-fetch?utm_source=feed&utm_medium=feed&ut>