IndexedDB: Check for valid origin before binding

Now that origin is provided at bind-time, we can test that the
origin is valid in the browser at that time and only bind when
it's valid.

Bug: 717812, 918493
Change-Id: I1a8e481684aa87c162580b80d4f50ce3f1f799b0
Reviewed-on: https://chromium-review.googlesource.com/c/1399822
Commit-Queue: Chase Phillips <cmp@chromium.org>
Reviewed-by: Joshua Bell <jsbell@chromium.org>
Cr-Commit-Position: refs/heads/master@{#620856}
1 file changed