diff options
author | Moonchild <moonchild@palemoon.org> | 2023-10-03 17:23:19 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2023-10-03 17:23:19 +0000 |
commit | 5d76f359905f10fbd5b4c53ac458e26d22ffe2a1 (patch) | |
tree | 912d084cee32880dad7b06fcd1fdc1fc71ce5b95 /dom/xhr/nsIXMLHttpRequest.idl | |
parent | 682e5a4727b8bdf33a670c5d08e9cb382f019a57 (diff) | |
parent | 054f135a5455967009587e12c14908904ab4105a (diff) | |
download | uxp-5d76f359905f10fbd5b4c53ac458e26d22ffe2a1.tar.gz |
Merge pull request 'Initial implementation of readable streams' (#2324) from dbsoft/UXP:readablestreams into master
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2324
Diffstat (limited to 'dom/xhr/nsIXMLHttpRequest.idl')
-rw-r--r-- | dom/xhr/nsIXMLHttpRequest.idl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/dom/xhr/nsIXMLHttpRequest.idl b/dom/xhr/nsIXMLHttpRequest.idl index 53e80bab70..5505bd47ee 100644 --- a/dom/xhr/nsIXMLHttpRequest.idl +++ b/dom/xhr/nsIXMLHttpRequest.idl @@ -326,9 +326,12 @@ interface nsIXMLHttpRequest : nsISupports [uuid(840d0d00-e83e-4a29-b3c7-67e96e90a499)] interface nsIXHRSendable : nsISupports { + // contentTypeWithCharset can be set to the contentType or + // contentType+charset based on what the spec says. + // See: https://fetch.spec.whatwg.org/#concept-bodyinit-extract void getSendInfo(out nsIInputStream body, out uint64_t contentLength, - out ACString contentType, + out ACString contentTypeWithCharset, out ACString charset); }; |