Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
f7190487
Commit
f7190487
authored
May 13, 2009
by
Paul Vriens
Committed by
Alexandre Julliard
May 13, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml/tests: Fix some test failures with IE8.
parent
4a781276
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
protocol.c
dlls/mshtml/tests/protocol.c
+9
-3
No files found.
dlls/mshtml/tests/protocol.c
View file @
f7190487
...
@@ -350,14 +350,18 @@ static void test_res_protocol(void)
...
@@ -350,14 +350,18 @@ static void test_res_protocol(void)
sizeof
(
buf
)
/
sizeof
(
buf
[
0
]),
&
size
,
0
);
sizeof
(
buf
)
/
sizeof
(
buf
[
0
]),
&
size
,
0
);
ok
(
hres
==
S_OK
||
hres
==
E_FAIL
,
"ParseUrl failed: %08x
\n
"
,
hres
);
ok
(
hres
==
S_OK
||
hres
==
E_FAIL
,
"ParseUrl failed: %08x
\n
"
,
hres
);
ok
(
buf
[
0
]
==
'?'
,
"buf changed
\n
"
);
ok
(
buf
[
0
]
==
'?'
,
"buf changed
\n
"
);
ok
(
size
==
sizeof
(
blank_url
)
/
sizeof
(
WCHAR
),
"size=%d
\n
"
,
size
);
ok
(
size
==
sizeof
(
blank_url
)
/
sizeof
(
WCHAR
)
||
size
==
sizeof
(
buf
)
/
sizeof
(
buf
[
0
]),
/* IE8 */
"size=%d
\n
"
,
size
);
size
=
0xdeadbeef
;
size
=
0xdeadbeef
;
hres
=
IInternetProtocolInfo_ParseUrl
(
protocol_info
,
wrong_url1
,
PARSE_DOMAIN
,
0
,
buf
,
hres
=
IInternetProtocolInfo_ParseUrl
(
protocol_info
,
wrong_url1
,
PARSE_DOMAIN
,
0
,
buf
,
sizeof
(
buf
)
/
sizeof
(
buf
[
0
]),
&
size
,
0
);
sizeof
(
buf
)
/
sizeof
(
buf
[
0
]),
&
size
,
0
);
ok
(
hres
==
S_OK
||
hres
==
E_FAIL
,
"ParseUrl failed: %08x
\n
"
,
hres
);
ok
(
hres
==
S_OK
||
hres
==
E_FAIL
,
"ParseUrl failed: %08x
\n
"
,
hres
);
ok
(
buf
[
0
]
==
'?'
,
"buf changed
\n
"
);
ok
(
buf
[
0
]
==
'?'
,
"buf changed
\n
"
);
ok
(
size
==
sizeof
(
wrong_url1
)
/
sizeof
(
WCHAR
),
"size=%d
\n
"
,
size
);
ok
(
size
==
sizeof
(
wrong_url1
)
/
sizeof
(
WCHAR
)
||
size
==
sizeof
(
buf
)
/
sizeof
(
buf
[
0
]),
/* IE8 */
"size=%d
\n
"
,
size
);
if
(
0
)
if
(
0
)
{
{
...
@@ -653,7 +657,9 @@ static void test_about_protocol(void)
...
@@ -653,7 +657,9 @@ static void test_about_protocol(void)
sizeof
(
buf
)
/
sizeof
(
buf
[
0
]),
&
size
,
0
);
sizeof
(
buf
)
/
sizeof
(
buf
[
0
]),
&
size
,
0
);
ok
(
hres
==
S_OK
||
hres
==
E_FAIL
,
"ParseUrl failed: %08x
\n
"
,
hres
);
ok
(
hres
==
S_OK
||
hres
==
E_FAIL
,
"ParseUrl failed: %08x
\n
"
,
hres
);
ok
(
buf
[
0
]
==
'?'
,
"buf changed
\n
"
);
ok
(
buf
[
0
]
==
'?'
,
"buf changed
\n
"
);
ok
(
size
==
sizeof
(
about_blank_url
)
/
sizeof
(
WCHAR
),
"size=%d
\n
"
,
size
);
ok
(
size
==
sizeof
(
about_blank_url
)
/
sizeof
(
WCHAR
)
||
size
==
sizeof
(
buf
)
/
sizeof
(
buf
[
0
]),
/* IE8 */
"size=%d
\n
"
,
size
);
if
(
0
)
if
(
0
)
{
{
...
...
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