Commit b2fbd398 authored by Luciano Pacheco's avatar Luciano Pacheco Committed by Commit Bot

Files app: Add id to new breadcrumbs

This makes the tabindex integration tests failure message more obvious.
The test is based on the id of elements receiving focus.

Bug: 1035691, 992818
Change-Id: I72ebbeb35927cbfa07c246b6bdf4d0b20f4bc427
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2088971
Auto-Submit: Luciano Pacheco <lucmult@chromium.org>
Reviewed-by: default avatarNoel Gordon <noel@chromium.org>
Reviewed-by: default avatarAlex Danilo <adanilo@chromium.org>
Commit-Queue: Noel Gordon <noel@chromium.org>
Commit-Queue: Alex Danilo <adanilo@chromium.org>
Commit-Queue: Luciano Pacheco <lucmult@chromium.org>
Cr-Commit-Position: refs/heads/master@{#747121}
parent cbec830a
...@@ -196,6 +196,7 @@ class LocationLine extends cr.EventTarget { ...@@ -196,6 +196,7 @@ class LocationLine extends cr.EventTarget {
let breadcrumbs = document.querySelector('bread-crumb'); let breadcrumbs = document.querySelector('bread-crumb');
if (!breadcrumbs) { if (!breadcrumbs) {
breadcrumbs = document.createElement('bread-crumb'); breadcrumbs = document.createElement('bread-crumb');
breadcrumbs.id = 'breadcrumbs';
this.breadcrumbs_.appendChild(breadcrumbs); this.breadcrumbs_.appendChild(breadcrumbs);
breadcrumbs.setSignalCallback(this.breadCrumbSignal_.bind(this)); breadcrumbs.setSignalCallback(this.breadCrumbSignal_.bind(this));
} }
......
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