We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c17d02 commit fd9a03eCopy full SHA for fd9a03e
1 file changed
src/ng/httpBackend.js
@@ -75,7 +75,9 @@ function createHttpBackend($browser, createXhr, $browserDefer, callbacks, rawDoc
75
// onreadystatechange might by called multiple times
76
// with readyState === 4 on mobile webkit caused by
77
// xhrs that are resolved while the app is in the background (see #5426).
78
- xhr.onreadystatechange = undefined;
+ //
79
+ // we must delete the property instead of setting it to undefined/null to make IE8 happy.
80
+ delete xhr.onreadystatechange;
81
82
var responseHeaders = null,
83
response = null;
0 commit comments