[Autofill Assistant] Refactor WaitForDocumentReadyState
This refactors WaitForDocumentReadyState (and GetDocument ReadyState) to take an (optional) ElementFinder::Result instead of an optional Selector. An optional ElementFinder::Result is here defined as having an empty node_frame_id (which will map to the main frame). Bug: b/2523176 Change-Id: I7db89cc0ec2ede071616b30db42c1f8de9ab2d0b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2526441 Commit-Queue: Sandro Maggi <sandromaggi@google.com> Reviewed-by:Mathias Carlen <mcarlen@chromium.org> Cr-Commit-Position: refs/heads/master@{#825710}
Showing
Please register or sign in to comment