DescriptionFix crash when calling getMsg with no options.
(This is cherry-picking a single bug fix from ChromeVox upstream.)
The repro is this html:
<div tabIndex=0 role="slider" aria-valuenow="20"></div>
The bug happens when cvox.BrailleUtil.getState calls
cvox.ChromeVox.msgs.getMsg to see if the "_brl" translation exists,
and passes it 'aria_value_now_brl' in this particular case,
whose value is just "$1". If you don't pass it an argument, you
get '' back, and that throws an error because a message should never
return the empty string.
BUG=379296
R=plundblad@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=274815
Patch Set 1 #
Messages
Total messages: 18 (0 generated)
|