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
db53e46b
Commit
db53e46b
authored
Aug 10, 2023
by
Gabriel Ivăncescu
Committed by
Alexandre Julliard
Aug 14, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Skip windows with no URI when deciding whether to send storage events.
They're not going to match anyway. Signed-off-by:
Gabriel Ivăncescu
<
gabrielopcode@gmail.com
>
parent
1946c2dc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
htmlstorage.c
dlls/mshtml/htmlstorage.c
+2
-0
No files found.
dlls/mshtml/htmlstorage.c
View file @
db53e46b
...
...
@@ -282,6 +282,8 @@ static HRESULT send_storage_event_impl(struct send_storage_event_ctx *ctx, HTMLI
origin
=
storage
->
session_storage
->
origin
;
origin_len
=
ctx
->
skip_window
?
wcslen
(
origin
)
:
storage
->
session_storage
->
origin_len
;
bstr
=
NULL
;
}
else
if
(
!
window
->
base
.
outer_window
->
uri
)
{
return
S_OK
;
}
else
{
hres
=
IUri_GetHost
(
window
->
base
.
outer_window
->
uri
,
&
bstr
);
if
(
hres
!=
S_OK
)
{
...
...
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