summaryrefslogtreecommitdiff
path: root/source/bower_components/modernizr/feature-detects/network-xhr2.js
blob: 8d3fb51694307015b71134714f00ba7c38c0771d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13


// 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);