[aw] Throw exception for null String in findAllAsync
A null String shouldn't be passed to findAllAsync. This CL throws an IllegalArgumentException so developers have an easier way debugging (what would otherwise be a native crash). Also add a new test in AwContentsTest. Bug: 1014948 Change-Id: I7dd06dd4b09b3024c3f72ecbe3f227fec496fa25 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1865172Reviewed-by:Richard Coles <torne@chromium.org> Commit-Queue: Laís Minchillo <laisminchillo@chromium.org> Auto-Submit: Laís Minchillo <laisminchillo@chromium.org> Cr-Commit-Position: refs/heads/master@{#707826}
Showing
Please register or sign in to comment