The log to show which speech rule is applied for each speech output is useful.
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/316ef0e479717a72bcdb3894f81ed8598204c39a commit 316ef0e479717a72bcdb3894f81ed8598204c39a Author: Eriko Kurimoto <elkurin@google.com> Date: Thu Sep 13 03:37:14 2018 Add speech and braille rules to ChromeVox Logpage In this cl, the logic to choose which rule to apply is not changed. However, which rule is applied can be now traced. Output is like below. RULE: navigate.default.speak $name: hoge $value: fuga Bug: 877384 Change-Id: I13963e8136001cd6f78ac1c66094c551e24b09a3 Reviewed-on: https://chromium-review.googlesource.com/1195167 Reviewed-by: David Tseng <dtseng@chromium.org> Reviewed-by: Yuki Awano <yawano@chromium.org> Commit-Queue: Eriko Kurimoto <elkurin@google.com> Cr-Commit-Position: refs/heads/master@{#590914} [modify] https://crrev.com/316ef0e479717a72bcdb3894f81ed8598204c39a/chrome/browser/resources/chromeos/chromevox/BUILD.gn [modify] https://crrev.com/316ef0e479717a72bcdb3894f81ed8598204c39a/chrome/browser/resources/chromeos/chromevox/cvox2/background/log.css [modify] https://crrev.com/316ef0e479717a72bcdb3894f81ed8598204c39a/chrome/browser/resources/chromeos/chromevox/cvox2/background/log.html [modify] https://crrev.com/316ef0e479717a72bcdb3894f81ed8598204c39a/chrome/browser/resources/chromeos/chromevox/cvox2/background/log_store.js [modify] https://crrev.com/316ef0e479717a72bcdb3894f81ed8598204c39a/chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js [add] https://crrev.com/316ef0e479717a72bcdb3894f81ed8598204c39a/chrome/browser/resources/chromeos/chromevox/cvox2/background/output_logger.js
Comment 1 by yawano@chromium.org
, Aug 24