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
5d17e7e4
Commit
5d17e7e4
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 FireDocumentComplete notification.
Signed-off-by:
Gabriel Ivăncescu
<
gabrielopcode@gmail.com
>
parent
82c03141
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 @
5d17e7e4
...
...
@@ -839,6 +839,7 @@ static HRESULT WINAPI DocObjectService_FireDocumentComplete(
{
ShellBrowser
*
This
=
impl_from_IDocObjectService
(
iface
);
IHTMLPrivateWindow
*
priv_window
;
const
WCHAR
*
orig_url
;
VARIANTARG
params
[
2
];
DISPPARAMS
dp
=
{
params
,
NULL
,
2
,
0
};
VARIANT
url_var
;
...
...
@@ -858,6 +859,13 @@ static HRESULT WINAPI DocObjectService_FireDocumentComplete(
TRACE
(
"got URL %s
\n
"
,
debugstr_w
(
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 @
5d17e7e4
...
...
@@ -215,7 +215,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