Description[Telemetry] Add tab property "dom_stats".
Currently, the associated function reaches into the inspector_backend, which in
turn now has a new module to communicate with the remote inspector's
"Memory" domain. This allows us to query the remote inspector for the
DOM node count, document count, and event listener count, for a tab.
Making this change is a prerequisite to converting the Chrome Endure
endurance tests over to Telemetry from their current pyauto-based
implementation.
BUG=chromium-os:39589
TEST=tools/telemetry/run_tests InspectorMemoryTest
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=188092
Patch Set 1 #
Total comments: 8
Patch Set 2 : Addressed first round of review comments. #Patch Set 3 : Minor edit to part of function name: Dom --> DOM #Patch Set 4 : Addressed second round of review comments. #
Messages
Total messages: 11 (0 generated)
|