summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/fetch/api/response
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/meta/fetch/api/response')
-rw-r--r--testing/web-platform/meta/fetch/api/response/response-cancel-stream.html.ini20
-rw-r--r--testing/web-platform/meta/fetch/api/response/response-clone.html.ini11
-rw-r--r--testing/web-platform/meta/fetch/api/response/response-consume-empty.html.ini17
-rw-r--r--testing/web-platform/meta/fetch/api/response/response-consume-stream.html.ini26
-rw-r--r--testing/web-platform/meta/fetch/api/response/response-consume.html.ini17
-rw-r--r--testing/web-platform/meta/fetch/api/response/response-idl.html.ini8
-rw-r--r--testing/web-platform/meta/fetch/api/response/response-init-001.html.ini5
-rw-r--r--testing/web-platform/meta/fetch/api/response/response-init-002.html.ini5
-rw-r--r--testing/web-platform/meta/fetch/api/response/response-static-error.html.ini5
-rw-r--r--testing/web-platform/meta/fetch/api/response/response-static-redirect.html.ini5
-rw-r--r--testing/web-platform/meta/fetch/api/response/response-stream-disturbed-1.html.ini14
-rw-r--r--testing/web-platform/meta/fetch/api/response/response-stream-disturbed-2.html.ini14
-rw-r--r--testing/web-platform/meta/fetch/api/response/response-stream-disturbed-3.html.ini14
-rw-r--r--testing/web-platform/meta/fetch/api/response/response-stream-disturbed-4.html.ini14
14 files changed, 175 insertions, 0 deletions
diff --git a/testing/web-platform/meta/fetch/api/response/response-cancel-stream.html.ini b/testing/web-platform/meta/fetch/api/response/response-cancel-stream.html.ini
new file mode 100644
index 000000000..772b1b682
--- /dev/null
+++ b/testing/web-platform/meta/fetch/api/response/response-cancel-stream.html.ini
@@ -0,0 +1,20 @@
+[response-cancel-stream.html]
+ type: testharness
+ [Cancelling a starting blob Response stream]
+ expected: FAIL
+
+ [Cancelling a loading blob Response stream]
+ expected: FAIL
+
+ [Cancelling a closed blob Response stream]
+ expected: FAIL
+
+ [Cancelling a starting Response stream]
+ expected: FAIL
+
+ [Cancelling a loading Response stream]
+ expected: FAIL
+
+ [Cancelling a closed Response stream]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/fetch/api/response/response-clone.html.ini b/testing/web-platform/meta/fetch/api/response/response-clone.html.ini
new file mode 100644
index 000000000..7e34d9108
--- /dev/null
+++ b/testing/web-platform/meta/fetch/api/response/response-clone.html.ini
@@ -0,0 +1,11 @@
+[response-clone.html]
+ type: testharness
+ [Check orginal response's body after cloning]
+ expected: FAIL
+
+ [Check cloned response's body]
+ expected: FAIL
+
+ [Cancelling stream should not affect cloned one]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/fetch/api/response/response-consume-empty.html.ini b/testing/web-platform/meta/fetch/api/response/response-consume-empty.html.ini
new file mode 100644
index 000000000..efb056f34
--- /dev/null
+++ b/testing/web-platform/meta/fetch/api/response/response-consume-empty.html.ini
@@ -0,0 +1,17 @@
+[response-consume-empty.html]
+ type: testharness
+ [Consume response's body as text]
+ expected: FAIL
+
+ [Consume response's body as blob]
+ expected: FAIL
+
+ [Consume response's body as arrayBuffer]
+ expected: FAIL
+
+ [Consume response's body as json]
+ expected: FAIL
+
+ [Consume response's body as formData]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/fetch/api/response/response-consume-stream.html.ini b/testing/web-platform/meta/fetch/api/response/response-consume-stream.html.ini
new file mode 100644
index 000000000..21ed2f7d8
--- /dev/null
+++ b/testing/web-platform/meta/fetch/api/response/response-consume-stream.html.ini
@@ -0,0 +1,26 @@
+[response-consume-stream.html]
+ type: testharness
+ [Read empty text response's body as readableStream]
+ expected: FAIL
+
+ [Read empty blob response's body as readableStream]
+ expected: FAIL
+
+ [Read blob response's body as readableStream]
+ expected: FAIL
+
+ [Read text response's body as readableStream]
+ expected: FAIL
+
+ [Read form data response's body as readableStream]
+ expected: FAIL
+
+ [Getting an error Response stream]
+ expected: FAIL
+
+ [Getting a redirect Response stream]
+ expected: FAIL
+
+ [Read array buffer response's body as readableStream]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/fetch/api/response/response-consume.html.ini b/testing/web-platform/meta/fetch/api/response/response-consume.html.ini
new file mode 100644
index 000000000..f30830012
--- /dev/null
+++ b/testing/web-platform/meta/fetch/api/response/response-consume.html.ini
@@ -0,0 +1,17 @@
+[response-consume.html]
+ type: testharness
+ [Consume stream response's body as blob]
+ expected: FAIL
+
+ [Consume stream response's body as text]
+ expected: FAIL
+
+ [Consume stream response's body as json]
+ expected: FAIL
+
+ [Consume stream response's body as arrayBuffer]
+ expected: FAIL
+
+ [Consume response's body as formData]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/fetch/api/response/response-idl.html.ini b/testing/web-platform/meta/fetch/api/response/response-idl.html.ini
new file mode 100644
index 000000000..69363a29b
--- /dev/null
+++ b/testing/web-platform/meta/fetch/api/response/response-idl.html.ini
@@ -0,0 +1,8 @@
+[response-idl.html]
+ type: testharness
+ [Response interface: attribute body]
+ expected: FAIL
+
+ [Response interface: new Response() must inherit property "body" with the proper type (8)]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/fetch/api/response/response-init-001.html.ini b/testing/web-platform/meta/fetch/api/response/response-init-001.html.ini
new file mode 100644
index 000000000..ef856db4d
--- /dev/null
+++ b/testing/web-platform/meta/fetch/api/response/response-init-001.html.ini
@@ -0,0 +1,5 @@
+[response-init-001.html]
+ type: testharness
+ [Check default value for body attribute]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/fetch/api/response/response-init-002.html.ini b/testing/web-platform/meta/fetch/api/response/response-init-002.html.ini
new file mode 100644
index 000000000..5a8ba088a
--- /dev/null
+++ b/testing/web-platform/meta/fetch/api/response/response-init-002.html.ini
@@ -0,0 +1,5 @@
+[response-init-002.html]
+ type: testharness
+ [Read Response's body as readableStream]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/fetch/api/response/response-static-error.html.ini b/testing/web-platform/meta/fetch/api/response/response-static-error.html.ini
new file mode 100644
index 000000000..4a1fdea82
--- /dev/null
+++ b/testing/web-platform/meta/fetch/api/response/response-static-error.html.ini
@@ -0,0 +1,5 @@
+[response-static-error.html]
+ type: testharness
+ [Check response returned by static method error()]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/fetch/api/response/response-static-redirect.html.ini b/testing/web-platform/meta/fetch/api/response/response-static-redirect.html.ini
new file mode 100644
index 000000000..d364c417c
--- /dev/null
+++ b/testing/web-platform/meta/fetch/api/response/response-static-redirect.html.ini
@@ -0,0 +1,5 @@
+[response-static-redirect.html]
+ type: testharness
+ [Check error returned when giving invalid url to redirect()]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/fetch/api/response/response-stream-disturbed-1.html.ini b/testing/web-platform/meta/fetch/api/response/response-stream-disturbed-1.html.ini
new file mode 100644
index 000000000..c8f955c52
--- /dev/null
+++ b/testing/web-platform/meta/fetch/api/response/response-stream-disturbed-1.html.ini
@@ -0,0 +1,14 @@
+[response-stream-disturbed-1.html]
+ type: testharness
+ [Getting blob after getting the Response body - not disturbed, not locked]
+ expected: FAIL
+
+ [Getting text after getting the Response body - not disturbed, not locked]
+ expected: FAIL
+
+ [Getting json after getting the Response body - not disturbed, not locked]
+ expected: FAIL
+
+ [Getting arrayBuffer after getting the Response body - not disturbed, not locked]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/fetch/api/response/response-stream-disturbed-2.html.ini b/testing/web-platform/meta/fetch/api/response/response-stream-disturbed-2.html.ini
new file mode 100644
index 000000000..b1431ca6e
--- /dev/null
+++ b/testing/web-platform/meta/fetch/api/response/response-stream-disturbed-2.html.ini
@@ -0,0 +1,14 @@
+[response-stream-disturbed-2.html]
+ type: testharness
+ [Getting blob after getting a locked Response body]
+ expected: FAIL
+
+ [Getting text after getting a locked Response body]
+ expected: FAIL
+
+ [Getting json after getting a locked Response body]
+ expected: FAIL
+
+ [Getting arrayBuffer after getting a locked Response body]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/fetch/api/response/response-stream-disturbed-3.html.ini b/testing/web-platform/meta/fetch/api/response/response-stream-disturbed-3.html.ini
new file mode 100644
index 000000000..07c1348b8
--- /dev/null
+++ b/testing/web-platform/meta/fetch/api/response/response-stream-disturbed-3.html.ini
@@ -0,0 +1,14 @@
+[response-stream-disturbed-3.html]
+ type: testharness
+ [Getting blob after reading the Response body]
+ expected: FAIL
+
+ [Getting text after reading the Response body]
+ expected: FAIL
+
+ [Getting json after reading the Response body]
+ expected: FAIL
+
+ [Getting arrayBuffer after reading the Response body]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/fetch/api/response/response-stream-disturbed-4.html.ini b/testing/web-platform/meta/fetch/api/response/response-stream-disturbed-4.html.ini
new file mode 100644
index 000000000..d50925024
--- /dev/null
+++ b/testing/web-platform/meta/fetch/api/response/response-stream-disturbed-4.html.ini
@@ -0,0 +1,14 @@
+[response-stream-disturbed-4.html]
+ type: testharness
+ [Getting blob after cancelling the Response body]
+ expected: FAIL
+
+ [Getting text after cancelling the Response body]
+ expected: FAIL
+
+ [Getting json after cancelling the Response body]
+ expected: FAIL
+
+ [Getting arrayBuffer after cancelling the Response body]
+ expected: FAIL
+