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

Side by Side Diff: third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.idl

Issue 2467233002: Remove "legacy" experimental stream support (Closed)
Patch Set: fix Created 4 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
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 17 matching lines...) Expand all
28 28
29 // https://xhr.spec.whatwg.org/#interface-xmlhttprequest 29 // https://xhr.spec.whatwg.org/#interface-xmlhttprequest
30 30
31 enum XMLHttpRequestResponseType { 31 enum XMLHttpRequestResponseType {
32 "", 32 "",
33 "arraybuffer", 33 "arraybuffer",
34 "blob", 34 "blob",
35 "document", 35 "document",
36 "json", 36 "json",
37 "text", 37 "text",
38 "legacystream",
39 }; 38 };
40 39
41 // TODO(foolip): Most DOMString types in the XMLHttpRequest interface should be 40 // TODO(foolip): Most DOMString types in the XMLHttpRequest interface should be
42 // either ByteString or USVString. 41 // either ByteString or USVString.
43 [ 42 [
44 ActiveScriptWrappable, 43 ActiveScriptWrappable,
45 Constructor, 44 Constructor,
46 ConstructorCallWith=ScriptState, 45 ConstructorCallWith=ScriptState,
47 DependentLifetime, 46 DependentLifetime,
48 Exposed=(Window,DedicatedWorker,SharedWorker), 47 Exposed=(Window,DedicatedWorker,SharedWorker),
(...skipping 27 matching lines...) Expand all
76 readonly attribute DOMString statusText; 75 readonly attribute DOMString statusText;
77 DOMString? getResponseHeader(DOMString name); 76 DOMString? getResponseHeader(DOMString name);
78 DOMString getAllResponseHeaders(); 77 DOMString getAllResponseHeaders();
79 [RaisesException] void overrideMimeType(DOMString mime); 78 [RaisesException] void overrideMimeType(DOMString mime);
80 [RaisesException=Setter] attribute XMLHttpRequestResponseType responseType; 79 [RaisesException=Setter] attribute XMLHttpRequestResponseType responseType;
81 [Custom=Getter, RaisesException=Getter] readonly attribute any response; 80 [Custom=Getter, RaisesException=Getter] readonly attribute any response;
82 [Custom=Getter, RaisesException=Getter] readonly attribute DOMString respons eText; 81 [Custom=Getter, RaisesException=Getter] readonly attribute DOMString respons eText;
83 // TODO(foolip): responseXML should be [Exposed=Window]. 82 // TODO(foolip): responseXML should be [Exposed=Window].
84 [RaisesException=Getter] readonly attribute Document? responseXML; 83 [RaisesException=Getter] readonly attribute Document? responseXML;
85 }; 84 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698