Module: wine Branch: master Commit: 317d8c1674945fc8716ca78716368626035dca4b URL: https://source.winehq.org/git/wine.git/?a=commit;h=317d8c1674945fc8716ca7871...
Author: Jacek Caban jacek@codeweavers.com Date: Fri Feb 15 17:11:23 2019 +0100
mshtml: Expose nsIFormPOSTActionChannel interface from nsChannel object.
Signed-off-by: Jacek Caban jacek@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/mshtml/nsiface.idl | 9 +++++++++ dlls/mshtml/nsio.c | 3 +++ 2 files changed, 12 insertions(+)
diff --git a/dlls/mshtml/nsiface.idl b/dlls/mshtml/nsiface.idl index b3335ba..2584697 100644 --- a/dlls/mshtml/nsiface.idl +++ b/dlls/mshtml/nsiface.idl @@ -723,6 +723,15 @@ interface nsIUploadChannel : nsISupports
[ object, + uuid(fc826b53-0db8-42b4-aa6a-5dd2cfca52a4), + local +] +interface nsIFormPOSTActionChannel : nsIUploadChannel +{ +} + +[ + object, uuid(8d171460-a716-41f1-92be-8c659db39b45), local ] diff --git a/dlls/mshtml/nsio.c b/dlls/mshtml/nsio.c index d5e4983..63038d2 100644 --- a/dlls/mshtml/nsio.c +++ b/dlls/mshtml/nsio.c @@ -540,6 +540,9 @@ static nsresult NSAPI nsChannel_QueryInterface(nsIHttpChannel *iface, nsIIDRef r }else if(IsEqualGUID(&IID_nsIUploadChannel, riid)) { TRACE("(%p)->(IID_nsIUploadChannel %p)\n", This, result); *result = &This->nsIUploadChannel_iface; + }else if(IsEqualGUID(&IID_nsIFormPOSTActionChannel, riid)) { + TRACE("(%p)->(IID_nsIFormPOSTActionChannel %p)\n", This, result); + *result = &This->nsIUploadChannel_iface; }else if(IsEqualGUID(&IID_nsIHttpChannelInternal, riid)) { TRACE("(%p)->(IID_nsIHttpChannelInternal %p)\n", This, result); *result = is_http_channel(This) ? &This->nsIHttpChannelInternal_iface : NULL;