Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(513)

Side by Side Diff: LayoutTests/http/tests/xmlhttprequest/zero-length-response-expected.txt

Issue 23041002: Improve 'XMLHttpRequest' exception messages. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: ExceptionMessages. Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 Test for bug 5924 - zero-length responses to XMLHTTPRequest mishandled. 1 Test for bug 5924 - zero-length responses to XMLHTTPRequest mishandled.
2 2
3 after creation: Uninitialized 3 after creation: Uninitialized
4   Status: 0 4   Status: 0
5   StatusText: "" 5   StatusText: ""
6   ResponseText: "" 6   ResponseText: ""
7   ResponseXML: null 7   ResponseXML: null
8   ResponseXML serialized: n/a 8   ResponseXML serialized: n/a
9 after setting onreadystatechange: Uninitialized 9 after setting onreadystatechange: Uninitialized
10 onreadystatechange: Open 10 onreadystatechange: Open
11   Exception getting status: An attempt was made to use an object that is not, or is no longer, usable. 11   Exception getting status: Failed to read the 'status' property from 'XMLHttpRe quest': the object's state must not be OPENED.
12   Exception getting StatusText: An attempt was made to use an object that is not , or is no longer, usable. 12   Exception getting StatusText: Failed to read the 'statusText' property from 'X MLHttpRequest': the object's state must not be OPENED.
13   ResponseText: "" 13   ResponseText: ""
14   ResponseXML: null 14   ResponseXML: null
15   ResponseXML serialized: n/a 15   ResponseXML serialized: n/a
16 after open(): Open 16 after open(): Open
17   Exception getting status: An attempt was made to use an object that is not, or is no longer, usable. 17   Exception getting status: Failed to read the 'status' property from 'XMLHttpRe quest': the object's state must not be OPENED.
18   Exception getting StatusText: An attempt was made to use an object that is not , or is no longer, usable. 18   Exception getting StatusText: Failed to read the 'statusText' property from 'X MLHttpRequest': the object's state must not be OPENED.
19   ResponseText: "" 19   ResponseText: ""
20   ResponseXML: null 20   ResponseXML: null
21   ResponseXML serialized: n/a 21   ResponseXML serialized: n/a
22 after overrideMimeType(): Open 22 after overrideMimeType(): Open
23 after send(): Open 23 after send(): Open
24 onreadystatechange: Sent 24 onreadystatechange: Sent
25   Status: 200 25   Status: 200
26   StatusText: "OK" 26   StatusText: "OK"
27   ResponseText: "" 27   ResponseText: ""
28   ResponseXML: null 28   ResponseXML: null
29   ResponseXML serialized: n/a 29   ResponseXML serialized: n/a
30 onreadystatechange: Loaded 30 onreadystatechange: Loaded
31   Status: 200 31   Status: 200
32   StatusText: "OK" 32   StatusText: "OK"
33   ResponseText: "" 33   ResponseText: ""
34   ResponseXML: null 34   ResponseXML: null
35   ResponseXML serialized: n/a 35   ResponseXML serialized: n/a
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698