title: getting a NS_BINDING_ABORTED error for simple GET request
body: <p>Why am I getting this error?</p>
  <p><a href="https://i.stack.imgur.com/gQsJg.png" rel="noreferrer">Here is a screenshot of my Network tab in Firefox showing the NS_BINDING_ABORTED</a></p>
  <p>I had a look over in this thread here <a href="https://stackoverflow.com/questions/704561/ns-binding-aborted-shown-in-firefox-with-httpfox">NS_BINDING_ABORTED Shown in Firefox with HttpFox</a> but I have no clue what its talking about at all...</p>
  <p>Can someone please help me out here?</p>
  <p>Thanks</p>
  <pre><code>$(function() {
    let userName = null;
    let userStatus  = null;
  
    $(&quot;#search&quot;).on(&quot;click&quot;, function() {
      userName = $(&quot;#username&quot;).val();
      apiCall();
    });
    
    $(&quot;.dropdown-menu a&quot;).on(&quot;click&quot;, function() {
      $(&quot;button.dropdown-toggle&quot;).text($(this).text());
      userStatus = $(&quot;button.dropdown-toggle&quot;).text();
    });
  
    function apiCall() {
      if (userName !== null &amp;&amp; userStatus !== null) {
        var api = `https://api.jikan.moe/v3/user/${userName}/animelist/${userStatus}`;
        fetch(api, {
          method: &quot;GET&quot;,
          headers: {
            Accept: &quot;application/json&quot;,
          },
        })
        .then(response =&gt; response.json())
        .then((data) =&gt; {
          console.log(data)
        })
        .catch((error) =&gt; {
          console.log(error);
        })
      }
    }
  });
  </code></pre>