Skip to content

Truly independent web browser

LibWebView: Drop the request map when the location policy cancels all

sideshowbarkerd496f72093db
diff --git a/Libraries/LibWebView/ViewImplementation.cpp b/Libraries/LibWebView/ViewImplementation.cpp
index 1340efdc4ef..39bb7e1e8cf 100644
--- a/Libraries/LibWebView/ViewImplementation.cpp
+++ b/Libraries/LibWebView/ViewImplementation.cpp
@@ -4433,6 +4433,7 @@ void ViewImplementation::geolocation_settings_changed()
Application::the().stop_watching_geolocation_position(watch.value);
watch.key.page->async_geolocation_position_response(watch.key.request_id, {}, to_underlying(ErrorCode::PermissionDenied));
}
+ m_geolocation_request_documents.clear();
}
send_geolocation_emulated_position(page());