Christopher Rock
ca2ee0202a
Clearing request headers on fakeRequest.open()
...
https://github.com/jasmine/jasmine-ajax/issues/142
2016-01-19 22:01:43 -05:00
Mickael Jeanroy
d3c52e8e29
Set the this
context for event handler to the current XHR and pass proper ProgressEvent arguments
...
Fixes #108
2015-06-12 14:16:56 -07:00
Mickael Jeanroy
5d96ce9609
Event readystatechange is triggered when headers are available
...
According to the specification, readyState value must
be equal to 2 and readystatechange event should be triggered
once status and headers are available.
Close #97
2015-04-09 22:27:02 +02:00
Mickael Jeanroy
d2762c59f0
Event 'readystatechange' is now triggered
...
Close #102
2015-04-09 10:21:24 -07:00
Gregg Van Hove and Molly Trombley-McCann
09861cacba
Cleanup removeEventListener
...
- Add tests
- Extract an EventBus
2015-03-04 11:34:55 -08:00
slackersoft
2d0bf42151
Include trailing newline in response headers to match browsers.
...
- Some libraries are relying on it existing, even though the specs
doesn't say it should.
Fix #91
2015-01-23 13:11:42 -08:00
slackersoft
7446f2a190
Set response attribute for document responses
2014-11-26 21:25:49 -08:00
slackersoft
0d14f5729d
Deprecate the response
function on fake request.
...
Starting on #49 #60 #89
2014-11-17 13:35:55 -08:00
slackersoft
711764e290
Support listening to XHR progress events via addEventListener
...
Fixes #79
2014-11-04 07:39:23 -08:00
slackersoft
80297da4c1
Support the remainder of XHR events
...
- onloadstart
- onprogress
- onabort
- onerror
- onload
- ontimeout
- onloadend
Fixes #81 Fixes #82
2014-11-01 20:43:21 -07:00
slackersoft
9681f79ece
Fix cross browser issues for responseXML
...
- IE8 doesn't support indexOf, use our own arrayContains
- Most browsers don't allow 'text/html' when using a DOMParser, so we
won't support it for now.
- Firefox doesn't want to serialize Documents over selenium, so don't
have them in as our expected, just use instanceof ourselves
2014-11-01 16:26:12 -07:00
slackersoft
4751eaafbb
Parse responseText
into a responseXML
if the contentType is xml-ish
...
closes #55
2014-11-01 15:13:55 -07:00
slackersoft
85059718ad
Move specs for the fake XHR to be more unity and less integrationy
2014-08-08 12:50:30 -07:00