UNPKG

modernizr

Version:

Modernizr is a JavaScript library that detects HTML5 and CSS3 features in the user’s browser.

18 lines (17 loc) 445 B
/*! { "name": "XHR responseType='text'", "property": "xhrresponsetypetext", "tags": ["network"], "notes": [{ "name": "XMLHttpRequest Living Standard", "href": "https://xhr.spec.whatwg.org/#the-responsetype-attribute" }] } !*/ /* DOC Tests for XMLHttpRequest xhr.responseType='text'. */ define(['Modernizr', 'testXhrType'], function(Modernizr, testXhrType) { Modernizr.addTest('xhrresponsetypetext', testXhrType('text')); });