|
static void | _expect_ref (IUnknown *obj, ULONG ref, int line) |
|
| DEFINE_GUID (SID_SContainerDispatch, 0xb722be00, 0x4e68, 0x101b, 0xa2, 0xbc, 0x00, 0xaa, 0x00, 0x40, 0x47, 0x70) |
|
| DEFINE_GUID (SID_UnknownSID, 0x75dd09cb, 0x6c40, 0x11d5, 0x85, 0x43, 0x00, 0xc0, 0x4f, 0xa0, 0xfb, 0xa3) |
|
| DEFINE_EXPECT (site_qi_IServiceProvider) |
|
| DEFINE_EXPECT (site_qi_IXMLDOMDocument) |
|
| DEFINE_EXPECT (site_qi_IOleClientSite) |
|
| DEFINE_EXPECT (sp_queryservice_SID_SBindHost) |
|
| DEFINE_EXPECT (sp_queryservice_SID_SContainerDispatch_htmldoc2) |
|
| DEFINE_EXPECT (sp_queryservice_SID_secmgr_htmldoc2) |
|
| DEFINE_EXPECT (sp_queryservice_SID_secmgr_xmldomdoc) |
|
| DEFINE_EXPECT (sp_queryservice_SID_secmgr_secmgr) |
|
| DEFINE_EXPECT (htmldoc2_get_all) |
|
| DEFINE_EXPECT (htmldoc2_get_url) |
|
| DEFINE_EXPECT (collection_get_length) |
|
static int | strcmp_wa (const WCHAR *strw, const char *stra) |
|
static BSTR | alloc_str_from_narrow (const char *str) |
|
static BSTR | _bstr_ (const char *str) |
|
static void | free_bstrs (void) |
|
static BSTR | a2bstr (const char *str) |
|
static HRESULT WINAPI | htmlecoll_QueryInterface (IHTMLElementCollection *iface, REFIID riid, void **ppvObject) |
|
static ULONG WINAPI | htmlecoll_AddRef (IHTMLElementCollection *iface) |
|
static ULONG WINAPI | htmlecoll_Release (IHTMLElementCollection *iface) |
|
static HRESULT WINAPI | htmlecoll_GetTypeInfoCount (IHTMLElementCollection *iface, UINT *pctinfo) |
|
static HRESULT WINAPI | htmlecoll_GetTypeInfo (IHTMLElementCollection *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo) |
|
static HRESULT WINAPI | htmlecoll_GetIDsOfNames (IHTMLElementCollection *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId) |
|
static HRESULT WINAPI | htmlecoll_Invoke (IHTMLElementCollection *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr) |
|
static HRESULT WINAPI | htmlecoll_toString (IHTMLElementCollection *iface, BSTR *String) |
|
static HRESULT WINAPI | htmlecoll_put_length (IHTMLElementCollection *iface, LONG v) |
|
static HRESULT WINAPI | htmlecoll_get_length (IHTMLElementCollection *iface, LONG *v) |
|
static HRESULT WINAPI | htmlecoll_get__newEnum (IHTMLElementCollection *iface, IUnknown **p) |
|
static HRESULT WINAPI | htmlecoll_item (IHTMLElementCollection *iface, VARIANT name, VARIANT index, IDispatch **pdisp) |
|
static HRESULT WINAPI | htmlecoll_tags (IHTMLElementCollection *iface, VARIANT tagName, IDispatch **pdisp) |
|
static HRESULT WINAPI | htmldoc2_QueryInterface (IHTMLDocument2 *iface, REFIID riid, void **ppvObject) |
|
static ULONG WINAPI | htmldoc2_AddRef (IHTMLDocument2 *iface) |
|
static ULONG WINAPI | htmldoc2_Release (IHTMLDocument2 *iface) |
|
static HRESULT WINAPI | htmldoc2_GetTypeInfoCount (IHTMLDocument2 *iface, UINT *pctinfo) |
|
static HRESULT WINAPI | htmldoc2_GetTypeInfo (IHTMLDocument2 *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo) |
|
static HRESULT WINAPI | htmldoc2_GetIDsOfNames (IHTMLDocument2 *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId) |
|
static HRESULT WINAPI | htmldoc2_Invoke (IHTMLDocument2 *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr) |
|
static HRESULT WINAPI | htmldoc2_get_Script (IHTMLDocument2 *iface, IDispatch **p) |
|
static HRESULT WINAPI | htmldoc2_get_all (IHTMLDocument2 *iface, IHTMLElementCollection **p) |
|
static HRESULT WINAPI | htmldoc2_get_body (IHTMLDocument2 *iface, IHTMLElement **p) |
|
static HRESULT WINAPI | htmldoc2_get_activeElement (IHTMLDocument2 *iface, IHTMLElement **p) |
|
static HRESULT WINAPI | htmldoc2_get_images (IHTMLDocument2 *iface, IHTMLElementCollection **p) |
|
static HRESULT WINAPI | htmldoc2_get_applets (IHTMLDocument2 *iface, IHTMLElementCollection **p) |
|
static HRESULT WINAPI | htmldoc2_get_links (IHTMLDocument2 *iface, IHTMLElementCollection **p) |
|
static HRESULT WINAPI | htmldoc2_get_forms (IHTMLDocument2 *iface, IHTMLElementCollection **p) |
|
static HRESULT WINAPI | htmldoc2_get_anchors (IHTMLDocument2 *iface, IHTMLElementCollection **p) |
|
static HRESULT WINAPI | htmldoc2_put_title (IHTMLDocument2 *iface, BSTR v) |
|
static HRESULT WINAPI | htmldoc2_get_title (IHTMLDocument2 *iface, BSTR *p) |
|
static HRESULT WINAPI | htmldoc2_get_scripts (IHTMLDocument2 *iface, IHTMLElementCollection **p) |
|
static HRESULT WINAPI | htmldoc2_put_designMode (IHTMLDocument2 *iface, BSTR v) |
|
static HRESULT WINAPI | htmldoc2_get_designMode (IHTMLDocument2 *iface, BSTR *p) |
|
static HRESULT WINAPI | htmldoc2_get_selection (IHTMLDocument2 *iface, IHTMLSelectionObject **p) |
|
static HRESULT WINAPI | htmldoc2_get_readyState (IHTMLDocument2 *iface, BSTR *p) |
|
static HRESULT WINAPI | htmldoc2_get_frames (IHTMLDocument2 *iface, IHTMLFramesCollection2 **p) |
|
static HRESULT WINAPI | htmldoc2_get_embeds (IHTMLDocument2 *iface, IHTMLElementCollection **p) |
|
static HRESULT WINAPI | htmldoc2_get_plugins (IHTMLDocument2 *iface, IHTMLElementCollection **p) |
|
static HRESULT WINAPI | htmldoc2_put_alinkColor (IHTMLDocument2 *iface, VARIANT v) |
|
static HRESULT WINAPI | htmldoc2_get_alinkColor (IHTMLDocument2 *iface, VARIANT *p) |
|
static HRESULT WINAPI | htmldoc2_put_bgColor (IHTMLDocument2 *iface, VARIANT v) |
|
static HRESULT WINAPI | htmldoc2_get_bgColor (IHTMLDocument2 *iface, VARIANT *p) |
|
static HRESULT WINAPI | htmldoc2_put_fgColor (IHTMLDocument2 *iface, VARIANT v) |
|
static HRESULT WINAPI | htmldoc2_get_fgColor (IHTMLDocument2 *iface, VARIANT *p) |
|
static HRESULT WINAPI | htmldoc2_put_linkColor (IHTMLDocument2 *iface, VARIANT v) |
|
static HRESULT WINAPI | htmldoc2_get_linkColor (IHTMLDocument2 *iface, VARIANT *p) |
|
static HRESULT WINAPI | htmldoc2_put_vlinkColor (IHTMLDocument2 *iface, VARIANT v) |
|
static HRESULT WINAPI | htmldoc2_get_vlinkColor (IHTMLDocument2 *iface, VARIANT *p) |
|
static HRESULT WINAPI | htmldoc2_get_referrer (IHTMLDocument2 *iface, BSTR *p) |
|
static HRESULT WINAPI | htmldoc2_get_location (IHTMLDocument2 *iface, IHTMLLocation **p) |
|
static HRESULT WINAPI | htmldoc2_get_lastModified (IHTMLDocument2 *iface, BSTR *p) |
|
static HRESULT WINAPI | htmldoc2_put_URL (IHTMLDocument2 *iface, BSTR v) |
|
static HRESULT WINAPI | htmldoc2_get_URL (IHTMLDocument2 *iface, BSTR *p) |
|
static HRESULT WINAPI | htmldoc2_put_domain (IHTMLDocument2 *iface, BSTR v) |
|
static HRESULT WINAPI | htmldoc2_get_domain (IHTMLDocument2 *iface, BSTR *p) |
|
static HRESULT WINAPI | htmldoc2_put_cookie (IHTMLDocument2 *iface, BSTR v) |
|
static HRESULT WINAPI | htmldoc2_get_cookie (IHTMLDocument2 *iface, BSTR *p) |
|
static HRESULT WINAPI | htmldoc2_put_expando (IHTMLDocument2 *iface, VARIANT_BOOL v) |
|
static HRESULT WINAPI | htmldoc2_get_expando (IHTMLDocument2 *iface, VARIANT_BOOL *p) |
|
static HRESULT WINAPI | htmldoc2_put_charset (IHTMLDocument2 *iface, BSTR v) |
|
static HRESULT WINAPI | htmldoc2_get_charset (IHTMLDocument2 *iface, BSTR *p) |
|
static HRESULT WINAPI | htmldoc2_put_defaultCharset (IHTMLDocument2 *iface, BSTR v) |
|
static HRESULT WINAPI | htmldoc2_get_defaultCharset (IHTMLDocument2 *iface, BSTR *p) |
|
static HRESULT WINAPI | htmldoc2_get_mimeType (IHTMLDocument2 *iface, BSTR *p) |
|
static HRESULT WINAPI | htmldoc2_get_fileSize (IHTMLDocument2 *iface, BSTR *p) |
|
static HRESULT WINAPI | htmldoc2_get_fileCreatedDate (IHTMLDocument2 *iface, BSTR *p) |
|
static HRESULT WINAPI | htmldoc2_get_fileModifiedDate (IHTMLDocument2 *iface, BSTR *p) |
|
static HRESULT WINAPI | htmldoc2_get_fileUpdatedDate (IHTMLDocument2 *iface, BSTR *p) |
|
static HRESULT WINAPI | htmldoc2_get_security (IHTMLDocument2 *iface, BSTR *p) |
|
static HRESULT WINAPI | htmldoc2_get_protocol (IHTMLDocument2 *iface, BSTR *p) |
|
static HRESULT WINAPI | htmldoc2_get_nameProp (IHTMLDocument2 *iface, BSTR *p) |
|
static HRESULT WINAPI | htmldoc2_write (IHTMLDocument2 *iface, SAFEARRAY *psarray) |
|
static HRESULT WINAPI | htmldoc2_writeln (IHTMLDocument2 *iface, SAFEARRAY *psarray) |
|
static HRESULT WINAPI | htmldoc2_open (IHTMLDocument2 *iface, BSTR url, VARIANT name, VARIANT features, VARIANT replace, IDispatch **pomWindowResult) |
|
static HRESULT WINAPI | htmldoc2_close (IHTMLDocument2 *iface) |
|
static HRESULT WINAPI | htmldoc2_clear (IHTMLDocument2 *iface) |
|
static HRESULT WINAPI | htmldoc2_queryCommandSupported (IHTMLDocument2 *iface, BSTR cmdID, VARIANT_BOOL *pfRet) |
|
static HRESULT WINAPI | htmldoc2_queryCommandEnabled (IHTMLDocument2 *iface, BSTR cmdID, VARIANT_BOOL *pfRet) |
|
static HRESULT WINAPI | htmldoc2_queryCommandState (IHTMLDocument2 *iface, BSTR cmdID, VARIANT_BOOL *pfRet) |
|
static HRESULT WINAPI | htmldoc2_queryCommandIndeterm (IHTMLDocument2 *iface, BSTR cmdID, VARIANT_BOOL *pfRet) |
|
static HRESULT WINAPI | htmldoc2_queryCommandText (IHTMLDocument2 *iface, BSTR cmdID, BSTR *pfRet) |
|
static HRESULT WINAPI | htmldoc2_queryCommandValue (IHTMLDocument2 *iface, BSTR cmdID, VARIANT *pfRet) |
|
static HRESULT WINAPI | htmldoc2_execCommand (IHTMLDocument2 *iface, BSTR cmdID, VARIANT_BOOL showUI, VARIANT value, VARIANT_BOOL *pfRet) |
|
static HRESULT WINAPI | htmldoc2_execCommandShowHelp (IHTMLDocument2 *iface, BSTR cmdID, VARIANT_BOOL *pfRet) |
|
static HRESULT WINAPI | htmldoc2_createElement (IHTMLDocument2 *iface, BSTR eTag, IHTMLElement **newElem) |
|
static HRESULT WINAPI | htmldoc2_put_onhelp (IHTMLDocument2 *iface, VARIANT v) |
|
static HRESULT WINAPI | htmldoc2_get_onhelp (IHTMLDocument2 *iface, VARIANT *p) |
|
static HRESULT WINAPI | htmldoc2_put_onclick (IHTMLDocument2 *iface, VARIANT v) |
|
static HRESULT WINAPI | htmldoc2_get_onclick (IHTMLDocument2 *iface, VARIANT *p) |
|
static HRESULT WINAPI | htmldoc2_put_ondblclick (IHTMLDocument2 *iface, VARIANT v) |
|
static HRESULT WINAPI | htmldoc2_get_ondblclick (IHTMLDocument2 *iface, VARIANT *p) |
|
static HRESULT WINAPI | htmldoc2_put_onkeyup (IHTMLDocument2 *iface, VARIANT v) |
|
static HRESULT WINAPI | htmldoc2_get_onkeyup (IHTMLDocument2 *iface, VARIANT *p) |
|
static HRESULT WINAPI | htmldoc2_put_onkeydown (IHTMLDocument2 *iface, VARIANT v) |
|
static HRESULT WINAPI | htmldoc2_get_onkeydown (IHTMLDocument2 *iface, VARIANT *p) |
|
static HRESULT WINAPI | htmldoc2_put_onkeypress (IHTMLDocument2 *iface, VARIANT v) |
|
static HRESULT WINAPI | htmldoc2_get_onkeypress (IHTMLDocument2 *iface, VARIANT *p) |
|
static HRESULT WINAPI | htmldoc2_put_onmouseup (IHTMLDocument2 *iface, VARIANT v) |
|
static HRESULT WINAPI | htmldoc2_get_onmouseup (IHTMLDocument2 *iface, VARIANT *p) |
|
static HRESULT WINAPI | htmldoc2_put_onmousedown (IHTMLDocument2 *iface, VARIANT v) |
|
static HRESULT WINAPI | htmldoc2_get_onmousedown (IHTMLDocument2 *iface, VARIANT *p) |
|
static HRESULT WINAPI | htmldoc2_put_onmousemove (IHTMLDocument2 *iface, VARIANT v) |
|
static HRESULT WINAPI | htmldoc2_get_onmousemove (IHTMLDocument2 *iface, VARIANT *p) |
|
static HRESULT WINAPI | htmldoc2_put_onmouseout (IHTMLDocument2 *iface, VARIANT v) |
|
static HRESULT WINAPI | htmldoc2_get_onmouseout (IHTMLDocument2 *iface, VARIANT *p) |
|
static HRESULT WINAPI | htmldoc2_put_onmouseover (IHTMLDocument2 *iface, VARIANT v) |
|
static HRESULT WINAPI | htmldoc2_get_onmouseover (IHTMLDocument2 *iface, VARIANT *p) |
|
static HRESULT WINAPI | htmldoc2_put_onreadystatechange (IHTMLDocument2 *iface, VARIANT v) |
|
static HRESULT WINAPI | htmldoc2_get_onreadystatechange (IHTMLDocument2 *iface, VARIANT *p) |
|
static HRESULT WINAPI | htmldoc2_put_onafterupdate (IHTMLDocument2 *iface, VARIANT v) |
|
static HRESULT WINAPI | htmldoc2_get_onafterupdate (IHTMLDocument2 *iface, VARIANT *p) |
|
static HRESULT WINAPI | htmldoc2_put_onrowexit (IHTMLDocument2 *iface, VARIANT v) |
|
static HRESULT WINAPI | htmldoc2_get_onrowexit (IHTMLDocument2 *iface, VARIANT *p) |
|
static HRESULT WINAPI | htmldoc2_put_onrowenter (IHTMLDocument2 *iface, VARIANT v) |
|
static HRESULT WINAPI | htmldoc2_get_onrowenter (IHTMLDocument2 *iface, VARIANT *p) |
|
static HRESULT WINAPI | htmldoc2_put_ondragstart (IHTMLDocument2 *iface, VARIANT v) |
|
static HRESULT WINAPI | htmldoc2_get_ondragstart (IHTMLDocument2 *iface, VARIANT *p) |
|
static HRESULT WINAPI | htmldoc2_put_onselectstart (IHTMLDocument2 *iface, VARIANT v) |
|
static HRESULT WINAPI | htmldoc2_get_onselectstart (IHTMLDocument2 *iface, VARIANT *p) |
|
static HRESULT WINAPI | htmldoc2_elementFromPoint (IHTMLDocument2 *iface, LONG x, LONG y, IHTMLElement **elementHit) |
|
static HRESULT WINAPI | htmldoc2_get_parentWindow (IHTMLDocument2 *iface, IHTMLWindow2 **p) |
|
static HRESULT WINAPI | htmldoc2_get_styleSheets (IHTMLDocument2 *iface, IHTMLStyleSheetsCollection **p) |
|
static HRESULT WINAPI | htmldoc2_put_onbeforeupdate (IHTMLDocument2 *iface, VARIANT v) |
|
static HRESULT WINAPI | htmldoc2_get_onbeforeupdate (IHTMLDocument2 *iface, VARIANT *p) |
|
static HRESULT WINAPI | htmldoc2_put_onerrorupdate (IHTMLDocument2 *iface, VARIANT v) |
|
static HRESULT WINAPI | htmldoc2_get_onerrorupdate (IHTMLDocument2 *iface, VARIANT *p) |
|
static HRESULT WINAPI | htmldoc2_toString (IHTMLDocument2 *iface, BSTR *String) |
|
static HRESULT WINAPI | htmldoc2_createStyleSheet (IHTMLDocument2 *iface, BSTR bstrHref, LONG lIndex, IHTMLStyleSheet **ppnewStyleSheet) |
|
static HRESULT WINAPI | sp_QueryInterface (IServiceProvider *iface, REFIID riid, void **ppvObject) |
|
static ULONG WINAPI | sp_AddRef (IServiceProvider *iface) |
|
static ULONG WINAPI | sp_Release (IServiceProvider *iface) |
|
static HRESULT WINAPI | sp_QueryService (IServiceProvider *iface, REFGUID service, REFIID riid, void **obj) |
|
static HRESULT WINAPI | site_QueryInterface (IUnknown *iface, REFIID riid, void **ppvObject) |
|
static ULONG WINAPI | site_AddRef (IUnknown *iface) |
|
static ULONG WINAPI | site_Release (IUnknown *iface) |
|
static dispevent * | impl_from_IDispatch (IDispatch *iface) |
|
static HRESULT WINAPI | dispevent_QueryInterface (IDispatch *iface, REFIID riid, void **ppvObject) |
|
static ULONG WINAPI | dispevent_AddRef (IDispatch *iface) |
|
static ULONG WINAPI | dispevent_Release (IDispatch *iface) |
|
static HRESULT WINAPI | dispevent_GetTypeInfoCount (IDispatch *iface, UINT *pctinfo) |
|
static HRESULT WINAPI | dispevent_GetTypeInfo (IDispatch *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo) |
|
static HRESULT WINAPI | dispevent_GetIDsOfNames (IDispatch *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId) |
|
static HRESULT WINAPI | dispevent_Invoke (IDispatch *iface, DISPID member, REFIID riid, LCID lcid, WORD flags, DISPPARAMS *params, VARIANT *result, EXCEPINFO *excepInfo, UINT *argErr) |
|
static IDispatch * | create_dispevent (void) |
|
static IXMLHttpRequest * | create_xhr (void) |
|
static IServerXMLHTTPRequest * | create_server_xhr (void) |
|
static void | set_safety_opt (IUnknown *unk, DWORD mask, DWORD opts) |
|
static void | set_xhr_site (IXMLHttpRequest *xhr) |
|
static void | _test_open (unsigned line, IXMLHttpRequest *xhr, const char *method, const char *url, HRESULT exhres) |
|
static void | _test_server_open (unsigned line, IServerXMLHTTPRequest *xhr, const char *method, const char *url, HRESULT exhres) |
|
static void | test_XMLHTTP (void) |
|
static void | test_server_xhr (void) |
|
static void | test_safe_httpreq (void) |
|
static void | test_supporterrorinfo (void) |
|
| START_TEST (httpreq) |
|