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

Side by Side Diff: third_party/WebCore/xml/XMLHttpRequest.idl

Issue 10590003: Roll IDL to multivm@615 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 6 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
« no previous file with comments | « third_party/WebCore/testing/Internals.idl ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2008, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2008, 2011 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 51
52 // state 52 // state
53 const unsigned short UNSENT = 0; 53 const unsigned short UNSENT = 0;
54 const unsigned short OPENED = 1; 54 const unsigned short OPENED = 1;
55 const unsigned short HEADERS_RECEIVED = 2; 55 const unsigned short HEADERS_RECEIVED = 2;
56 const unsigned short LOADING = 3; 56 const unsigned short LOADING = 3;
57 const unsigned short DONE = 4; 57 const unsigned short DONE = 4;
58 58
59 readonly attribute unsigned short readyState; 59 readonly attribute unsigned short readyState;
60 60
61 // request
62 attribute [Conditional=XHR_RESPONSE_BLOB, V8EnabledAtRuntime] boolean as Blob
63 setter raises(DOMException);
64
65 attribute boolean withCredentials 61 attribute boolean withCredentials
66 setter raises(DOMException); 62 setter raises(DOMException);
67 63
68 [Custom] void open(in DOMString method, in DOMString url, in [Optional] boolean async, in [Optional] DOMString user, in [Optional] DOMString password) 64 [Custom] void open(in DOMString method, in DOMString url, in [Optional] boolean async, in [Optional] DOMString user, in [Optional] DOMString password)
69 raises(DOMException); 65 raises(DOMException);
70 66
71 void setRequestHeader(in DOMString header, in DOMString value) 67 void setRequestHeader(in DOMString header, in DOMString value)
72 raises(DOMException); 68 raises(DOMException);
73 69
74 [Custom] void send() 70 [Custom] void send()
(...skipping 15 matching lines...) Expand all
90 86
91 // response 87 // response
92 [TreatReturnedNullStringAs=Undefined] DOMString getAllResponseHeaders() 88 [TreatReturnedNullStringAs=Undefined] DOMString getAllResponseHeaders()
93 raises(DOMException); 89 raises(DOMException);
94 [TreatReturnedNullStringAs=Null] DOMString getResponseHeader(in DOMStrin g header) 90 [TreatReturnedNullStringAs=Null] DOMString getResponseHeader(in DOMStrin g header)
95 raises(DOMException); 91 raises(DOMException);
96 readonly attribute [CustomGetter] DOMString responseText // The custom g etter implements TreatReturnedNullStringAs=Null 92 readonly attribute [CustomGetter] DOMString responseText // The custom g etter implements TreatReturnedNullStringAs=Null
97 getter raises(DOMException); 93 getter raises(DOMException);
98 readonly attribute Document responseXML 94 readonly attribute Document responseXML
99 getter raises(DOMException); 95 getter raises(DOMException);
100 readonly attribute [Conditional=XHR_RESPONSE_BLOB, V8EnabledAtRuntime] B lob responseBlob 96 readonly attribute Blob responseBlob
101 getter raises(DOMException); 97 getter raises(DOMException);
102 98
103 attribute DOMString responseType 99 attribute DOMString responseType
104 setter raises(DOMException); 100 setter raises(DOMException);
105 readonly attribute [CustomGetter] Object response 101 readonly attribute [CustomGetter] Object response
106 getter raises(DOMException); 102 getter raises(DOMException);
107 103
108 readonly attribute unsigned short status 104 readonly attribute unsigned short status
109 getter raises(DOMException); 105 getter raises(DOMException);
110 readonly attribute DOMString statusText 106 readonly attribute DOMString statusText
111 getter raises(DOMException); 107 getter raises(DOMException);
112 108
113 // Extension 109 // Extension
114 void overrideMimeType(in DOMString override); 110 void overrideMimeType(in DOMString override);
115 111
116 // EventTarget interface 112 // EventTarget interface
117 void addEventListener(in DOMString type, 113 void addEventListener(in DOMString type,
118 in EventListener listener, 114 in EventListener listener,
119 in [Optional] boolean useCapture); 115 in [Optional] boolean useCapture);
120 void removeEventListener(in DOMString type, 116 void removeEventListener(in DOMString type,
121 in EventListener listener, 117 in EventListener listener,
122 in [Optional] boolean useCapture); 118 in [Optional] boolean useCapture);
123 boolean dispatchEvent(in Event evt) 119 boolean dispatchEvent(in Event evt)
124 raises(EventException); 120 raises(EventException);
125 }; 121 };
126 122
127 } 123 }
OLDNEW
« no previous file with comments | « third_party/WebCore/testing/Internals.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698