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

Unified Diff: Source/core/xmlhttprequest/XMLHttpRequest.idl

Issue 1040073002: [bindings] Remove XMLHttpRequest CustomConstructor (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Patch for landing. Created 5 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/xmlhttprequest/XMLHttpRequest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/xmlhttprequest/XMLHttpRequest.idl
diff --git a/Source/core/xmlhttprequest/XMLHttpRequest.idl b/Source/core/xmlhttprequest/XMLHttpRequest.idl
index a81de73379cf71ca0289d8ab38aae83656434bc3..9553634830561ced5f58d4f296bd4a16c3ca8d1c 100644
--- a/Source/core/xmlhttprequest/XMLHttpRequest.idl
+++ b/Source/core/xmlhttprequest/XMLHttpRequest.idl
@@ -26,6 +26,8 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+// https://xhr.spec.whatwg.org/#interface-xmlhttprequest
+
enum XMLHttpRequestResponseType {
"",
"arraybuffer",
@@ -40,7 +42,8 @@ enum XMLHttpRequestResponseType {
[
WillBeGarbageCollected,
ActiveDOMObject,
- CustomConstructor(optional XMLHttpRequestOptions options),
+ Constructor,
+ ConstructorCallWith=ScriptState,
Exposed=(Window,DedicatedWorker,SharedWorker)
] interface XMLHttpRequest : XMLHttpRequestEventTarget {
// event handler attributes
« no previous file with comments | « Source/core/xmlhttprequest/XMLHttpRequest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698