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

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

Issue 14244017: Make length property return useful values for DOM bindings functions (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Replace [Optional] by optional Created 7 years, 8 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
« no previous file with comments | « Source/core/page/DOMPoint.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 22 matching lines...) Expand all
33 "document", 33 "document",
34 // FIXME: enable once support for json responseText is completed. (bug #73648 ) 34 // FIXME: enable once support for json responseText is completed. (bug #73648 )
35 // "json", 35 // "json",
36 "text" 36 "text"
37 }; 37 };
38 38
39 [ 39 [
40 ActiveDOMObject, 40 ActiveDOMObject,
41 Constructor, 41 Constructor,
42 CallWith=ScriptExecutionContext, 42 CallWith=ScriptExecutionContext,
43 CustomConstructor, 43 CustomConstructor(optional XMLHttpRequestOptions options),
44 EventTarget 44 EventTarget
45 ] interface XMLHttpRequest { 45 ] interface XMLHttpRequest {
46 // From XMLHttpRequestEventTarget 46 // From XMLHttpRequestEventTarget
47 // event handler attributes 47 // event handler attributes
48 attribute EventListener onabort; 48 attribute EventListener onabort;
49 attribute EventListener onerror; 49 attribute EventListener onerror;
50 attribute EventListener onload; 50 attribute EventListener onload;
51 attribute EventListener onloadend; 51 attribute EventListener onloadend;
52 attribute EventListener onloadstart; 52 attribute EventListener onloadstart;
53 attribute EventListener onprogress; 53 attribute EventListener onprogress;
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 95
96 // EventTarget interface 96 // EventTarget interface
97 void addEventListener(DOMString type, 97 void addEventListener(DOMString type,
98 EventListener listener, 98 EventListener listener,
99 optional boolean useCapture); 99 optional boolean useCapture);
100 void removeEventListener(DOMString type, 100 void removeEventListener(DOMString type,
101 EventListener listener, 101 EventListener listener,
102 optional boolean useCapture); 102 optional boolean useCapture);
103 [RaisesException] boolean dispatchEvent(Event evt); 103 [RaisesException] boolean dispatchEvent(Event evt);
104 }; 104 };
OLDNEW
« no previous file with comments | « Source/core/page/DOMPoint.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698