-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Extensions] Fix non-extension process events being tracked.
Before this change events destined for processes outside of the extension process for event pages (e.g. content scripts) would be added to ExtensionHost's unacked_messages_ map. But since these events never ack via ExtensionHost::OnEventAck() the event entry in the map would never be removed. This is, at least, a memory issue. After this change we do not add an event to the unacked_messages_ map unless the event is meant to be executed inside the extension process. Change-Id: I8b0636b6b7b36a4b21c4c8e423749d63eae6ae4b Fixed: 1496093 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4977287 Commit-Queue: Justin Lulejian <jlulejian@chromium.org> Reviewed-by: Devlin Cronin <rdevlin.cronin@chromium.org> Cr-Commit-Position: refs/heads/main@{#1216710}
- Loading branch information
Justin Lulejian
authored and
Chromium LUCI CQ
committed
Oct 29, 2023
1 parent
e2166da
commit f5f9744
Showing
3 changed files
with
179 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters