summaryrefslogtreecommitdiffstats
path: root/device/serial/BUILD.gn
diff options
context:
space:
mode:
authorkozyatinskiy <kozyatinskiy@chromium.org>2015-11-20 21:40:48 -0800
committerCommit bot <commit-bot@chromium.org>2015-11-21 05:41:26 +0000
commit1084bdca601104f8eb99fa4ff11cc1397d8dd1af (patch)
treefa47b8d11142337184697360518eea01b36cc3c1 /device/serial/BUILD.gn
parent7033604f1c3822f4a73190cf9fef458c7cd66b9b (diff)
downloadchromium_src-1084bdca601104f8eb99fa4ff11cc1397d8dd1af.zip
chromium_src-1084bdca601104f8eb99fa4ff11cc1397d8dd1af.tar.gz
chromium_src-1084bdca601104f8eb99fa4ff11cc1397d8dd1af.tar.bz2
[DevTools] filter any messages from previous session in DevToolsAgentHostImpl
Frontend can receive response for protocol message that was sent by previous session or notification that was produced during previous session. E.g. frontend send protocol message and then reattach and then get response. session_id for protocol message is added in this CL. DevToolsAgentHostImpl store current session_id, RenderFrameDevToolsAgentHost and WorkerDevToolsAgentHost add to each protocol message session id and SendResponseMessageToClient method check it after processing. WebDevToolsAgentImpl get session_id from Attach or Reattach IPC message, clear session_id on Dettach message and use it for notifications. BUG=503875, 503824 TEST=run blink/tools/run_layout_tests.py inspector/sources/debugger-breakpoints/set-conditional-breakpoint.html --repeat-each 2 R=pfeldman@chromium.org, dgozman@chromium.org TBR=jam@chromium.org, tsepez@chromium.org Review URL: https://codereview.chromium.org/1437283003 Cr-Commit-Position: refs/heads/master@{#361008}
Diffstat (limited to 'device/serial/BUILD.gn')
0 files changed, 0 insertions, 0 deletions