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
9de210a0
Commit
9de210a0
authored
Feb 20, 2008
by
Jacek Caban
Committed by
Alexandre Julliard
Feb 21, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
urlmon: Fixed crash on old IE.
parent
2f046e96
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
17 deletions
+18
-17
url.c
dlls/urlmon/tests/url.c
+18
-17
No files found.
dlls/urlmon/tests/url.c
View file @
9de210a0
...
...
@@ -1819,26 +1819,27 @@ static void test_bscholder(IBindStatusCallback *holder)
IHttpNegotiate_Release
(
http_negotiate_serv
);
hres
=
IBindStatusCallback_QueryInterface
(
holder
,
&
IID_IHttpNegotiate2
,
(
void
**
)
&
http_negotiate2
);
ok
(
hres
==
S_OK
,
"Could not get IHttpNegotiate2 interface: %08x
\n
"
,
hres
);
hres
=
IHttpNegotiate2_GetRootSecurityId
(
http_negotiate2
,
(
void
*
)
0xdeadbeef
,
(
void
*
)
0xdeadbeef
,
0
);
ok
(
hres
==
E_FAIL
,
"GetRootSecurityId failed: %08x
\n
"
,
hres
);
IHttpNegotiate_Release
(
http_negotiate2
);
if
(
SUCCEEDED
(
hres
))
{
hres
=
IHttpNegotiate2_GetRootSecurityId
(
http_negotiate2
,
(
void
*
)
0xdeadbeef
,
(
void
*
)
0xdeadbeef
,
0
);
ok
(
hres
==
E_FAIL
,
"GetRootSecurityId failed: %08x
\n
"
,
hres
);
SET_EXPECT
(
QueryInterface_IHttpNegotiate2
);
hres
=
IServiceProvider_QueryService
(
serv_prov
,
&
IID_IHttpNegotiate2
,
&
IID_IHttpNegotiate2
,
(
void
**
)
&
http_negotiate2_serv
);
ok
(
hres
==
S_OK
,
"Could not get IHttpNegotiate2 service: %08x
\n
"
,
hres
);
CHECK_CALLED
(
QueryInterface_IHttpNegotiate2
);
ok
(
http_negotiate2
==
http_negotiate2_serv
,
"http_negotiate != http_negotiate_serv
\n
"
);
SET_EXPECT
(
QueryInterface_IHttpNegotiate2
);
hres
=
IServiceProvider_QueryService
(
serv_prov
,
&
IID_IHttpNegotiate2
,
&
IID_IHttpNegotiate2
,
(
void
**
)
&
http_negotiate2_serv
);
ok
(
hres
==
S_OK
,
"Could not get IHttpNegotiate2 service: %08x
\n
"
,
hres
);
CHECK_CALLED
(
QueryInterface_IHttpNegotiate2
);
ok
(
http_negotiate2
==
http_negotiate2_serv
,
"http_negotiate != http_negotiate_serv
\n
"
);
SET_EXPECT
(
GetRootSecurityId
);
hres
=
IHttpNegotiate2_GetRootSecurityId
(
http_negotiate2
,
(
void
*
)
0xdeadbeef
,
(
void
*
)
0xdeadbeef
,
0
);
ok
(
hres
==
E_NOTIMPL
,
"GetRootSecurityId failed: %08x
\n
"
,
hres
);
CHECK_CALLED
(
GetRootSecurityId
);
SET_EXPECT
(
GetRootSecurityId
);
hres
=
IHttpNegotiate2_GetRootSecurityId
(
http_negotiate2
,
(
void
*
)
0xdeadbeef
,
(
void
*
)
0xdeadbeef
,
0
);
ok
(
hres
==
E_NOTIMPL
,
"GetRootSecurityId failed: %08x
\n
"
,
hres
);
CHECK_CALLED
(
GetRootSecurityId
);
IHttpNegotiate_Release
(
http_negotiate2_serv
);
IHttpNegotiate_Release
(
http_negotiate2_serv
);
IHttpNegotiate_Release
(
http_negotiate2
);
}
else
{
skip
(
"Could not get IHttpNegotiate2
\n
"
);
}
SET_EXPECT
(
OnProgress_FINDINGRESOURCE
);
hres
=
IBindStatusCallback_OnProgress
(
holder
,
0
,
0
,
BINDSTATUS_FINDINGRESOURCE
,
NULL
);
...
...
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