Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
9c642455
Commit
9c642455
authored
Feb 26, 2014
by
Jacek Caban
Committed by
Alexandre Julliard
Feb 26, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
urlmon: Fixed protocol tests on IE11.
parent
305ff128
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
2 deletions
+20
-2
protocol.c
dlls/urlmon/tests/protocol.c
+13
-1
urlmon.idl
include/urlmon.idl
+7
-1
No files found.
dlls/urlmon/tests/protocol.c
View file @
9c642455
...
...
@@ -90,6 +90,7 @@ DEFINE_EXPECT(GetBindString_ACCEPT_MIMES);
DEFINE_EXPECT
(
GetBindString_USER_AGENT
);
DEFINE_EXPECT
(
GetBindString_POST_COOKIE
);
DEFINE_EXPECT
(
GetBindString_URL
);
DEFINE_EXPECT
(
GetBindString_ROOTDOC_URL
);
DEFINE_EXPECT
(
QueryService_HttpNegotiate
);
DEFINE_EXPECT
(
QueryService_InternetProtocol
);
DEFINE_EXPECT
(
QueryService_HttpSecurity
);
...
...
@@ -430,7 +431,12 @@ static IServiceProvider service_provider = { &ServiceProviderVtbl };
static
HRESULT
WINAPI
Stream_QueryInterface
(
IStream
*
iface
,
REFIID
riid
,
void
**
ppv
)
{
ok
(
0
,
"unexpected call
\n
"
);
static
const
IID
IID_strm_unknown
=
{
0x2f68429a
,
0x199a
,
0x4043
,{
0x93
,
0x11
,
0xf2
,
0xfe
,
0x7c
,
0x13
,
0xcc
,
0xb9
}};
if
(
!
IsEqualGUID
(
&
IID_strm_unknown
,
riid
))
/* IE11 */
ok
(
0
,
"unexpected call %s
\n
"
,
wine_dbgstr_guid
(
riid
));
*
ppv
=
NULL
;
return
E_NOINTERFACE
;
}
...
...
@@ -1384,6 +1390,10 @@ static HRESULT WINAPI BindInfo_GetBindString(IInternetBindInfo *iface, ULONG ulS
memcpy
(
*
ppwzStr
,
binding_urls
[
tested_protocol
],
size
);
return
S_OK
;
}
case
BINDSTRING_ROOTDOC_URL
:
CHECK_EXPECT
(
GetBindString_ROOTDOC_URL
);
ok
(
cEl
==
1
,
"cEl=%d, expected 1
\n
"
,
cEl
);
return
E_NOTIMPL
;
default:
ok
(
0
,
"unexpected ulStringType %d
\n
"
,
ulStringType
);
}
...
...
@@ -2843,6 +2853,7 @@ static BOOL http_protocol_start(LPCWSTR url, BOOL use_iuri)
SET_EXPECT
(
ReportProgress_DIRECTBIND
);
if
(
!
got_user_agent
)
SET_EXPECT
(
GetBindString_USER_AGENT
);
SET_EXPECT
(
GetBindString_ROOTDOC_URL
);
SET_EXPECT
(
GetBindString_ACCEPT_MIMES
);
SET_EXPECT
(
QueryService_HttpNegotiate
);
SET_EXPECT
(
BeginningTransaction
);
...
...
@@ -2884,6 +2895,7 @@ static BOOL http_protocol_start(LPCWSTR url, BOOL use_iuri)
CHECK_CALLED
(
GetBindString_USER_AGENT
);
got_user_agent
=
TRUE
;
}
CLEAR_CALLED
(
GetBindString_ROOTDOC_URL
);
/* New in IE11 */
CHECK_CALLED
(
GetBindString_ACCEPT_MIMES
);
CHECK_CALLED
(
QueryService_HttpNegotiate
);
CHECK_CALLED
(
BeginningTransaction
);
...
...
include/urlmon.idl
View file @
9c642455
...
...
@@ -722,7 +722,13 @@ interface IInternetBindInfo : IUnknown
BINDSTRING_URL
,
BINDSTRING_IID
,
BINDSTRING_FLAG_BIND_TO_OBJECT
,
BINDSTRING_PTR_BIND_CONTEXT
BINDSTRING_PTR_BIND_CONTEXT
,
BINDSTRING_XDR_ORIGIN
,
BINDSTRING_DOWNLOADPATH
,
BINDSTRING_ROOTDOC_URL
,
BINDSTRING_INITIAL_FILENAME
,
BINDSTRING_PROXY_USERNAME
,
BINDSTRING_PROXY_PASSWORD
}
BINDSTRING
;
HRESULT
GetBindInfo
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment