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
1f03cbf2
Commit
1f03cbf2
authored
Jan 25, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
Jan 25, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ieframe: Fixed a typo in IDocObjectService::FireNavigateComplete2.
parent
c12f87fb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
4 deletions
+22
-4
shellbrowser.c
dlls/ieframe/shellbrowser.c
+1
-1
webbrowser.c
dlls/ieframe/tests/webbrowser.c
+21
-3
No files found.
dlls/ieframe/shellbrowser.c
View file @
1f03cbf2
...
...
@@ -748,7 +748,7 @@ static HRESULT WINAPI DocObjectService_FireNavigateComplete2(
set_dochost_url
(
This
->
doc_host
,
url
);
V_VT
(
params
)
=
(
VT_BYREF
|
VT_VARIANT
);
V_
BYREF
(
params
)
=
&
url
;
V_
VARIANTREF
(
params
)
=
&
url_var
;
V_VT
(
params
+
1
)
=
VT_DISPATCH
;
V_DISPATCH
(
params
+
1
)
=
(
IDispatch
*
)
This
->
doc_host
->
wb
;
...
...
dlls/ieframe/tests/webbrowser.c
View file @
1f03cbf2
...
...
@@ -768,6 +768,26 @@ static void test_OnBeforeNavigate(const VARIANT *disp, const VARIANT *url, const
*
V_BOOLREF
(
cancel
));
}
static
void
test_navigatecomplete2
(
DISPPARAMS
*
dp
)
{
VARIANT
*
v
;
CHECK_EXPECT
(
Invoke_NAVIGATECOMPLETE2
);
ok
(
dp
->
rgvarg
!=
NULL
,
"rgvarg == NULL
\n
"
);
ok
(
dp
->
cArgs
==
2
,
"cArgs=%d, expected 2
\n
"
,
dp
->
cArgs
);
ok
(
V_VT
(
dp
->
rgvarg
)
==
(
VT_BYREF
|
VT_VARIANT
),
"V_VT(dp->rgvarg) = %d
\n
"
,
V_VT
(
dp
->
rgvarg
));
v
=
V_VARIANTREF
(
dp
->
rgvarg
);
ok
(
V_VT
(
v
)
==
VT_BSTR
,
"V_VT(url) = %d
\n
"
,
V_VT
(
v
));
ok
(
!
strcmp_wa
(
V_BSTR
(
v
),
current_url
),
"url=%s, expected %s
\n
"
,
wine_dbgstr_w
(
V_BSTR
(
v
)),
current_url
);
ok
(
V_VT
(
dp
->
rgvarg
+
1
)
==
VT_DISPATCH
,
"V_VT(dp->rgvarg+1) = %d
\n
"
,
V_VT
(
dp
->
rgvarg
+
1
));
ok
(
V_DISPATCH
(
dp
->
rgvarg
+
1
)
==
(
IDispatch
*
)
wb
,
"V_DISPATCH=%p, wb=%p
\n
"
,
V_DISPATCH
(
dp
->
rgvarg
+
1
),
wb
);
test_ready_state
((
dwl_flags
&
(
DWL_FROM_PUT_HREF
|
DWL_FROM_GOBACK
))
?
READYSTATE_COMPLETE
:
READYSTATE_LOADING
);
}
static
HRESULT
WINAPI
WebBrowserEvents2_Invoke
(
IDispatch
*
iface
,
DISPID
dispIdMember
,
REFIID
riid
,
LCID
lcid
,
WORD
wFlags
,
DISPPARAMS
*
pDispParams
,
VARIANT
*
pVarResult
,
EXCEPINFO
*
pExcepInfo
,
UINT
*
puArgErr
)
...
...
@@ -896,9 +916,7 @@ static HRESULT WINAPI WebBrowserEvents2_Invoke(IDispatch *iface, DISPID dispIdMe
break
;
case
DISPID_NAVIGATECOMPLETE2
:
CHECK_EXPECT
(
Invoke_NAVIGATECOMPLETE2
);
/* FIXME */
test_ready_state
((
dwl_flags
&
(
DWL_FROM_PUT_HREF
|
DWL_FROM_GOBACK
))
?
READYSTATE_COMPLETE
:
READYSTATE_LOADING
);
test_navigatecomplete2
(
pDispParams
);
break
;
case
DISPID_PROGRESSCHANGE
:
...
...
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