Index: tools/dom/templates/html/impl/impl_XMLHttpRequest.darttemplate |
diff --git a/tools/dom/templates/html/impl/impl_XMLHttpRequest.darttemplate b/tools/dom/templates/html/impl/impl_XMLHttpRequest.darttemplate |
index 7ee15d1b3ba9aad98b14a1594a7498eda2585fd8..d7fffe9679616340a87a8733376bf0cc5b4b36c7 100644 |
--- a/tools/dom/templates/html/impl/impl_XMLHttpRequest.darttemplate |
+++ b/tools/dom/templates/html/impl/impl_XMLHttpRequest.darttemplate |
@@ -384,34 +384,5 @@ $endif |
return headers; |
} |
- /** |
- * Specify the desired `url`, and `method` to use in making the request. |
- * |
- * By default the request is done asyncronously, with no user or password |
- * authentication information. If `async` is false, the request will be send |
- * synchronously. |
- * |
- * Calling `open` again on a currently active request is equivalent to |
- * calling `abort`. |
- * |
- * Note: Most simple HTTP requests can be accomplished using the [getString], |
- * [request], [requestCrossOrigin], or [postFormData] methods. Use of this |
- * `open` method is intended only for more complext HTTP requests where |
- * finer-grained control is needed. |
- */ |
- @DomName('XMLHttpRequest.open') |
- @DocsEditable() |
-$if JSINTEROP |
- void open(String method, String url, {bool async, String user, String password}) { |
- if (async == null && user == null && password == null) { |
- _blink.BlinkXMLHttpRequest.instance.open_Callback_2_(unwrap_jso(this), method, url); |
- } else { |
- _blink.BlinkXMLHttpRequest.instance.open_Callback_5_(unwrap_jso(this), method, url, async, user, password); |
- } |
- } |
-$else |
- void open(String method, String url, {bool async, String user, String password}) native; |
-$endif |
- |
$!MEMBERS |
} |