| Index: LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-overridemimetype-allowedState-expected.txt
|
| diff --git a/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-overridemimetype-allowedState-expected.txt b/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-overridemimetype-allowedState-expected.txt
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..6e6ede41156ef5fa2d98472fc9ff5e753123f83b
|
| --- /dev/null
|
| +++ b/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-overridemimetype-allowedState-expected.txt
|
| @@ -0,0 +1,20 @@
|
| +Testing overrideMimeType when readyState is 0
|
| +PASS xhr.overrideMimeType('text/asdf') did not throw exception.
|
| +PASS xhr.overrideMimeType('text/plain') did not throw exception.
|
| +Testing overrideMimeType when readyState is 1
|
| +PASS xhr.overrideMimeType('text/asdf') did not throw exception.
|
| +PASS xhr.overrideMimeType('text/plain') did not throw exception.
|
| +Testing overrideMimeType when readyState is 1
|
| +PASS xhr.overrideMimeType('text/asdf') did not throw exception.
|
| +PASS xhr.overrideMimeType('text/plain') did not throw exception.
|
| +Testing overrideMimeType when readyState is 2
|
| +PASS xhr.overrideMimeType('text/asdf') did not throw exception.
|
| +PASS xhr.overrideMimeType('text/plain') did not throw exception.
|
| +Testing overrideMimeType when readyState is 3
|
| +PASS xhr.overrideMimeType('text/asdf') threw exception InvalidStateError: Failed to execute 'overrideMimeType' on 'XMLHttpRequest': MimeType cannot be overrode when the state is LOADING or DONE..
|
| +Testing overrideMimeType when readyState is 4
|
| +PASS xhr.overrideMimeType('text/asdf') threw exception InvalidStateError: Failed to execute 'overrideMimeType' on 'XMLHttpRequest': MimeType cannot be overrode when the state is LOADING or DONE..
|
| +PASS successfullyParsed is true
|
| +
|
| +TEST COMPLETE
|
| +
|
|
|