Eliminate unintended dependency in ChromeVox Content script
LogStore through TreeDumper depends on chrome.automation (which is only available in the background page). Unfortunately, NavBraille and ConsoleTts require LogStore and are still currently included in the injected content script which pulls in all LogStore deps. This change: 1. removes ConsoleTts from the content script. Logging within a content script might have been useful in the past, but doesn't seem relevant today. 2. NavBraille logging was moved to BackgroundBraille. Test: load a page. Verify no errors come from access to automation api being undefined. Ensure there are no references to 'automation' in the compiled page script(s). Change-Id: Ief450600f4a23588900843678c40baf5efdfbf8b Reviewed-on: https://chromium-review.googlesource.com/1249270 Commit-Queue: David Tseng <dtseng@chromium.org> Reviewed-by:Dominic Mazzoni <dmazzoni@chromium.org> Cr-Commit-Position: refs/heads/master@{#594947}
Showing
Please register or sign in to comment