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
19e2c157
Commit
19e2c157
authored
Sep 16, 2011
by
Francois Gouget
Committed by
Alexandre Julliard
Sep 16, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ieframe/tests: Don't crash if IWebBrowser2_get_LocationURL() fails.
parent
9fe25eae
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
webbrowser.c
dlls/ieframe/tests/webbrowser.c
+4
-1
No files found.
dlls/ieframe/tests/webbrowser.c
View file @
19e2c157
...
@@ -230,9 +230,12 @@ static void _test_LocationURL(unsigned line, IUnknown *unk, const char *exurl)
...
@@ -230,9 +230,12 @@ static void _test_LocationURL(unsigned line, IUnknown *unk, const char *exurl)
hres
=
IWebBrowser2_get_LocationURL
(
wb
,
&
url
);
hres
=
IWebBrowser2_get_LocationURL
(
wb
,
&
url
);
ok_
(
__FILE__
,
line
)
(
hres
==
(
*
exurl
?
S_OK
:
S_FALSE
),
"get_LocationURL failed: %08x
\n
"
,
hres
);
ok_
(
__FILE__
,
line
)
(
hres
==
(
*
exurl
?
S_OK
:
S_FALSE
),
"get_LocationURL failed: %08x
\n
"
,
hres
);
if
(
hres
==
S_OK
)
{
ok_
(
__FILE__
,
line
)
(
!
strcmp_wa
(
url
,
exurl
),
"unexpected URL: %s
\n
"
,
wine_dbgstr_w
(
url
));
ok_
(
__FILE__
,
line
)
(
!
strcmp_wa
(
url
,
exurl
),
"unexpected URL: %s
\n
"
,
wine_dbgstr_w
(
url
));
SysFreeString
(
url
);
SysFreeString
(
url
);
}
IWebBrowser2_Release
(
wb
);
IWebBrowser2_Release
(
wb
);
}
}
...
...
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