mirror of
https://github.com/servo/servo.git
synced 2025-06-20 07:08:59 +01:00
Update wpt expectations, include XHR in the WPT run
This commit is contained in:
parent
52b5d2575c
commit
4c0b368c67
147 changed files with 2015 additions and 348 deletions
File diff suppressed because it is too large
Load diff
|
@ -0,0 +1,5 @@
|
||||||
|
[FormData-append.html]
|
||||||
|
type: testharness
|
||||||
|
[Passing a String object to FormData.append should work.]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
[abort-after-stop.htm]
|
||||||
|
type: testharness
|
||||||
|
[XMLHttpRequest: abort event should fire when stop() method is used]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
[abort-upload-event-abort.htm]
|
||||||
|
type: testharness
|
||||||
|
[XMLHttpRequest: The abort() method: Fire a progress event named abort on the XMLHttpRequestUpload object]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
[anonymous-mode-unsupported.htm]
|
||||||
|
type: testharness
|
||||||
|
expected: TIMEOUT
|
||||||
|
[XMLHttpRequest: anonymous mode unsupported]
|
||||||
|
expected: TIMEOUT
|
||||||
|
|
20
src/test/wpt/metadata/XMLHttpRequest/data-uri-basic.htm.ini
Normal file
20
src/test/wpt/metadata/XMLHttpRequest/data-uri-basic.htm.ini
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
[data-uri-basic.htm]
|
||||||
|
type: testharness
|
||||||
|
[GET responseText]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[GET Content-Type]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[GET Content-Type with param]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[GET getAllResponseHeaders]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[POST responseText]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[POST status]
|
||||||
|
expected: FAIL
|
||||||
|
|
29
src/test/wpt/metadata/XMLHttpRequest/data-uri.htm.ini
Normal file
29
src/test/wpt/metadata/XMLHttpRequest/data-uri.htm.ini
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
[data-uri.htm]
|
||||||
|
type: testharness
|
||||||
|
[XHR method GET with charset text/plain]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[XHR method GET with charset text/plain (base64)]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[XHR method GET with charset text/html]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[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
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
[formdata-blob.htm]
|
||||||
|
type: testharness
|
||||||
|
[formdata with blob]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[formdata with named blob]
|
||||||
|
expected: FAIL
|
||||||
|
|
11
src/test/wpt/metadata/XMLHttpRequest/formdata.htm.ini
Normal file
11
src/test/wpt/metadata/XMLHttpRequest/formdata.htm.ini
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
[formdata.htm]
|
||||||
|
type: testharness
|
||||||
|
[formdata with string]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[formdata with named string]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[formdata from form]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
[getallresponseheaders-cookies.htm]
|
||||||
|
type: testharness
|
||||||
|
[XMLHttpRequest: getAllResponseHeaders() excludes cookies]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
[getresponseheader-case-insensitive.htm]
|
||||||
|
type: testharness
|
||||||
|
[XMLHttpRequest: getResponseHeader() case-insensitive matching]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
[getresponseheader-chunked-trailer.htm]
|
||||||
|
type: testharness
|
||||||
|
[XMLHttpRequest: getResponseHeader() and HTTP trailer]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
[getresponseheader-cookies-and-more.htm]
|
||||||
|
type: testharness
|
||||||
|
[XMLHttpRequest: getResponseHeader() custom/non-existent headers and cookies]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
[getresponseheader-error-state.htm]
|
||||||
|
type: testharness
|
||||||
|
[XMLHttpRequest: getResponseHeader() in error state (failing cross-origin test)]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
[getresponseheader-special-characters.htm]
|
||||||
|
type: testharness
|
||||||
|
[XMLHttpRequest: getResponseHeader() funny characters]
|
||||||
|
expected: FAIL
|
||||||
|
|
6
src/test/wpt/metadata/XMLHttpRequest/interfaces.html.ini
Normal file
6
src/test/wpt/metadata/XMLHttpRequest/interfaces.html.ini
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
[interfaces.html]
|
||||||
|
type: testharness
|
||||||
|
expected: TIMEOUT
|
||||||
|
[XMLHttpRequestUpload interface: existence and properties of interface object]
|
||||||
|
expected: TIMEOUT
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
[open-after-setrequestheader.htm]
|
||||||
|
type: testharness
|
||||||
|
expected: TIMEOUT
|
||||||
|
[XMLHttpRequest: open() after setRequestHeader()]
|
||||||
|
expected: TIMEOUT
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
[open-url-about-blank-window.htm]
|
||||||
|
type: testharness
|
||||||
|
[XMLHttpRequest: open() resolving URLs (about:blank iframe)]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
[open-url-base-inserted.htm]
|
||||||
|
type: testharness
|
||||||
|
[XMLHttpRequest: open() resolving URLs - insert ]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
[open-url-base.htm]
|
||||||
|
type: testharness
|
||||||
|
[XMLHttpRequest: open() resolving URLs - ]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
[open-url-bogus.htm]
|
||||||
|
type: testharness
|
||||||
|
[XMLHttpRequest: open() - bogus URLs (http:)]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
[open-url-encoding.htm]
|
||||||
|
type: testharness
|
||||||
|
[XMLHttpRequest: open() - URL encoding]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
[open-url-fragment.htm]
|
||||||
|
type: testharness
|
||||||
|
[make sure escaped # is not removed]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
[open-url-javascript-window-2.htm]
|
||||||
|
type: testharness
|
||||||
|
expected: TIMEOUT
|
||||||
|
[XMLHttpRequest: open() - resolving URLs (javascript: ]
|
||||||
|
expected: TIMEOUT
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
[open-url-javascript-window.htm]
|
||||||
|
type: testharness
|
||||||
|
expected: TIMEOUT
|
||||||
|
[XMLHttpRequest: open() - resolving URLs (javascript: ]
|
||||||
|
expected: TIMEOUT
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
[EventTarget-dispatchEvent.html]
|
[open-url-multi-window-2.htm]
|
||||||
type: testharness
|
type: testharness
|
||||||
expected: TIMEOUT
|
expected: TIMEOUT
|
|
@ -0,0 +1,3 @@
|
||||||
|
[open-url-multi-window-3.htm]
|
||||||
|
type: testharness
|
||||||
|
expected: TIMEOUT
|
|
@ -0,0 +1,6 @@
|
||||||
|
[open-url-multi-window-4.htm]
|
||||||
|
type: testharness
|
||||||
|
expected: TIMEOUT
|
||||||
|
[XMLHttpRequest: open() resolving URLs (multi-Window; 4; evil)]
|
||||||
|
expected: NOTRUN
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
[open-url-multi-window-5.htm]
|
||||||
|
type: testharness
|
||||||
|
expected: TIMEOUT
|
||||||
|
[XMLHttpRequest: open() resolving URLs (multi-Window; 5)]
|
||||||
|
expected: NOTRUN
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
[open-url-multi-window.htm]
|
||||||
|
type: testharness
|
||||||
|
expected: TIMEOUT
|
||||||
|
[XMLHttpRequest: open() resolving URLs (multi-Window; 1)]
|
||||||
|
expected: NOTRUN
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
[open-url-worker-origin.htm]
|
||||||
|
type: testharness
|
||||||
|
expected: TIMEOUT
|
||||||
|
[XMLHttpRequest: worker scripts, origin and referrer]
|
||||||
|
expected: NOTRUN
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
[open-url-worker-simple.htm]
|
||||||
|
type: testharness
|
||||||
|
expected: TIMEOUT
|
||||||
|
[XMLHttpRequest: relative URLs in worker scripts resolved by script URL]
|
||||||
|
expected: NOTRUN
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
[overridemimetype-done-state.htm]
|
||||||
|
type: testharness
|
||||||
|
[XMLHttpRequest: overrideMimeType() in DONE state]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
[overridemimetype-headers-received-state-force-shiftjis.htm]
|
||||||
|
type: testharness
|
||||||
|
[XMLHttpRequest: overrideMimeType() in HEADERS RECEIVED state, enforcing Shift-JIS encoding]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
[overridemimetype-invalid-mime-type.htm]
|
||||||
|
type: testharness
|
||||||
|
[XMLHttpRequest: overrideMimeType() in unsent state, invalid MIME types]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
[overridemimetype-loading-state.htm]
|
||||||
|
type: testharness
|
||||||
|
[XMLHttpRequest: overrideMimeType() in LOADING state]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
[overridemimetype-open-state-force-utf-8.htm]
|
||||||
|
type: testharness
|
||||||
|
[XMLHttpRequest: overrideMimeType() in open state, enforcing UTF-8 encoding]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
[overridemimetype-open-state-force-xml.htm]
|
||||||
|
type: testharness
|
||||||
|
[XMLHttpRequest: overrideMimeType() in open state, XML MIME type with UTF-8 charset]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
[overridemimetype-unsent-state-force-shiftjis.htm]
|
||||||
|
type: testharness
|
||||||
|
[XMLHttpRequest: overrideMimeType() in unsent state, enforcing Shift-JIS encoding]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
[response-data-arraybuffer.htm]
|
||||||
|
type: testharness
|
||||||
|
[XMLHttpRequest: The response attribute: ArrayBuffer data]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
[response-data-blob.htm]
|
||||||
|
type: testharness
|
||||||
|
[XMLHttpRequest: The response attribute: Blob data]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
[response-data-gzip.htm]
|
||||||
|
type: testharness
|
||||||
|
[XMLHttpRequest: GZIP response was correctly inflated]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
[response-json.htm]
|
||||||
|
type: testharness
|
||||||
|
expected: TIMEOUT
|
|
@ -0,0 +1,41 @@
|
||||||
|
[responsetext-decoding.htm]
|
||||||
|
type: testharness
|
||||||
|
[XMLHttpRequest: responseText decoding (text/plain;charset=windows-1252 %FF)]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[XMLHttpRequest: responseText decoding (text/plain %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 %EF%BB%BF)]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[XMLHttpRequest: responseText decoding (text/plain %EF%BB%BF%EF%BB%BF)]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[XMLHttpRequest: responseText decoding (text/plain %C2)]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[XMLHttpRequest: responseText decoding (text/xml %FE%FF)]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[XMLHttpRequest: responseText decoding (text/xml %FE%FF%FE%FF)]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[XMLHttpRequest: responseText decoding (text/xml %EF%BB%BF)]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[XMLHttpRequest: responseText decoding (text/xml %EF%BB%BF%EF%BB%BF)]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[XMLHttpRequest: responseText decoding (text/plain %E3%81%B2)]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[XMLHttpRequest: responseText decoding (text/xml %3C%3Fxml%20version%3D\'1.0\'%20encoding%3D\'windows-1252\'%3F%3E%3Cx%3E%E3%81%B2%3C%2Fx%3E)]
|
||||||
|
expected: FAIL
|
||||||
|
|
20
src/test/wpt/metadata/XMLHttpRequest/responsetype.html.ini
Normal file
20
src/test/wpt/metadata/XMLHttpRequest/responsetype.html.ini
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
[responsetype.html]
|
||||||
|
type: testharness
|
||||||
|
[Set responseType to "" when readyState is OPENED and the sync flag is set.]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Set responseType to "json" when readyState is OPENED and the sync flag is set.]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Set responseType to "document" when readyState is OPENED and the sync flag is set.]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Set responseType to "arraybuffer" when readyState is OPENED and the sync flag is set.]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Set responseType to "blob" when readyState is OPENED and the sync flag is set.]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Set responseType to "text" when readyState is OPENED and the sync flag is set.]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
[responsexml-basic.htm]
|
||||||
|
type: testharness
|
||||||
|
[XMLHttpRequest: responseXML basic test]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,62 @@
|
||||||
|
[responsexml-document-properties.htm]
|
||||||
|
type: testharness
|
||||||
|
[domain]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[URL]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[documentURI]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[referrer]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[title]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[contentType]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[readyState]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[location]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[defaultView]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[body]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[images]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[doctype]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[forms]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[all]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[links]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[cookie]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[lastModified set according to HTTP header]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[cookie (after setting it)]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[styleSheets]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[implementation]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,26 @@
|
||||||
|
[responsexml-media-type.htm]
|
||||||
|
type: testharness
|
||||||
|
[XMLHttpRequest: responseXML MIME type tests (\'\', should parse)]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[XMLHttpRequest: responseXML MIME type tests (\'bogus\', should parse)]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[XMLHttpRequest: responseXML MIME type tests (\'bogus+xml\', should parse)]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[XMLHttpRequest: responseXML MIME type tests (\'video/x-awesome+xml\', should parse)]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[XMLHttpRequest: responseXML MIME type tests (\'text/xml\', should parse)]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[XMLHttpRequest: responseXML MIME type tests (\'application\', should parse)]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[XMLHttpRequest: responseXML MIME type tests (\'application/xhtml+xml\', should parse)]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[XMLHttpRequest: responseXML MIME type tests (\'image/svg+xml\', should parse)]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,14 @@
|
||||||
|
[responsexml-non-document-types.htm]
|
||||||
|
type: testharness
|
||||||
|
[XMLHttpRequest: responseXML/responseText on other responseType (arraybuffer)]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[XMLHttpRequest: responseXML/responseText on other responseType (blob)]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[XMLHttpRequest: responseXML/responseText on other responseType (json)]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[XMLHttpRequest: responseXML/responseText on other responseType (text)]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
[send-accept-language.htm]
|
||||||
|
type: testharness
|
||||||
|
[Send "sensible" default value, whatever that means]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
[send-after-setting-document-domain.htm]
|
||||||
|
type: testharness
|
||||||
|
expected: TIMEOUT
|
|
@ -0,0 +1,5 @@
|
||||||
|
[send-authentication-basic-cors-not-enabled.htm]
|
||||||
|
type: testharness
|
||||||
|
[XMLHttpRequest: send() - "Basic" authenticated CORS requests with user name and password passed to open() (asserts failure)]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
[send-authentication-basic-cors.htm]
|
||||||
|
type: testharness
|
||||||
|
[XMLHttpRequest: send() - "Basic" authenticated CORS requests with user name and password passed to open() (asserts failure)]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
[send-authentication-basic-repeat-no-args.htm]
|
||||||
|
type: testharness
|
||||||
|
[XMLHttpRequest: send() - "Basic" authenticated requests with user name and password passed to open() in first request, without in second]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
[send-authentication-basic-setrequestheader-existing-session.htm]
|
||||||
|
type: testharness
|
||||||
|
[XMLHttpRequest: send() - "Basic" authenticated request using setRequestHeader() when there is an existing session]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
[send-authentication-basic-setrequestheader.htm]
|
||||||
|
type: testharness
|
||||||
|
[XMLHttpRequest: send() - "Basic" authenticated request using setRequestHeader()]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -0,0 +1,20 @@
|
||||||
|
[send-authentication-competing-names-passwords.htm]
|
||||||
|
type: testharness
|
||||||
|
[XMLHttpRequest: send() - "Basic" authenticated requests with competing user name/password options user/pass in open() call]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[XMLHttpRequest: send() - "Basic" authenticated requests with competing user name/password options another user/pass in open() call - must override cached credentials from previous test]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[XMLHttpRequest: send() - "Basic" authenticated requests with competing user name/password options user/pass both in URL userinfo AND open() call - expexted that open() wins]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[XMLHttpRequest: send() - "Basic" authenticated requests with competing user name/password options user/pass *only* in URL userinfo]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[XMLHttpRequest: send() - "Basic" authenticated requests with competing user name/password options user name in URL userinfo, password in open() call: user name wins and password is thrown away]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[XMLHttpRequest: send() - "Basic" authenticated requests with competing user name/password options user name and password in URL userinfo, only user name in open() call: user name in open() wins]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
[send-conditional.htm]
|
||||||
|
type: testharness
|
||||||
|
[XMLHttpRequest: send() - conditional requests (tag)]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[XMLHttpRequest: send() - conditional requests (date)]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
[send-content-type-charset.htm]
|
||||||
|
type: testharness
|
||||||
|
[XMLHttpRequest: send() - charset parameter of Content-Type]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[XMLHttpRequest: send() - charset parameter of Content-Type 3]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[XMLHttpRequest: send() - charset parameter of Content-Type 6]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
[send-data-arraybuffer.htm]
|
||||||
|
type: testharness
|
||||||
|
[XMLHttpRequest: The send() method: ArrayBuffer data]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
[send-data-blob.htm]
|
||||||
|
type: testharness
|
||||||
|
[XMLHttpRequest: The send() method: Blob data]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
[send-data-formdata.htm]
|
||||||
|
type: testharness
|
||||||
|
[XmlHttpRequest: The send() method: FormData data]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
[send-entity-body-document-bogus.htm]
|
||||||
|
type: testharness
|
||||||
|
[XMLHttpRequest: send() - unserializable Document]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
[send-entity-body-document.htm]
|
||||||
|
type: testharness
|
||||||
|
expected: TIMEOUT
|
|
@ -0,0 +1,9 @@
|
||||||
|
[send-entity-body-get-head-async.htm]
|
||||||
|
type: testharness
|
||||||
|
expected: TIMEOUT
|
||||||
|
[XMLHttpRequest: send() - non-empty data argument and GET/HEAD - async, no upload events should fire (GET)]
|
||||||
|
expected: NOTRUN
|
||||||
|
|
||||||
|
[XMLHttpRequest: send() - non-empty data argument and GET/HEAD - async, no upload events should fire (HEAD)]
|
||||||
|
expected: NOTRUN
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
[send-entity-body-none.htm]
|
||||||
|
type: testharness
|
||||||
|
[XMLHttpRequest: send(null) - no entity body]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
[send-network-error-async-events.sub.htm]
|
||||||
|
type: testharness
|
||||||
|
expected: TIMEOUT
|
||||||
|
[XmlHttpRequest: The send() method: Fire a progress event named error when Network error happens (synchronous flag is unset)]
|
||||||
|
expected: TIMEOUT
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
[send-no-response-event-loadend.htm]
|
||||||
|
type: testharness
|
||||||
|
expected: TIMEOUT
|
||||||
|
[XMLHttpRequest: The send() method: Fire a progress event named loadend (no response entity body)]
|
||||||
|
expected: TIMEOUT
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
[send-no-response-event-order.htm]
|
||||||
|
type: testharness
|
||||||
|
expected: TIMEOUT
|
||||||
|
[XMLHttpRequest: The send() method: event order when there is no response entity body]
|
||||||
|
expected: TIMEOUT
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
[send-non-same-origin.htm]
|
||||||
|
type: testharness
|
||||||
|
expected: TIMEOUT
|
|
@ -0,0 +1,3 @@
|
||||||
|
[send-redirect-bogus-sync.htm]
|
||||||
|
type: testharness
|
||||||
|
expected: TIMEOUT
|
|
@ -0,0 +1,15 @@
|
||||||
|
[send-redirect-bogus.htm]
|
||||||
|
type: testharness
|
||||||
|
expected: TIMEOUT
|
||||||
|
[XMLHttpRequest: send() - Redirects (bogus Location header) (302: http://example.not)]
|
||||||
|
expected: TIMEOUT
|
||||||
|
|
||||||
|
[XMLHttpRequest: send() - Redirects (bogus Location header) (302: mailto:someone@example.org)]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[XMLHttpRequest: send() - Redirects (bogus Location header) (303: http://example.not)]
|
||||||
|
expected: TIMEOUT
|
||||||
|
|
||||||
|
[XMLHttpRequest: send() - Redirects (bogus Location header) (303: foobar:someone@example.org)]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
[send-redirect-infinite.htm]
|
||||||
|
type: testharness
|
||||||
|
expected: TIMEOUT
|
||||||
|
[XMLHttpRequest: send() - Redirects (infinite loop)]
|
||||||
|
expected: NOTRUN
|
||||||
|
|
|
@ -0,0 +1,14 @@
|
||||||
|
[send-redirect-no-location.htm]
|
||||||
|
type: testharness
|
||||||
|
[XMLHttpRequest: send() - Redirects (no Location header) (301)]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[XMLHttpRequest: send() - Redirects (no Location header) (302)]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[XMLHttpRequest: send() - Redirects (no Location header) (303)]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[XMLHttpRequest: send() - Redirects (no Location header) (307)]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,14 @@
|
||||||
|
[send-redirect-to-cors.htm]
|
||||||
|
type: testharness
|
||||||
|
[XMLHttpRequest: send() - Redirect to CORS-enabled resource (301)]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[XMLHttpRequest: send() - Redirect to CORS-enabled resource (302)]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[XMLHttpRequest: send() - Redirect to CORS-enabled resource (303)]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[XMLHttpRequest: send() - Redirect to CORS-enabled resource (307)]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,14 @@
|
||||||
|
[send-redirect-to-non-cors.htm]
|
||||||
|
type: testharness
|
||||||
|
[XMLHttpRequest: send() - Redirect to cross-origin resource, not CORS-enabled (301)]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[XMLHttpRequest: send() - Redirect to cross-origin resource, not CORS-enabled (302)]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[XMLHttpRequest: send() - Redirect to cross-origin resource, not CORS-enabled (303)]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[XMLHttpRequest: send() - Redirect to cross-origin resource, not CORS-enabled (307)]
|
||||||
|
expected: FAIL
|
||||||
|
|
14
src/test/wpt/metadata/XMLHttpRequest/send-redirect.htm.ini
Normal file
14
src/test/wpt/metadata/XMLHttpRequest/send-redirect.htm.ini
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
[send-redirect.htm]
|
||||||
|
type: testharness
|
||||||
|
[XMLHttpRequest: send() - Redirects (basics) (301)]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[XMLHttpRequest: send() - Redirects (basics) (302)]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[XMLHttpRequest: send() - Redirects (basics) (303)]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[XMLHttpRequest: send() - Redirects (basics) (307)]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
[send-response-event-order.htm]
|
||||||
|
type: testharness
|
||||||
|
[XMLHttpRequest: The send() method: event order when synchronous flag is unset]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
[setrequestheader-bogus-name.htm]
|
||||||
|
type: testharness
|
||||||
|
expected: TIMEOUT
|
|
@ -0,0 +1,3 @@
|
||||||
|
[setrequestheader-bogus-value.htm]
|
||||||
|
type: testharness
|
||||||
|
expected: TIMEOUT
|
|
@ -0,0 +1,5 @@
|
||||||
|
[setrequestheader-case-insensitive.htm]
|
||||||
|
type: testharness
|
||||||
|
[XMLHttpRequest: setRequestHeader() - headers that differ in case]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,26 @@
|
||||||
|
[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 (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
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
[setrequestheader-header-forbidden.htm]
|
||||||
|
type: testharness
|
||||||
|
[XMLHttpRequest: setRequestHeader() - headers that are forbidden]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
[status-async.htm]
|
||||||
|
type: testharness
|
||||||
|
expected: TIMEOUT
|
|
@ -0,0 +1,8 @@
|
||||||
|
[status-basic.htm]
|
||||||
|
type: testharness
|
||||||
|
[XMLHttpRequest: status/statusText - various responses 7 (GET 402)]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[XMLHttpRequest: status/statusText - various responses 9 (CHICKEN 402)]
|
||||||
|
expected: FAIL
|
||||||
|
|
60
src/test/wpt/metadata/XMLHttpRequest/status-error.htm.ini
Normal file
60
src/test/wpt/metadata/XMLHttpRequest/status-error.htm.ini
Normal file
|
@ -0,0 +1,60 @@
|
||||||
|
[status-error.htm]
|
||||||
|
type: testharness
|
||||||
|
expected: TIMEOUT
|
||||||
|
[XMLHttpRequest: status error handling GET 200]
|
||||||
|
expected: TIMEOUT
|
||||||
|
|
||||||
|
[XMLHttpRequest: status error handling GET 400]
|
||||||
|
expected: TIMEOUT
|
||||||
|
|
||||||
|
[XMLHttpRequest: status error handling GET 401]
|
||||||
|
expected: TIMEOUT
|
||||||
|
|
||||||
|
[XMLHttpRequest: status error handling GET 404]
|
||||||
|
expected: TIMEOUT
|
||||||
|
|
||||||
|
[XMLHttpRequest: status error handling GET 410]
|
||||||
|
expected: TIMEOUT
|
||||||
|
|
||||||
|
[XMLHttpRequest: status error handling GET 500]
|
||||||
|
expected: TIMEOUT
|
||||||
|
|
||||||
|
[XMLHttpRequest: status error handling GET 699]
|
||||||
|
expected: TIMEOUT
|
||||||
|
|
||||||
|
[XMLHttpRequest: status error handling HEAD 200]
|
||||||
|
expected: TIMEOUT
|
||||||
|
|
||||||
|
[XMLHttpRequest: status error handling HEAD 404]
|
||||||
|
expected: TIMEOUT
|
||||||
|
|
||||||
|
[XMLHttpRequest: status error handling HEAD 500]
|
||||||
|
expected: TIMEOUT
|
||||||
|
|
||||||
|
[XMLHttpRequest: status error handling HEAD 699]
|
||||||
|
expected: TIMEOUT
|
||||||
|
|
||||||
|
[XMLHttpRequest: status error handling POST 200]
|
||||||
|
expected: TIMEOUT
|
||||||
|
|
||||||
|
[XMLHttpRequest: status error handling POST 404]
|
||||||
|
expected: TIMEOUT
|
||||||
|
|
||||||
|
[XMLHttpRequest: status error handling POST 500]
|
||||||
|
expected: TIMEOUT
|
||||||
|
|
||||||
|
[XMLHttpRequest: status error handling POST 699]
|
||||||
|
expected: TIMEOUT
|
||||||
|
|
||||||
|
[XMLHttpRequest: status error handling PUT 200]
|
||||||
|
expected: TIMEOUT
|
||||||
|
|
||||||
|
[XMLHttpRequest: status error handling PUT 404]
|
||||||
|
expected: TIMEOUT
|
||||||
|
|
||||||
|
[XMLHttpRequest: status error handling PUT 500]
|
||||||
|
expected: TIMEOUT
|
||||||
|
|
||||||
|
[XMLHttpRequest: status error handling PUT 699]
|
||||||
|
expected: TIMEOUT
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
[timeout-cors-async.htm]
|
||||||
|
type: testharness
|
||||||
|
expected: TIMEOUT
|
||||||
|
[XMLHttpRequest: timeout event and cross-origin request]
|
||||||
|
expected: NOTRUN
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
[timeout-sync.htm]
|
||||||
|
type: testharness
|
||||||
|
[setting timeout attribute on sync request]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
[withcredentials-wrong-state.htm]
|
||||||
|
type: testharness
|
||||||
|
[XMLHttpRequest: setting withCredentials when not in UNSENT, OPENED state]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
[xmlhttprequest-network-error-sync.htm]
|
||||||
|
type: testharness
|
||||||
|
[XMLHttpRequest: members during network errors (sync)]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
[xmlhttprequest-network-error.htm]
|
||||||
|
type: testharness
|
||||||
|
expected: TIMEOUT
|
||||||
|
[XMLHttpRequest: members during network errors]
|
||||||
|
expected: TIMEOUT
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
[xmlhttprequest-timeout-aborted.html]
|
||||||
|
type: testharness
|
||||||
|
expected: TIMEOUT
|
|
@ -0,0 +1,3 @@
|
||||||
|
[xmlhttprequest-timeout-abortedonmain.html]
|
||||||
|
type: testharness
|
||||||
|
expected: TIMEOUT
|
|
@ -0,0 +1,3 @@
|
||||||
|
[xmlhttprequest-timeout-overrides.html]
|
||||||
|
type: testharness
|
||||||
|
expected: TIMEOUT
|
|
@ -0,0 +1,3 @@
|
||||||
|
[xmlhttprequest-timeout-overridesexpires.html]
|
||||||
|
type: testharness
|
||||||
|
expected: TIMEOUT
|
|
@ -0,0 +1,3 @@
|
||||||
|
[xmlhttprequest-timeout-simple.html]
|
||||||
|
type: testharness
|
||||||
|
expected: TIMEOUT
|
|
@ -0,0 +1,3 @@
|
||||||
|
[xmlhttprequest-timeout-synconmain.html]
|
||||||
|
type: testharness
|
||||||
|
expected: TIMEOUT
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue