[Autofill Assistant] Prompt only shows button if element exists
Before this patch, buttons were always displayed on prompt. That was incomplete: it did not allow reproducing the behavior we currently have between scripts where button appear as a result of DOM changes. With this patch, prompt button reproduce the between-script behavior, allowing buttons to be shown only conditionally. Bug: 122825639 Change-Id: I53eee48156cac1f2e5f1b81dd86a48bb25566a0c Reviewed-on: https://chromium-review.googlesource.com/c/1437084 Commit-Queue: Stephane Zermatten <szermatt@chromium.org> Reviewed-by:Mathias Carlen <mcarlen@chromium.org> Cr-Commit-Position: refs/heads/master@{#626943}
Showing
Please register or sign in to comment