[Autofill Assistant] Fix failing test in generic UI.

The test was failing because it tried to resolve resources that were not available on the target platform. This CL fixes this issue by instead resolving only resources that are bundled with autofill_assistant.

This CL also fixes the issue that autofill_assistant would crash if it failed to resolve the resources.

Bug: 1033877
Change-Id: Ie63d0630a0debd473b2f183af3efebf5d647dbf1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1969581
Auto-Submit: Clemens Arbesser <arbesser@google.com>
Commit-Queue: Clemens Arbesser <arbesser@google.com>
Commit-Queue: Sandro Maggi <sandromaggi@google.com>
Reviewed-by: Sandro Maggi <sandromaggi@google.com>
Cr-Commit-Position: refs/heads/master@{#725142}
2 files changed