Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not expand languages that starts with the primary subtag 'x' or 'i'
Any language that starts with the primary language subtag 'x' is defined by RFC 5646 section 2.2.1 as being defined by private agreement. Therefore, 'x' isn't a language. Similarly, language tags starting with the primarty subtag 'i' such as "i-klingon" are not of the form "language-country" either. Bug: chromium:1179073 Test: unit tests Change-Id: I67d0b090df6941339fbbd0d4337d8db0288d74f8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2699487 Auto-Submit: Yves Arrouye <drcrash@chromium.org> Commit-Queue: Bence Béky <bnc@chromium.org> Reviewed-by: Bence Béky <bnc@chromium.org> Cr-Commit-Position: refs/heads/master@{#854754}
- Loading branch information