dojo/dojo — pull request #25 by eduardo-matos (2013-09-19 13:02:31+00:00)
Title: Fix #16893: Support native xhr response types when possible

Dojo ticket: https://bugs.dojotoolkit.org/ticket/16893

Add support for native `document`, `blob` and `arraybuffer` response types on `XMLHttpRequest` object.

The `json` response type was intentionally not included because Chrome, up to version 30, doesn't support it, so it's still falling back to `JSON.parse` (as always).