DescriptionGet the document language directly from WebKit rather than trying to figure
it out ourselves. Since WebKit is already case-insensitive, this fixes
test-case #3. Test-Case #1 requires WebKit support for extracting the
language from the HTTP headers (https://bugs.webkit.org/show_bug.cgi?id=97929).
Note that this patch will fail completely until a WebKit patch to export
this information is accepted (https://bugs.webkit.org/show_bug.cgi?id=98066).
BUG=145689
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=162212
Patch Set 1 #
Total comments: 1
Patch Set 2 : Use document language determined by WebKit for translation (now with improved comment). #Patch Set 3 : Reduced patch that only expects langauge from http-equiv setting. #
Messages
Total messages: 16 (0 generated)
|