aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls/XMLHttpRequest.webidl
diff options
context:
space:
mode:
authorSt.Spyder <stspyder@users.noreply.github.com>2016-01-17 22:39:35 +0530
committerSt.Spyder <stspyder@users.noreply.github.com>2016-01-18 02:26:13 +0530
commit763b99258f3d7f40248f32a6ebc78b462511d416 (patch)
treed051e081bd65c027007bc25cbc158a2ccaaf0f08 /components/script/dom/webidls/XMLHttpRequest.webidl
parent7f16b4e47bf8aef035ea788d80172dfd1a11ecff (diff)
downloadservo-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.webidl6
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