[whatwg/fetch] Mark `AbortSignal` as nullable (PR #1856)

The getter steps [1] specify to return `this.signal`. Its signal is nullable [2] and therefore the getter should also be nullable.

[1]: https://fetch.spec.whatwg.org/#dom-request-signal
[2]: https://fetch.spec.whatwg.org/#request-signal


<!--
    This comment and the below content is programmatically generated.
    You may add a comma-separated list of anchors you'd like a
    direct link to below (e.g. #idl-serializers, #idl-sequence):

    Don't remove this comment or modify anything below this line.
    If you don't want a preview generated for this pull request,
    just replace the whole of this comment's content by "no preview"
    and remove what's below.
-->
***
<a href="https://whatpr.org/fetch/1856.html" title="Last updated on Sep 13, 2025, 9:28 AM UTC (a224388)">Preview</a> | <a href="https://whatpr.org/fetch/1856/e28f9a5...a224388.html" title="Last updated on Sep 13, 2025, 9:28 AM UTC (a224388)">Diff</a>
You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/fetch/pull/1856

-- Commit Summary --

  * Mark `AbortSignal` as nullable

-- File Changes --

    M fetch.bs (2)

-- Patch Links --

https://github.com/whatwg/fetch/pull/1856.patch
https://github.com/whatwg/fetch/pull/1856.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/1856
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/fetch/pull/1856@github.com>

Received on Saturday, 13 September 2025 09:28:24 UTC