[TestResultServer] Enable CORS for test files
authorzandobersek@gmail.com <zandobersek@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 10 Oct 2012 17:26:41 +0000 (17:26 +0000)
committerzandobersek@gmail.com <zandobersek@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 10 Oct 2012 17:26:41 +0000 (17:26 +0000)
commit818ac9e5c272ed1fa08a59831e17ac7362601860
tree1eb320b1b5a28ef8b8481d785415f04ec7fc4e21
parent14baf3e86ec5d7fac50eeaa2bc5df90a78b384f6
[TestResultServer] Enable CORS for test files
https://bugs.webkit.org/show_bug.cgi?id=98918

Reviewed by Dirk Pranke.

Serve the JSON test files with the Access-Control-Allow-Origin
response header to enable cross-origin sharing of these files.
This eases up hacking on TestResultServer.

* TestResultServer/handlers/testfilehandler.py:
(GetFile._serve_json):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@130921 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Tools/ChangeLog
Tools/TestResultServer/handlers/testfilehandler.py