Skip to content

Commit

Permalink
Edit
Browse files Browse the repository at this point in the history
  • Loading branch information
rebloor committed Oct 27, 2023
1 parent 81f90fa commit f6446f8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@ browser-compat: webextensions.api.webRequest.StreamFilter.ondata

{{AddonSidebar()}}

An event handler called repeatedly when response data is available. The handler is passed an [`Event` object](/en-US/docs/web/api/event) with a `data` property, which includes a chunk of the response data as an {{jsxref("ArrayBuffer")}}.
An event handler called repeatedly when response data is available. The handler is passed an [`Event` object](/en-US/docs/web/api/event) with a `data` property. The `data` property includes a chunk of the response data as an {{jsxref("ArrayBuffer")}}.

To decode the data, use either {{domxref("TextDecoder")}} or {{domxref("Blob")}}.

0 comments on commit f6446f8

Please sign in to comment.