mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Implement responseXML API and document response type for XHR
This commit is contained in:
parent
f4aa5b42ea
commit
88e6504e0a
17 changed files with 166 additions and 106 deletions
|
@ -0,0 +1,5 @@
|
|||
[abort-after-send.htm]
|
||||
type: testharness
|
||||
[XMLHttpRequest: abort() after send()]
|
||||
expected: FAIL
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[overridemimetype-open-state-force-xml.htm]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[XMLHttpRequest: overrideMimeType() in open state, XML MIME type with UTF-8 charset]
|
||||
expected: TIMEOUT
|
||||
|
|
@ -3,3 +3,6 @@
|
|||
[XMLHttpRequest: responseXML basic test]
|
||||
expected: FAIL
|
||||
|
||||
[responseXML on empty response documents]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -12,12 +12,6 @@
|
|||
[referrer]
|
||||
expected: FAIL
|
||||
|
||||
[title]
|
||||
expected: FAIL
|
||||
|
||||
[contentType]
|
||||
expected: FAIL
|
||||
|
||||
[readyState]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -33,30 +27,15 @@
|
|||
[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
|
||||
|
||||
|
|
|
@ -1,26 +0,0 @@
|
|||
[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
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
[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,23 @@
|
|||
[responsexml-non-well-formed.htm]
|
||||
type: testharness
|
||||
[XMLHttpRequest: responseXML non well-formed tests]
|
||||
expected: FAIL
|
||||
|
||||
[XMLHttpRequest: responseXML non well-formed tests 1]
|
||||
expected: FAIL
|
||||
|
||||
[XMLHttpRequest: responseXML non well-formed tests 2]
|
||||
expected: FAIL
|
||||
|
||||
[XMLHttpRequest: responseXML non well-formed tests 3]
|
||||
expected: FAIL
|
||||
|
||||
[XMLHttpRequest: responseXML non well-formed tests 4]
|
||||
expected: FAIL
|
||||
|
||||
[XMLHttpRequest: responseXML non well-formed tests 5]
|
||||
expected: FAIL
|
||||
|
||||
[XMLHttpRequest: responseXML non well-formed tests 6]
|
||||
expected: FAIL
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
[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
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
[status-async.htm]
|
||||
type: testharness
|
||||
[XMLHttpRequest: status/statusText - various responses 7 (GET 402)]
|
||||
expected: FAIL
|
||||
|
||||
[XMLHttpRequest: status/statusText - various responses 9 (CHICKEN 402)]
|
||||
expected: FAIL
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
[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
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[xmlhttprequest-network-error-sync.htm]
|
||||
type: testharness
|
||||
[XMLHttpRequest: members during network errors (sync)]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[xmlhttprequest-network-error.htm]
|
||||
type: testharness
|
||||
[XMLHttpRequest: members during network errors]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[xhr_responseType_document.html]
|
||||
type: testharness
|
||||
[XHR - retrieve HTML document: document.contentType === 'application/xml']
|
||||
expected: FAIL
|
||||
|
3
tests/wpt/metadata/workers/semantics/xhr/001.html.ini
Normal file
3
tests/wpt/metadata/workers/semantics/xhr/001.html.ini
Normal file
|
@ -0,0 +1,3 @@
|
|||
[001.html]
|
||||
type: testharness
|
||||
expected: CRASH
|
6
tests/wpt/metadata/workers/semantics/xhr/002.html.ini
Normal file
6
tests/wpt/metadata/workers/semantics/xhr/002.html.ini
Normal file
|
@ -0,0 +1,6 @@
|
|||
[002.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[sync XMLHttpRequest in dedicated worker]
|
||||
expected: TIMEOUT
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue