diff --git a/files/en-us/web/api/file/index.md b/files/en-us/web/api/file/index.md index 8a599bd70dbc092..f2b8a58e53c7416 100644 --- a/files/en-us/web/api/file/index.md +++ b/files/en-us/web/api/file/index.md @@ -11,7 +11,7 @@ The **`File`** interface provides information about files and allows JavaScript `File` objects are generally retrieved from a {{DOMxRef("FileList")}} object returned as a result of a user selecting files using the {{HTMLElement("input")}} element, or from a drag and drop operation's {{DOMxRef("DataTransfer")}} object. -A `File` object is a specific kind of {{DOMxRef("Blob")}}, and can be used in any context that a Blob can. In particular, {{DOMxRef("FileReader")}}, {{DOMxRef("URL.createObjectURL_static", "URL.createObjectURL()")}}, {{DOMxRef("createImageBitmap()")}}, and {{DOMxRef("XMLHttpRequest", "", "send()")}} accept both `Blob`s and `File`s. +A `File` object is a specific kind of {{DOMxRef("Blob")}}, and can be used in any context that a Blob can. In particular, {{DOMxRef("FileReader")}}, {{DOMxRef("URL.createObjectURL_static", "URL.createObjectURL()")}}, {{DOMxRef("createImageBitmap()")}}, the [`body`](/en-US/docs/Web/API/fetch#body) option to {{domxref("fetch()")}}, and {{DOMxRef("XMLHttpRequest", "", "send()")}} accept both `Blob`s and `File`s. See [Using files from web applications](/en-US/docs/Web/API/File_API/Using_files_from_web_applications) for more information and examples. diff --git a/files/en-us/web/api/file_and_directory_entries_api/introduction/index.md b/files/en-us/web/api/file_and_directory_entries_api/introduction/index.md index b486a5d99097c34..e22786633129890 100644 --- a/files/en-us/web/api/file_and_directory_entries_api/introduction/index.md +++ b/files/en-us/web/api/file_and_directory_entries_api/introduction/index.md @@ -113,7 +113,7 @@ When using the asynchronous API, always use the error callbacks. Although the er The File and Directory Entries API is designed to be used with other APIs and elements on the web platform. For example, you are likely to use one of the following: -- XMLHttpRequest (such as the `send()` method for file and blob objects) +- {{domxref("fetch()")}} - Drag and Drop API - Web Workers (for the synchronous version of the File and Directory Entries API) - The `input` element (to programmatically obtain a list of files from the element)