Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(475)

Issue 2812253002: Headless: Support sending and receiving of raw protocol messages (Closed)

Created:
3 years, 8 months ago by alex clarke (OOO till 29th)
Modified:
3 years, 8 months ago
Reviewers:
Sami
CC:
chromium-reviews, pfeldman, devtools-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Headless: Support sending and receiving of raw protocol messages Also adds support for finding the render tree node id, if any, for a given devtools agent host id. BUG=546953 Review-Url: https://codereview.chromium.org/2812253002 Cr-Commit-Position: refs/heads/master@{#465658} Committed: https://chromium.googlesource.com/chromium/src/+/a936ad274d8d2f8967fb39dd8150488e0383ab8f

Patch Set 1 #

Total comments: 6

Patch Set 2 : Changes for Sami #

Patch Set 3 : Add ability to find render tree node id for devtools agent host ids #

Total comments: 8

Patch Set 4 : Changes for Sami #

Patch Set 5 : Fix tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+159 lines, -2 lines) Patch
M headless/lib/browser/headless_devtools_client_impl.h View 1 2 3 2 chunks +8 lines, -1 line 0 comments Download
M headless/lib/browser/headless_devtools_client_impl.cc View 1 2 3 4 chunks +48 lines, -1 line 0 comments Download
M headless/lib/browser/headless_web_contents_impl.h View 1 2 3 3 chunks +8 lines, -0 lines 0 comments Download
M headless/lib/browser/headless_web_contents_impl.cc View 1 2 3 1 chunk +29 lines, -0 lines 0 comments Download
M headless/lib/headless_devtools_client_browsertest.cc View 1 2 3 4 1 chunk +35 lines, -0 lines 0 comments Download
M headless/public/headless_devtools_client.h View 1 2 3 1 chunk +25 lines, -0 lines 0 comments Download
M headless/public/headless_web_contents.h View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (21 generated)
alex clarke (OOO till 29th)
PTAL
3 years, 8 months ago (2017-04-12 09:28:06 UTC) #3
Sami
https://codereview.chromium.org/2812253002/diff/1/headless/lib/browser/headless_devtools_client_impl.cc File headless/lib/browser/headless_devtools_client_impl.cc (right): https://codereview.chromium.org/2812253002/diff/1/headless/lib/browser/headless_devtools_client_impl.cc#newcode116 headless/lib/browser/headless_devtools_client_impl.cc:116: DCHECK_EQ((id % 2), 1) << "Raw devtools messages must ...
3 years, 8 months ago (2017-04-12 14:54:24 UTC) #7
alex clarke (OOO till 29th)
PTAL https://codereview.chromium.org/2812253002/diff/1/headless/lib/browser/headless_devtools_client_impl.cc File headless/lib/browser/headless_devtools_client_impl.cc (right): https://codereview.chromium.org/2812253002/diff/1/headless/lib/browser/headless_devtools_client_impl.cc#newcode116 headless/lib/browser/headless_devtools_client_impl.cc:116: DCHECK_EQ((id % 2), 1) << "Raw devtools messages ...
3 years, 8 months ago (2017-04-13 10:46:28 UTC) #8
Sami
lgtm with a few nits, thanks! https://codereview.chromium.org/2812253002/diff/40001/headless/lib/browser/headless_devtools_client_impl.h File headless/lib/browser/headless_devtools_client_impl.h (right): https://codereview.chromium.org/2812253002/diff/40001/headless/lib/browser/headless_devtools_client_impl.h#newcode100 headless/lib/browser/headless_devtools_client_impl.h:100: void SendRawDevToolsMessage(const base::DictionaryValue* ...
3 years, 8 months ago (2017-04-19 15:24:43 UTC) #18
alex clarke (OOO till 29th)
Thanks https://codereview.chromium.org/2812253002/diff/40001/headless/lib/browser/headless_devtools_client_impl.h File headless/lib/browser/headless_devtools_client_impl.h (right): https://codereview.chromium.org/2812253002/diff/40001/headless/lib/browser/headless_devtools_client_impl.h#newcode100 headless/lib/browser/headless_devtools_client_impl.h:100: void SendRawDevToolsMessage(const base::DictionaryValue* message) override; On 2017/04/19 15:24:43, ...
3 years, 8 months ago (2017-04-19 16:30:33 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2812253002/60001
3 years, 8 months ago (2017-04-19 16:31:13 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_compile_dbg_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_ng/builds/279875)
3 years, 8 months ago (2017-04-19 16:44:46 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2812253002/80001
3 years, 8 months ago (2017-04-19 17:09:40 UTC) #27
commit-bot: I haz the power
3 years, 8 months ago (2017-04-19 17:36:52 UTC) #30
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/a936ad274d8d2f8967fb39dd8150...

Powered by Google App Engine
This is Rietveld 408576698