mirror of
https://github.com/liriliri/eruda.git
synced 2026-03-20 09:38:37 +08:00
Fix: Xhr response text #6
This commit is contained in:
@@ -66,6 +66,11 @@
|
||||
{
|
||||
req('http://localhost:3000/test/empty.json');
|
||||
}, 3000);
|
||||
|
||||
var xhr = new XMLHttpRequest();
|
||||
xhr.responseType = 'arraybuffer';
|
||||
xhr.open('GET', 'http://localhost:3000/test/data.json');
|
||||
xhr.send();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user