Use statetype enum in automation_predicate.js
There were inconsistent usages of node.state.type, and node.state[State.type]. Also fix closure_compiler errors. AX-Relnotes: n/a. Bug: None (refactoring). Test: webui_closure_compile, shows no errors Change-Id: I78483d79336c8e71df34309f2ba306e7ac07d031 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2210604Reviewed-by:David Tseng <dtseng@chromium.org> Commit-Queue: Sara Kato <sarakato@chromium.org> Auto-Submit: Sara Kato <sarakato@chromium.org> Cr-Commit-Position: refs/heads/master@{#772086}
Showing
Please register or sign in to comment