• David Tseng's avatar
    Eliminate unintended dependency in ChromeVox Content script · 0e18cb68
    David Tseng authored
    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: default avatarDominic Mazzoni <dmazzoni@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#594947}
    0e18cb68
output.js 82.2 KB