g214/static/bower_components/modernizr/feature-detects/network-xhr2.js

14 lines
388 B
JavaScript
Raw Normal View History

2020-11-12 02:29:05 +00:00
// XML HTTP Request Level 2
// www.w3.org/TR/XMLHttpRequest2/
// Much more details at github.com/Modernizr/Modernizr/issues/385
// all three of these details report consistently across all target browsers:
// !!(window.ProgressEvent);
// !!(window.FormData);
// window.XMLHttpRequest && "withCredentials" in new XMLHttpRequest;
Modernizr.addTest('xhr2', 'FormData' in window);