mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Implement the overrideMimeType method for XMLHttpRequest
This commit is contained in:
parent
4067960ba5
commit
ed809a60bf
11 changed files with 32 additions and 26 deletions
|
@ -1,20 +1,11 @@
|
|||
[interfaces.html]
|
||||
type: testharness
|
||||
[XMLHttpRequest interface: operation overrideMimeType(DOMString)]
|
||||
expected: FAIL
|
||||
|
||||
[XMLHttpRequest interface: calling overrideMimeType(DOMString) on new XMLHttpRequest() with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[FormData interface: new FormData() must inherit property "getAll" with the proper type (4)]
|
||||
expected: FAIL
|
||||
|
||||
[FormData interface: new FormData(form) must inherit property "getAll" with the proper type (4)]
|
||||
expected: FAIL
|
||||
|
||||
[XMLHttpRequest interface: new XMLHttpRequest() must inherit property "overrideMimeType" with the proper type (20)]
|
||||
expected: FAIL
|
||||
|
||||
[FormData interface: operation getAll(USVString)]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
[overridemimetype-done-state.htm]
|
||||
type: testharness
|
||||
[XMLHttpRequest: overrideMimeType() in DONE state]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[overridemimetype-invalid-mime-type.htm]
|
||||
type: testharness
|
||||
[XMLHttpRequest: overrideMimeType() in unsent state, invalid MIME types]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[overridemimetype-loading-state.htm]
|
||||
type: testharness
|
||||
[XMLHttpRequest: overrideMimeType() in LOADING state]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +1,6 @@
|
|||
[overridemimetype-open-state-force-utf-8.htm]
|
||||
type: testharness
|
||||
expected: CRASH
|
||||
[XMLHttpRequest: overrideMimeType() in open state, enforcing UTF-8 encoding]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
[overridemimetype-open-state-force-xml.htm]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[XMLHttpRequest: overrideMimeType() in open state, XML MIME type with UTF-8 charset]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
[overridemimetype-unsent-state-force-shiftjis.htm]
|
||||
type: testharness
|
||||
expected: CRASH
|
||||
[XMLHttpRequest: overrideMimeType() in unsent state, enforcing Shift-JIS encoding]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -8,3 +8,6 @@
|
|||
[XML document, windows-1252]
|
||||
expected: FAIL
|
||||
|
||||
[HTML document, invalid UTF-8]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue