mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-05-06 09:03:28 +08:00
fix($http): update httpBackend to use ActiveXObject on IE8 if necessary
window.XMLHttpRequest is not always available in IE8 despite it not running in quirks mode, in which case Angular should be using the ActiveXObject instead. Just checking the browser version is taking too many shortcuts. Closes #5677 Closes #5679
This commit is contained in:
10
docs/content/error/httpBackend/noxhr.ngdoc
Normal file
10
docs/content/error/httpBackend/noxhr.ngdoc
Normal file
@@ -0,0 +1,10 @@
|
||||
@ngdoc error
|
||||
@name $httpBackend:noxhr
|
||||
@fullName Unsupported XHR
|
||||
@description
|
||||
|
||||
This error occurs in browsers that do not support XmlHttpRequest. AngularJS
|
||||
supports Safari, Chrome, Firefox, Opera, IE8 and higher, and mobile browsers
|
||||
(Android, Chrome Mobile, iOS Safari). To avoid this error, use an officially
|
||||
supported browser.
|
||||
|
||||
Reference in New Issue
Block a user