Extensions: Always add base tag
Always add the <base href="chrome://extensions> tag, even in optimized builds, since it no longer needs to be added by the optimize_webui script. This is because Polymer 3 pages use rollup rather than Polymer bundler. Rollup does not process HTML files and therefore does not have the same issue with eating <base> tags that Polymer bundler did. The base tag is needed for URLs like chrome://extensions/a/b/ to work correctly and not cause a console error. Bug: 1004967 Change-Id: I9b8b6c20ebe8de1a6a5c92361079321b124fa6c5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1918644Reviewed-by:Demetrios Papadopoulos <dpapad@chromium.org> Commit-Queue: Rebekah Potter <rbpotter@chromium.org> Cr-Commit-Position: refs/heads/master@{#715568}
Showing
Please register or sign in to comment