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
82c03141
Commit
82c03141
authored
Oct 05, 2023
by
Gabriel Ivăncescu
Committed by
Alexandre Julliard
Oct 06, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ieframe: Send the original URL for error pages in FireNavigationComplete2 notification.
Signed-off-by:
Gabriel Ivăncescu
<
gabrielopcode@gmail.com
>
parent
76b19800
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
shellbrowser.c
dlls/ieframe/shellbrowser.c
+8
-0
ie.c
dlls/ieframe/tests/ie.c
+0
-1
No files found.
dlls/ieframe/shellbrowser.c
View file @
82c03141
...
...
@@ -758,6 +758,7 @@ static HRESULT WINAPI DocObjectService_FireNavigateComplete2(
ShellBrowser
*
This
=
impl_from_IDocObjectService
(
iface
);
DocHost
*
doc_host
=
This
->
doc_host
;
IHTMLPrivateWindow
*
priv_window
;
const
WCHAR
*
orig_url
;
VARIANTARG
params
[
2
];
DISPPARAMS
dp
=
{
params
,
NULL
,
2
,
0
};
VARIANT
url_var
;
...
...
@@ -786,6 +787,13 @@ static HRESULT WINAPI DocObjectService_FireNavigateComplete2(
TRACE
(
"got URL %s
\n
"
,
debugstr_w
(
url
));
set_dochost_url
(
This
->
doc_host
,
url
);
orig_url
=
error_url_frag
(
url
);
if
(
orig_url
)
{
BSTR
tmp
=
SysAllocString
(
orig_url
);
SysFreeString
(
url
);
url
=
tmp
;
}
V_VT
(
params
)
=
(
VT_BYREF
|
VT_VARIANT
);
V_VARIANTREF
(
params
)
=
&
url_var
;
...
...
dlls/ieframe/tests/ie.c
View file @
82c03141
...
...
@@ -186,7 +186,6 @@ static HRESULT WINAPI Dispatch_Invoke(IDispatch *iface, DISPID dispIdMember, REF
arg
=
pDispParams
->
rgvarg
;
ok
(
V_VT
(
arg
)
==
(
VT_BYREF
|
VT_VARIANT
),
"VT = %d
\n
"
,
V_VT
(
arg
));
ok
(
V_VT
(
V_VARIANTREF
(
arg
))
==
VT_BSTR
,
"VT = %d
\n
"
,
V_VT
(
V_VARIANTREF
(
arg
)));
todo_wine_if
(
called_Invoke_NAVIGATEERROR
)
ok
(
!
wcscmp
(
V_BSTR
(
V_VARIANTREF
(
arg
)),
navigate_url
),
"url = %s
\n
"
,
wine_dbgstr_w
(
V_BSTR
(
V_VARIANTREF
(
arg
))));
arg
=
pDispParams
->
rgvarg
+
1
;
...
...
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