DescriptionTrack pending WebContents and widgets by (process_id, routing_id) pair.
Currently, WebContentsImpl tracks pending widgets (widgets that are
created but not yet shown) in the pending_widget_views_ map, which is
keyed by the new widget's routing_id only. Similarly, pending
WebContents are tracked in pending_contents_, also keyed by a single
routing_id. This is prone to a race when two OOPIFs in different
processes (but part of the same WebContents) create new widgets, and
the two widgets happen to use the same routing ID, colliding in one of
these maps. This CL changes both of these maps to be keyed by
(process_id, routing_id).
BUG=612276, 593522
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation
Committed: https://crrev.com/c2a8cec37a56e92d29d91b936734cd1e5ee28734
Cr-Commit-Position: refs/heads/master@{#395435}
Patch Set 1 #Patch Set 2 : Fix unit tests #Patch Set 3 : Add tests #Patch Set 4 : Cleanup #
Total comments: 3
Patch Set 5 : Remove done_ #Patch Set 6 : Disable popup menu test for Mac/Android #Messages
Total messages: 18 (8 generated)
|