Check that XMLHttpRequest.response returns null or a json object as specified in...
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 4 Sep 2013 22:01:48 +0000 (22:01 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 4 Sep 2013 22:01:48 +0000 (22:01 +0000)
commit8953016b79812b75dd2f6d546bb7c5b718347f3c
tree85e18a4ce6f5831c42c40555d8fd5aab44d845c2
parent4626e61e6cca54508fff631d8c8ac5ef73698ce3
Check that XMLHttpRequest.response returns null or a json object as specified in the spec according to readyState value.
https://bugs.webkit.org/show_bug.cgi?id=120690

Reviewed by Darin Adler.

Merge https://chromium.googlesource.com/chromium/blink/+/d667a115b0fd8f5e11a24d8db44388a990abf543

* http/tests/xmlhttprequest/resources/test.json: Added.
* http/tests/xmlhttprequest/response-json-and-readystate-expected.txt: Added.
* http/tests/xmlhttprequest/response-json-and-readystate.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@155067 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/http/tests/xmlhttprequest/resources/test.json [new file with mode: 0644]
LayoutTests/http/tests/xmlhttprequest/response-json-and-readystate-expected.txt [new file with mode: 0644]
LayoutTests/http/tests/xmlhttprequest/response-json-and-readystate.html [new file with mode: 0644]