Commit e01b7e54 authored by rbpotter's avatar rbpotter Committed by Commit Bot

Web UI Polymer 2: Turn on by default on Chrome OS

Polymer 2 is currently on by default on all platforms except for
Chrome OS. The automated tests are now all passing with Polymer 2 on
Chrome OS, with the exception of OOBE/Login related tests. This CL
turns on Polymer 2 by default on Chrome OS except for the OOBE page,
so that Web UI pages using Polymer can be tested to see if there are
any additional issues that have not been detected by the tests.

See https://crrev.com/c/1414590 for the addition of the
WebUIPolymer2Exceptions flag, which ensures that Polymer 1 will still
be used for the OOBE page after this CL lands.

Bug: 738611
Change-Id: Ic103a94f2b1e2283596daa9b54ac2d60aa210ba4
Reviewed-on: https://chromium-review.googlesource.com/c/1447026
Commit-Queue: Rebekah Potter <rbpotter@chromium.org>
Reviewed-by: default avatarJohn Abd-El-Malek <jam@chromium.org>
Reviewed-by: default avatarDemetrios Papadopoulos <dpapad@chromium.org>
Cr-Commit-Position: refs/heads/master@{#628572}
parent 36e4b6ce
...@@ -674,14 +674,8 @@ const char kWebXrRenderPathParamValueSharedBuffer[] = "SharedBuffer"; ...@@ -674,14 +674,8 @@ const char kWebXrRenderPathParamValueSharedBuffer[] = "SharedBuffer";
// Makes all WebUI that uses Polymer use 2.x version. // Makes all WebUI that uses Polymer use 2.x version.
// TODO(dpapad): Remove this once Polymer 2 migration is done, // TODO(dpapad): Remove this once Polymer 2 migration is done,
// https://crbug.com/738611. // https://crbug.com/738611.
const base::Feature kWebUIPolymer2 { const base::Feature kWebUIPolymer2{"WebUIPolymer2",
"WebUIPolymer2", base::FEATURE_ENABLED_BY_DEFAULT};
#if !defined(OS_CHROMEOS)
base::FEATURE_ENABLED_BY_DEFAULT
#else
base::FEATURE_DISABLED_BY_DEFAULT
#endif // !defined(OS_CHROMEOS)
};
#endif // !defined(OS_ANDROID) #endif // !defined(OS_ANDROID)
#if defined(OS_CHROMEOS) #if defined(OS_CHROMEOS)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment