diff options
author | St.Spyder <stspyder@users.noreply.github.com> | 2016-01-17 22:39:35 +0530 |
---|---|---|
committer | St.Spyder <stspyder@users.noreply.github.com> | 2016-01-18 02:26:13 +0530 |
commit | 763b99258f3d7f40248f32a6ebc78b462511d416 (patch) | |
tree | d051e081bd65c027007bc25cbc158a2ccaaf0f08 /components/script/dom/webidls/XMLHttpRequest.webidl | |
parent | 7f16b4e47bf8aef035ea788d80172dfd1a11ecff (diff) | |
download | servo-763b99258f3d7f40248f32a6ebc78b462511d416.tar.gz servo-763b99258f3d7f40248f32a6ebc78b462511d416.zip |
Update XHR BodyInit, update extract method impl
Diffstat (limited to 'components/script/dom/webidls/XMLHttpRequest.webidl')
-rw-r--r-- | components/script/dom/webidls/XMLHttpRequest.webidl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/components/script/dom/webidls/XMLHttpRequest.webidl b/components/script/dom/webidls/XMLHttpRequest.webidl index 4223a13543c..b67e112c573 100644 --- a/components/script/dom/webidls/XMLHttpRequest.webidl +++ b/components/script/dom/webidls/XMLHttpRequest.webidl @@ -13,8 +13,8 @@ * http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0. */ -// https://fetch.spec.whatwg.org/#fetchbodyinit -typedef (/*ArrayBuffer or ArrayBufferView or Blob or FormData or */DOMString or URLSearchParams) FetchBodyInit; +// https://fetch.spec.whatwg.org/#bodyinit +typedef (Blob or /*BufferSource or FormData or */DOMString or URLSearchParams) BodyInit; enum XMLHttpRequestResponseType { "", @@ -55,7 +55,7 @@ interface XMLHttpRequest : XMLHttpRequestEventTarget { attribute boolean withCredentials; readonly attribute XMLHttpRequestUpload upload; [Throws] - void send(optional /*Document or*/ FetchBodyInit? data = null); + void send(optional /*Document or*/ BodyInit? data = null); void abort(); // response |