• David Tseng's avatar
    Prevent repeated output · e68fe0ec
    David Tseng authored
    In some instances, we receive a significant number of attribute changes within a short delay.
    
    This change throws away attribute changes that generate the same output on the same target.
    
    Test: manually on settings page. Verify that ChromeVox only announces the radio button once rather than > 30 times (and plays the radio button earcon 30 times).
    Change-Id: I92127ad074b3a73ce269077cae6b69ba71f59c52
    Reviewed-on: https://chromium-review.googlesource.com/1211972
    Commit-Queue: David Tseng <dtseng@chromium.org>
    Reviewed-by: default avatarDominic Mazzoni <dmazzoni@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#589700}
    e68fe0ec
output.js 76 KB