Review main Merged

81597[BUGFIX] Allow custom AbortSignal to be passed to AjaxRequest methods

Benjamin Franzke CR +2 V +2 Easy +22 −2 updated 10/31/23, 16:24

Commit message

AjaxRequest uses an own AbortController instance in order to provide
the abort() method. It therefore passes the corresponding AbortSignal
instance as a forced option to fetch(), and overwrites any custom
signal that is passed as request options.

In order to support custom AbortSignal's passed as fetch option,
the abort event of the custom AbortSignal is now forwarded to the
internal AbortController instance.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 3