Add html-imports non-minified to be used in FilesApp UI tests with modifications
Added https://github.com/webcomponents/html-imports/blob/master/src/html-imports.js Many polymer files are using html imports of URLs such as chrome://resources/html/polymer.html. When running in UI test mode, none of the chrome://resources URLs will load. Previously it was fine for these requests to fail, since polymer and other libraries were being loaded explicitly from //third_party/polymer/ sources in the main document. But with this polyfill, a failure to load is causing the whole page to fail. We will follow up to patch the html-imports.js polyfill to translate chrome://resource URLs to the correct location of the related script within //ui/webui/ or //third_party/polymer/ Bug: 924873 Change-Id: I289aa1448b06a1ced131c9a3c5faf8a6fb53898e Reviewed-on: https://chromium-review.googlesource.com/c/1488482Reviewed-by:Luciano Pacheco <lucmult@chromium.org> Commit-Queue: Luciano Pacheco <lucmult@chromium.org> Auto-Submit: Joel Hockey <joelhockey@chromium.org> Cr-Commit-Position: refs/heads/master@{#635463}
Showing
This diff is collapsed.
Please register or sign in to comment