summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/XMLHttpRequest
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/meta/XMLHttpRequest')
-rw-r--r--testing/web-platform/meta/XMLHttpRequest/XMLHttpRequest-withCredentials.any.js.ini6
-rw-r--r--testing/web-platform/meta/XMLHttpRequest/abort-after-stop.htm.ini6
-rw-r--r--testing/web-platform/meta/XMLHttpRequest/data-uri.htm.ini20
-rw-r--r--testing/web-platform/meta/XMLHttpRequest/event-readystatechange-loaded.htm.ini5
-rw-r--r--testing/web-platform/meta/XMLHttpRequest/open-url-bogus.htm.ini11
-rw-r--r--testing/web-platform/meta/XMLHttpRequest/open-url-multi-window-4.htm.ini6
-rw-r--r--testing/web-platform/meta/XMLHttpRequest/overridemimetype-invalid-mime-type.htm.ini5
-rw-r--r--testing/web-platform/meta/XMLHttpRequest/responsetext-decoding.htm.ini14
-rw-r--r--testing/web-platform/meta/XMLHttpRequest/responsexml-document-properties.htm.ini8
-rw-r--r--testing/web-platform/meta/XMLHttpRequest/send-authentication-basic.htm.ini5
-rw-r--r--testing/web-platform/meta/XMLHttpRequest/send-authentication-cors-basic-setrequestheader.htm.ini5
-rw-r--r--testing/web-platform/meta/XMLHttpRequest/send-authentication-cors-setrequestheader-no-cred.htm.ini5
-rw-r--r--testing/web-platform/meta/XMLHttpRequest/send-entity-body-document-bogus.htm.ini5
-rw-r--r--testing/web-platform/meta/XMLHttpRequest/send-network-error-sync-events.sub.htm.ini5
-rw-r--r--testing/web-platform/meta/XMLHttpRequest/send-receive-utf16.htm.ini5
-rw-r--r--testing/web-platform/meta/XMLHttpRequest/send-redirect-post-upload.htm.ini3
-rw-r--r--testing/web-platform/meta/XMLHttpRequest/send-sync-blocks-async.htm.ini5
-rw-r--r--testing/web-platform/meta/XMLHttpRequest/setrequestheader-bogus-value.htm.ini8
-rw-r--r--testing/web-platform/meta/XMLHttpRequest/setrequestheader-case-insensitive.htm.ini5
-rw-r--r--testing/web-platform/meta/XMLHttpRequest/setrequestheader-content-type.htm.ini11
-rw-r--r--testing/web-platform/meta/XMLHttpRequest/setrequestheader-header-allowed.htm.ini29
-rw-r--r--testing/web-platform/meta/XMLHttpRequest/xmlhttprequest-timeout-overridesexpires.html.ini6
22 files changed, 178 insertions, 0 deletions
diff --git a/testing/web-platform/meta/XMLHttpRequest/XMLHttpRequest-withCredentials.any.js.ini b/testing/web-platform/meta/XMLHttpRequest/XMLHttpRequest-withCredentials.any.js.ini
new file mode 100644
index 000000000..95e7ed0fc
--- /dev/null
+++ b/testing/web-platform/meta/XMLHttpRequest/XMLHttpRequest-withCredentials.any.js.ini
@@ -0,0 +1,6 @@
+[XMLHttpRequest-withCredentials.any.worker]
+ type: testharness
+ expected: TIMEOUT
+
+[XMLHttpRequest-withCredentials.any.html]
+ type: testharness
diff --git a/testing/web-platform/meta/XMLHttpRequest/abort-after-stop.htm.ini b/testing/web-platform/meta/XMLHttpRequest/abort-after-stop.htm.ini
new file mode 100644
index 000000000..815d68d94
--- /dev/null
+++ b/testing/web-platform/meta/XMLHttpRequest/abort-after-stop.htm.ini
@@ -0,0 +1,6 @@
+[abort-after-stop.htm]
+ type: testharness
+ expected: TIMEOUT
+ [XMLHttpRequest: abort event should fire when stop() method is used]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/XMLHttpRequest/data-uri.htm.ini b/testing/web-platform/meta/XMLHttpRequest/data-uri.htm.ini
new file mode 100644
index 000000000..ef0649f92
--- /dev/null
+++ b/testing/web-platform/meta/XMLHttpRequest/data-uri.htm.ini
@@ -0,0 +1,20 @@
+[data-uri.htm]
+ type: testharness
+ [XHR method GET with charset image/png]
+ expected: FAIL
+
+ [XHR method POST with charset text/plain]
+ expected: FAIL
+
+ [XHR method PUT with charset text/plain]
+ expected: FAIL
+
+ [XHR method DELETE with charset text/plain]
+ expected: FAIL
+
+ [XHR method HEAD with charset text/plain]
+ expected: FAIL
+
+ [XHR method UNICORN with charset text/plain]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/XMLHttpRequest/event-readystatechange-loaded.htm.ini b/testing/web-platform/meta/XMLHttpRequest/event-readystatechange-loaded.htm.ini
new file mode 100644
index 000000000..5cf0e5fad
--- /dev/null
+++ b/testing/web-platform/meta/XMLHttpRequest/event-readystatechange-loaded.htm.ini
@@ -0,0 +1,5 @@
+[event-readystatechange-loaded.htm]
+ type: testharness
+ [XMLHttpRequest: the LOADING state change should only happen once]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/XMLHttpRequest/open-url-bogus.htm.ini b/testing/web-platform/meta/XMLHttpRequest/open-url-bogus.htm.ini
new file mode 100644
index 000000000..ef7b5d910
--- /dev/null
+++ b/testing/web-platform/meta/XMLHttpRequest/open-url-bogus.htm.ini
@@ -0,0 +1,11 @@
+[open-url-bogus.htm]
+ type: testharness
+ [XMLHttpRequest: open() - bogus URLs (http:)]
+ expected: FAIL
+
+ [XMLHttpRequest: open() - bogus URLs (ftp:)]
+ expected: FAIL
+
+ [XMLHttpRequest: open() - bogus URLs (http:////////////)]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/XMLHttpRequest/open-url-multi-window-4.htm.ini b/testing/web-platform/meta/XMLHttpRequest/open-url-multi-window-4.htm.ini
new file mode 100644
index 000000000..b047b0c85
--- /dev/null
+++ b/testing/web-platform/meta/XMLHttpRequest/open-url-multi-window-4.htm.ini
@@ -0,0 +1,6 @@
+[open-url-multi-window-4.htm]
+ type: testharness
+ expected: TIMEOUT
+ [XMLHttpRequest: open() resolving URLs (multi-Window; 4; evil)]
+ expected: TIMEOUT
+
diff --git a/testing/web-platform/meta/XMLHttpRequest/overridemimetype-invalid-mime-type.htm.ini b/testing/web-platform/meta/XMLHttpRequest/overridemimetype-invalid-mime-type.htm.ini
new file mode 100644
index 000000000..8dc44ad26
--- /dev/null
+++ b/testing/web-platform/meta/XMLHttpRequest/overridemimetype-invalid-mime-type.htm.ini
@@ -0,0 +1,5 @@
+[overridemimetype-invalid-mime-type.htm]
+ type: testharness
+ [XMLHttpRequest: overrideMimeType() in unsent state, invalid MIME types]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/XMLHttpRequest/responsetext-decoding.htm.ini b/testing/web-platform/meta/XMLHttpRequest/responsetext-decoding.htm.ini
new file mode 100644
index 000000000..755f52a16
--- /dev/null
+++ b/testing/web-platform/meta/XMLHttpRequest/responsetext-decoding.htm.ini
@@ -0,0 +1,14 @@
+[responsetext-decoding.htm]
+ type: testharness
+ [XMLHttpRequest: responseText decoding (text/html %3C!doctype%20html%3E%3Cmeta%20charset%3Dwindows-1252%3E%FF)]
+ expected: FAIL
+
+ [XMLHttpRequest: responseText decoding (text/plain %FE%FF)]
+ expected: FAIL
+
+ [XMLHttpRequest: responseText decoding (text/plain %FE%FF%FE%FF)]
+ expected: FAIL
+
+ [XMLHttpRequest: responseText decoding (text/plain %C2)]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/XMLHttpRequest/responsexml-document-properties.htm.ini b/testing/web-platform/meta/XMLHttpRequest/responsexml-document-properties.htm.ini
new file mode 100644
index 000000000..84467842a
--- /dev/null
+++ b/testing/web-platform/meta/XMLHttpRequest/responsexml-document-properties.htm.ini
@@ -0,0 +1,8 @@
+[responsexml-document-properties.htm]
+ type: testharness
+ [cookie]
+ expected: FAIL
+
+ [cookie (after setting it)]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/XMLHttpRequest/send-authentication-basic.htm.ini b/testing/web-platform/meta/XMLHttpRequest/send-authentication-basic.htm.ini
new file mode 100644
index 000000000..4aa67f4e1
--- /dev/null
+++ b/testing/web-platform/meta/XMLHttpRequest/send-authentication-basic.htm.ini
@@ -0,0 +1,5 @@
+[send-authentication-basic.htm]
+ type: testharness
+ [XMLHttpRequest: send() - "Basic" authenticated requests with user name and password passed to open()]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/XMLHttpRequest/send-authentication-cors-basic-setrequestheader.htm.ini b/testing/web-platform/meta/XMLHttpRequest/send-authentication-cors-basic-setrequestheader.htm.ini
new file mode 100644
index 000000000..13c1bad8d
--- /dev/null
+++ b/testing/web-platform/meta/XMLHttpRequest/send-authentication-cors-basic-setrequestheader.htm.ini
@@ -0,0 +1,5 @@
+[send-authentication-cors-basic-setrequestheader.htm]
+ type: testharness
+ [XMLHttpRequest: send() - "Basic" authenticated CORS request using setRequestHeader() (expects to succeed)]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/XMLHttpRequest/send-authentication-cors-setrequestheader-no-cred.htm.ini b/testing/web-platform/meta/XMLHttpRequest/send-authentication-cors-setrequestheader-no-cred.htm.ini
new file mode 100644
index 000000000..ae2e54330
--- /dev/null
+++ b/testing/web-platform/meta/XMLHttpRequest/send-authentication-cors-setrequestheader-no-cred.htm.ini
@@ -0,0 +1,5 @@
+[send-authentication-cors-setrequestheader-no-cred.htm]
+ type: testharness
+ [CORS request with setRequestHeader auth to URL accepting Authorization header]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/XMLHttpRequest/send-entity-body-document-bogus.htm.ini b/testing/web-platform/meta/XMLHttpRequest/send-entity-body-document-bogus.htm.ini
new file mode 100644
index 000000000..eeccdc772
--- /dev/null
+++ b/testing/web-platform/meta/XMLHttpRequest/send-entity-body-document-bogus.htm.ini
@@ -0,0 +1,5 @@
+[send-entity-body-document-bogus.htm]
+ type: testharness
+ [XMLHttpRequest: send() - unserializable Document]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/XMLHttpRequest/send-network-error-sync-events.sub.htm.ini b/testing/web-platform/meta/XMLHttpRequest/send-network-error-sync-events.sub.htm.ini
new file mode 100644
index 000000000..d7a4bd92f
--- /dev/null
+++ b/testing/web-platform/meta/XMLHttpRequest/send-network-error-sync-events.sub.htm.ini
@@ -0,0 +1,5 @@
+[send-network-error-sync-events.sub.htm]
+ type: testharness
+ [XmlHttpRequest: The send() method: Throw a "throw an "NetworkError" exception when Network error happens (synchronous flag is set)]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/XMLHttpRequest/send-receive-utf16.htm.ini b/testing/web-platform/meta/XMLHttpRequest/send-receive-utf16.htm.ini
new file mode 100644
index 000000000..6f0c89881
--- /dev/null
+++ b/testing/web-platform/meta/XMLHttpRequest/send-receive-utf16.htm.ini
@@ -0,0 +1,5 @@
+[send-receive-utf16.htm]
+ type: testharness
+ [UTF-16 with BOM, no encoding in content-type]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/XMLHttpRequest/send-redirect-post-upload.htm.ini b/testing/web-platform/meta/XMLHttpRequest/send-redirect-post-upload.htm.ini
new file mode 100644
index 000000000..9f950cebe
--- /dev/null
+++ b/testing/web-platform/meta/XMLHttpRequest/send-redirect-post-upload.htm.ini
@@ -0,0 +1,3 @@
+[send-redirect-post-upload.htm]
+ type: testharness
+ disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1290916
diff --git a/testing/web-platform/meta/XMLHttpRequest/send-sync-blocks-async.htm.ini b/testing/web-platform/meta/XMLHttpRequest/send-sync-blocks-async.htm.ini
new file mode 100644
index 000000000..2674f1713
--- /dev/null
+++ b/testing/web-platform/meta/XMLHttpRequest/send-sync-blocks-async.htm.ini
@@ -0,0 +1,5 @@
+[send-sync-blocks-async.htm]
+ type: testharness
+ [XMLHttpRequest: sync requests should block events on pending async requests]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/XMLHttpRequest/setrequestheader-bogus-value.htm.ini b/testing/web-platform/meta/XMLHttpRequest/setrequestheader-bogus-value.htm.ini
new file mode 100644
index 000000000..ffa62dcf2
--- /dev/null
+++ b/testing/web-platform/meta/XMLHttpRequest/setrequestheader-bogus-value.htm.ini
@@ -0,0 +1,8 @@
+[setrequestheader-bogus-value.htm]
+ type: testharness
+ [XMLHttpRequest: setRequestHeader() value argument checks 2]
+ expected: FAIL
+
+ [XMLHttpRequest: setRequestHeader() value argument checks 3]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/XMLHttpRequest/setrequestheader-case-insensitive.htm.ini b/testing/web-platform/meta/XMLHttpRequest/setrequestheader-case-insensitive.htm.ini
new file mode 100644
index 000000000..16277476d
--- /dev/null
+++ b/testing/web-platform/meta/XMLHttpRequest/setrequestheader-case-insensitive.htm.ini
@@ -0,0 +1,5 @@
+[setrequestheader-case-insensitive.htm]
+ type: testharness
+ [XMLHttpRequest: setRequestHeader() - headers that differ in case]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/XMLHttpRequest/setrequestheader-content-type.htm.ini b/testing/web-platform/meta/XMLHttpRequest/setrequestheader-content-type.htm.ini
new file mode 100644
index 000000000..361ad6eb5
--- /dev/null
+++ b/testing/web-platform/meta/XMLHttpRequest/setrequestheader-content-type.htm.ini
@@ -0,0 +1,11 @@
+[setrequestheader-content-type.htm]
+ type: testharness
+ [ReadableStream request respects setRequestHeader("")]
+ expected: FAIL
+
+ [ReadableStream request with under type sends no Content-Type without setRequestHeader() call]
+ expected: FAIL
+
+ [ReadableStream request keeps setRequestHeader() Content-Type and charset]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/XMLHttpRequest/setrequestheader-header-allowed.htm.ini b/testing/web-platform/meta/XMLHttpRequest/setrequestheader-header-allowed.htm.ini
new file mode 100644
index 000000000..9a8d9b02b
--- /dev/null
+++ b/testing/web-platform/meta/XMLHttpRequest/setrequestheader-header-allowed.htm.ini
@@ -0,0 +1,29 @@
+[setrequestheader-header-allowed.htm]
+ type: testharness
+ [XMLHttpRequest: setRequestHeader() - headers that are allowed (Authorization)]
+ expected: FAIL
+
+ [XMLHttpRequest: setRequestHeader() - headers that are allowed (Pragma)]
+ expected: FAIL
+
+ [XMLHttpRequest: setRequestHeader() - headers that are allowed (User-Agent)]
+ expected: FAIL
+
+ [XMLHttpRequest: setRequestHeader() - headers that are allowed (Content-Transfer-Encoding)]
+ expected: FAIL
+
+ [XMLHttpRequest: setRequestHeader() - headers that are allowed (Content-Type)]
+ expected: FAIL
+
+ [XMLHttpRequest: setRequestHeader() - headers that are allowed (Overwrite)]
+ expected: FAIL
+
+ [XMLHttpRequest: setRequestHeader() - headers that are allowed (If)]
+ expected: FAIL
+
+ [XMLHttpRequest: setRequestHeader() - headers that are allowed (Status-URI)]
+ expected: FAIL
+
+ [XMLHttpRequest: setRequestHeader() - headers that are allowed (X-Pink-Unicorn)]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/XMLHttpRequest/xmlhttprequest-timeout-overridesexpires.html.ini b/testing/web-platform/meta/XMLHttpRequest/xmlhttprequest-timeout-overridesexpires.html.ini
new file mode 100644
index 000000000..ba7ba0a46
--- /dev/null
+++ b/testing/web-platform/meta/XMLHttpRequest/xmlhttprequest-timeout-overridesexpires.html.ini
@@ -0,0 +1,6 @@
+[xmlhttprequest-timeout-overridesexpires.html]
+ type: testharness
+ [Timeout test: timeout set to expired value before load fires, original timeout at 1000, reset at 400 to 300]
+ expected:
+ if debug and (os == "win") and (version == "6.2.9200") and (processor == "x86_64") and (bits == 64): FAIL
+