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 |