Commit 388058c7 authored by Luciano Pacheco's avatar Luciano Pacheco Committed by Commit Bot

Files app: Fix FileManagerUITest to work without DOMv0 and native HTML Imports

Removed the files_password_dialog which was failing to import its
dependencies and isn't needed for these tests.

Bug: 924873, 1111393
Change-Id: I677db6d25ce1f6701e1b6dbe7e40081b8987b7d6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2362362
Commit-Queue: Joel Hockey <joelhockey@chromium.org>
Auto-Submit: Luciano Pacheco <lucmult@chromium.org>
Reviewed-by: default avatarJoel Hockey <joelhockey@chromium.org>
Cr-Commit-Position: refs/heads/master@{#799520}
parent 9df5f41b
......@@ -23,13 +23,6 @@ class FileManagerUITest : public InProcessBrowserTest {
// --disable-web-security required to load resources from
// files and from chrome://resources/... urls.
command_line->AppendSwitch(switches::kDisableWebSecurity);
// TODO(yoichio): This is temporary switch to support chrome internal
// components migration from the old web APIs.
// After completion of the migration, we should remove this.
// See crbug.com/924873 for detail.
command_line->AppendSwitchASCII(switches::kDisableBlinkFeatures,
"ShadowDOMV0,CustomElementsV0,HTMLImports");
}
void RunTest(std::string test_scope) {
......
......@@ -212,6 +212,7 @@ for filename, substitutions in (
('foreground/js/elements_importer.js', (
("= 'foreground", "= 'test/gen/foreground"),
)),
('foreground/elements/files_password_dialog.html', ()),
('foreground/elements/files_format_dialog.html', ()),
('foreground/elements/files_icon_button.html', ()),
('foreground/elements/files_message.html', ()),
......
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