Implement the overrideMimeType method for XMLHttpRequest

This commit is contained in:
Jitendra Jain 2015-10-17 22:25:32 -04:00
parent 4067960ba5
commit ed809a60bf
11 changed files with 32 additions and 26 deletions

View file

@ -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

View file

@ -1,5 +0,0 @@
[overridemimetype-done-state.htm]
type: testharness
[XMLHttpRequest: overrideMimeType() in DONE state]
expected: FAIL

View file

@ -1,5 +0,0 @@
[overridemimetype-invalid-mime-type.htm]
type: testharness
[XMLHttpRequest: overrideMimeType() in unsent state, invalid MIME types]
expected: FAIL

View file

@ -1,5 +0,0 @@
[overridemimetype-loading-state.htm]
type: testharness
[XMLHttpRequest: overrideMimeType() in LOADING state]
expected: FAIL

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -8,3 +8,6 @@
[XML document, windows-1252]
expected: FAIL
[HTML document, invalid UTF-8]
expected: FAIL