diff --git a/test.html b/test.html
index 3329237b4f..53a94583bf 100644
--- a/test.html
+++ b/test.html
@@ -48,10 +48,9 @@
function loadJSON(file, callback) {
var xhr = new XMLHttpRequest();
xhr.open("GET", file);
- xhr.responseType = "json";
xhr.onreadystatechange = function () {
if (xhr.readyState === 4) { // DONE
- callback(xhr.response);
+ callback(JSON.parse(xhr.response));
}
}
xhr.send();