Add input element values to DOMSnapshot command

Desktop / Chromium - dvallet [chromium.org] - 13 July 2017 19:41 EDT

DomSnapshot is modified to populate NodeValue for textarea, input and option elements.

radio/checkbox and option elements are populated with a checked/selected string

BUG=546953

Review-Url: https://codereview.chromium.org/2971133002 Cr-Commit-Position: refs/heads/master@{#486541}

537562c Add input element values to DOMSnapshot command
...m-snapshot-getSnapshot-input-value-expected.txt | 439 +++++++++++++++++++++
.../dom-snapshot-getSnapshot-input-value.js | 19 +
.../resources/dom-snapshot-input-value.html | 17 +
.../core/inspector/InspectorDOMSnapshotAgent.cpp | 28 +-
.../Source/core/inspector/browser_protocol.json | 4 +
5 files changed, 505 insertions(+), 2 deletions(-)

Upstream: git.chromium.org


  • Share