• Ondrej Skopek's avatar
    [Local NTP Voice] Try Again UI regression fix. · 5630fe0b
    Ondrej Skopek authored
    Fixes the issue of showing an error message for a short time before
    restarting Voice Search after click on the Try Again link (the microphone
    icon retrying worked correctly). As a result, removed the
    |speech.restart| function and associated test. Now, the display of the
    "Try Again" message is tested in text module tests, and the actual click
    handling is tested in the view module.
    
    Renamed the |text.cancelListeningTimeout| function to
    |text.clearListeningTimeout| for consistency.
    
    Bug: 583291
    Cq-Include-Trybots: master.tryserver.chromium.linux:closure_compilation
    Change-Id: Id5815f9857b90264340ebb37b9ef603bbae404ea
    Reviewed-on: https://chromium-review.googlesource.com/663547Reviewed-by: default avatarMarc Treib <treib@chromium.org>
    Commit-Queue: Ondrej Škopek <oskopek@google.com>
    Cr-Commit-Position: refs/heads/master@{#501600}
    5630fe0b
voice_text_browsertest.js 6.9 KB