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
bbfae3de
Commit
bbfae3de
authored
Mar 08, 2008
by
Jacek Caban
Committed by
Alexandre Julliard
Mar 10, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
urlmon: Fixed MapUrlToZone test on IE7.
parent
75fe97dc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
sec_mgr.c
dlls/urlmon/sec_mgr.c
+1
-1
misc.c
dlls/urlmon/tests/misc.c
+2
-1
No files found.
dlls/urlmon/sec_mgr.c
View file @
bbfae3de
...
...
@@ -66,7 +66,7 @@ static HRESULT map_url_to_zone(LPCWSTR url, DWORD *zone)
if
(
FAILED
(
hres
))
return
hres
;
if
(
!*
schema
)
return
0x80041001
;
return
E_INVALIDARG
;
/* file protocol is a special case */
if
(
!
strcmpW
(
schema
,
wszFile
))
{
...
...
dlls/urlmon/tests/misc.c
View file @
bbfae3de
...
...
@@ -754,7 +754,8 @@ static void test_SecurityManager(void)
zone
=
100
;
hres
=
IInternetSecurityManager_MapUrlToZone
(
secmgr
,
secmgr_tests
[
i
].
url
,
&
zone
,
0
);
ok
(
hres
==
secmgr_tests
[
i
].
zone_hres
,
ok
(
hres
==
secmgr_tests
[
i
].
zone_hres
/* IE <=6 */
||
(
FAILED
(
secmgr_tests
[
i
].
zone_hres
)
&&
hres
==
E_INVALIDARG
),
/* IE7 */
"[%d] MapUrlToZone failed: %08x, expected %08x
\n
"
,
i
,
hres
,
secmgr_tests
[
i
].
zone_hres
);
if
(
SUCCEEDED
(
hres
))
...
...
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