<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>281961</bug_id>
          
          <creation_ts>2024-10-23 02:37:05 -0700</creation_ts>
          <short_desc>To signal abort, if the reason is not given, set a new &quot;AbortError&quot; DOMException</short_desc>
          <delta_ts>2024-10-24 21:09:15 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>DOM</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Marais Rossouw">me</reporter>
          <assigned_to name="Marais Rossouw">me</assigned_to>
          <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2070021</commentid>
    <comment_count>0</comment_count>
    <who name="Marais Rossouw">me</who>
    <bug_when>2024-10-23 02:37:05 -0700</bug_when>
    <thetext>In the DOM specification for the AbortSignal (see: https://dom.spec.whatwg.org/#abortsignal-signal-abort), point 2 states:

&gt; Set signal&apos;s abort reason to the provided reason if given; otherwise, set it to a new &quot;AbortError&quot; DOMException.

We are not currently implementing this behavior. Instead, it&apos;s being handled in the IDL bindings for AbortController, which lacks any specification for signaling an abort.

If there is any internal code that calls `AbortSignal::signalAbort`, we should ensure it adheres to this DOM specification — and not leak this implementation detail.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2070039</commentid>
    <comment_count>1</comment_count>
    <who name="Marais Rossouw">me</who>
    <bug_when>2024-10-23 04:10:41 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/35618</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2070495</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-10-24 21:09:00 -0700</bug_when>
    <thetext>Committed 285686@main (7d575e9f5b20): &lt;https://commits.webkit.org/285686@main&gt;

Reviewed commits have been landed. Closing PR #35618 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2070496</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-10-24 21:09:15 -0700</bug_when>
    <thetext>&lt;rdar://problem/138608498&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>