--- a/dom/interfaces/html/nsIDOMHTMLFormElement.idl
+++ b/dom/interfaces/html/nsIDOMHTMLFormElement.idl
@@ -15,6 +15,8 @@
  * with changes from the work-in-progress WHATWG HTML specification:
  * http://www.whatwg.org/specs/web-apps/current-work/
  */
+
+interface nsIInputStream;
 
 [scriptable, uuid(5e49bff8-fb61-41e3-b6a9-2017865a6d74)]
 interface nsIDOMHTMLFormElement : nsIDOMHTMLElement
@@ -35,4 +37,7 @@
   void                      submit();
   void                      reset();
   boolean                   checkValidity();
+
+  // Wine extension
+  [noscript] void getFormData(in nsIDOMHTMLElement originatingElement, out DOMString method, out nsIInputStream dataSteam);
 };