[PATCH 0/1] MR3543: mshtml: Skip windows with no URI when deciding whether to send storage events.
From: Gabriel Ivăncescu <gabrielopcode(a)gmail.com> They're not going to match anyway. Signed-off-by: Gabriel Ivăncescu <gabrielopcode(a)gmail.com> --- dlls/mshtml/htmlstorage.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/mshtml/htmlstorage.c b/dlls/mshtml/htmlstorage.c index cad2b2dbd32..2cf32580b2a 100644 --- a/dlls/mshtml/htmlstorage.c +++ b/dlls/mshtml/htmlstorage.c @@ -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) { -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/3543
This merge request was approved by Jacek Caban. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/3543
participants (2)
-
Gabriel Ivăncescu -
Jacek Caban (@jacek)