DescriptionWhen Chrome translates a page, the translate server might detect that the page is in a different language than the one Chrome detected.
If that language is not in the list of languages that Chrome supports for translation, then we do not know what to show and we were crashing.
This CL makes it so that we show an error infobar instead.
Note that in the future we should improve the "after translate" infobar to support showing the original language as unknown. (http://crbug.com/9390)
BUG=48918
TEST=Not sure how to test without changing the code.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=52876
Patch Set 1 #Patch Set 2 : Adding bug reference #
Total comments: 4
Patch Set 3 : '' #
Messages
Total messages: 4 (0 generated)
|