[aw] Test loadUrl with ImmutableMap
Change testCanInjectHeaders to pass an ImmutableMap to loadUrl instead of a mutable map. Some older WebView versions would crash if an immutable map was passed. This test now prevents this to regress in the future. R=ntfschr Test: run_webview_instrumentation_test_apk -f *testCanInjectHeaders* Change-Id: Ie74893361088dec46f0470ba934b1d185dc0f9fb Fixed: 1032049 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2449473 Auto-Submit: Laís Minchillo <laisminchillo@chromium.org> Commit-Queue: Richard Coles <torne@chromium.org> Reviewed-by:Richard Coles <torne@chromium.org> Reviewed-by:
Nate Fischer <ntfschr@chromium.org> Cr-Commit-Position: refs/heads/master@{#815128}
Showing
Please register or sign in to comment