Put chrome://usb-internals UI under a top-level WebComponent.
This is done so that the UI can be programmatically instantiated from within a test, with document.createElement('usb-internals-app'); in preparation of migrating to JS modules, where during tests, test_loader.html is loaded instead of the original landing HTML page. Bug: 1139849 Change-Id: I919179150385e906665746afbfc6ce0aa2480498 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2486963 Commit-Queue: dpapad <dpapad@chromium.org> Reviewed-by:Rebekah Potter <rbpotter@chromium.org> Cr-Commit-Position: refs/heads/master@{#819490}
Showing
Please register or sign in to comment