Settings: Remove global settings.languageSettingsPrivateApiForTest
In Polymer 3/JS modules, there is no settings global namespace and undefined variables cause an error, so the edit dictionary page cannot simply check the global settings.languageSettingsPrivateApiForTest. Instead, use the LanguagesBrowserProxy in the edit dictionary page to get languageSettingsPrivate, and add a way to set this value in the TestLanguagesBrowserProxy so that it can be overridden for tests. Bug: 1026426 Change-Id: I8aa69ac6a3272b74195ca6bb9c1b41ad0b3bdd77 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2076787 Commit-Queue: Rebekah Potter <rbpotter@chromium.org> Reviewed-by:Demetrios Papadopoulos <dpapad@chromium.org> Cr-Commit-Position: refs/heads/master@{#745250}
Showing
Please register or sign in to comment