Merge "Add URL parameters for enabling Polymer 2 polyfills"

This commit is contained in:
Ben Rohlfs
2019-07-08 10:18:03 +00:00
committed by Gerrit Code Review

View File

@@ -123,6 +123,15 @@ public class IndexHtmlUtil {
if (urlParameterMap.containsKey("p2")) {
data.put("polymer2", "true");
}
if (urlParameterMap.containsKey("ce")) {
data.put("polyfillCE", "true");
}
if (urlParameterMap.containsKey("sd")) {
data.put("polyfillSD", "true");
}
if (urlParameterMap.containsKey("sc")) {
data.put("polyfillSC", "true");
}
return data.build();
}