Respect kLogJsConsoleMessages on all platforms
kLogJsConsoleMessages feature is used to control whether to log JS console messages, which provides developers a quick way to control whether to log JS messages. For example, some JS code uses a lot of log messages which can be noisy. Currently this feature only take effect on Android where it's disabled by default. This CL change the logic to check this feature on all platforms. On non-Android platforms the feature is enabled by default, which matches the existing behavior. To disable JS console messages in terminal, use --disable-features=LogJsConsoleMessages Change-Id: I0f42e71d63f55369d1d6721c2a1c5eb3b3ef4bda Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2208352Reviewed-by:Hazem Ashmawy <hazems@chromium.org> Reviewed-by:
John Abd-El-Malek <jam@chromium.org> Commit-Queue: Xiaohan Wang <xhwang@chromium.org> Cr-Commit-Position: refs/heads/master@{#771261}
Showing
Please register or sign in to comment