Commit b66b527c authored by Joel Hockey's avatar Joel Hockey Committed by Commit Bot

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: default avatarLuciano 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}
parent bc743ce0
This diff is collapsed.
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