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

Side by Side Diff: core/xml/XMLHttpRequest.idl

Issue 37053003: Roll IDL to multivm@1467 (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Created 7 years, 1 month 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 | « core/workers/SharedWorker.idl ('k') | modules/README » ('j') | 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 14 matching lines...) Expand all
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 */ 27 */
28 28
29 enum XMLHttpRequestResponseType { 29 enum XMLHttpRequestResponseType {
30 "", 30 "",
31 "arraybuffer", 31 "arraybuffer",
32 "blob", 32 "blob",
33 "document", 33 "document",
34 "json", 34 "json",
35 "text" 35 "text",
36 "stream"
36 }; 37 };
37 38
38 [ 39 [
39 GlobalContext=Window&WorkerGlobalScope, 40 GlobalContext=Window&WorkerGlobalScope,
40 ActiveDOMObject, 41 ActiveDOMObject,
41 Constructor, 42 Constructor,
42 ConstructorCallWith=ScriptExecutionContext, 43 ConstructorCallWith=ScriptExecutionContext,
43 CustomConstructor(optional XMLHttpRequestOptions options) 44 CustomConstructor(optional XMLHttpRequestOptions options)
44 ] interface XMLHttpRequest : XMLHttpRequestEventTarget { 45 ] interface XMLHttpRequest : XMLHttpRequestEventTarget {
45 // event handler attributes 46 // event handler attributes
(...skipping 29 matching lines...) Expand all
75 76
76 [SetterRaisesException] attribute XMLHttpRequestResponseType responseType; 77 [SetterRaisesException] attribute XMLHttpRequestResponseType responseType;
77 [CustomGetter, GetterRaisesException] readonly attribute Object response; 78 [CustomGetter, GetterRaisesException] readonly attribute Object response;
78 79
79 [GetterRaisesException] readonly attribute unsigned short status; 80 [GetterRaisesException] readonly attribute unsigned short status;
80 [GetterRaisesException] readonly attribute DOMString statusText; 81 [GetterRaisesException] readonly attribute DOMString statusText;
81 82
82 // Extension 83 // Extension
83 void overrideMimeType(DOMString override); 84 void overrideMimeType(DOMString override);
84 }; 85 };
OLDNEW
« no previous file with comments | « core/workers/SharedWorker.idl ('k') | modules/README » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698