[DevTools] Maintain the order of pending messages.
This keeps pending messages in a list, and identifies waiting_for_response with a hash map. In this way we avoid reordering messages coming from the client. Previously, we ordered some messages coming from the client by their call_id, but this assumes that the client sends them in order of their call id, which isn't always true. Change-Id: Idd87e37fff64736117a9d0d780e7bf4f20e59974 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1863631 Commit-Queue: Johannes Henkel <johannes@chromium.org> Reviewed-by:Andrey Kosyakov <caseq@chromium.org> Reviewed-by:
Dmitry Gozman <dgozman@chromium.org> Cr-Commit-Position: refs/heads/master@{#706720}
Showing
Please register or sign in to comment