[Webkit-unassigned] [Bug 282069] New: Observables code should not use AbortController directly, and instead use the internal API

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 24 16:17:24 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=282069

            Bug ID: 282069
           Summary: Observables code should not use AbortController
                    directly, and instead use the internal API
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: DOM
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: me at marais.co

It appears that the Observables code (InternalObserver*.cpp, Subscriber.cpp, Observable.cpp, et al) is the only code in the WebKit that internally uses the AbortController to the pluck the signal.

We should be using the AbortSignal directly, its slightly faster, less allocations, and more consistent.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20241024/0f394f6b/attachment.htm>


More information about the webkit-unassigned mailing list