Cherrypick "Allow universal access from file if flag is set and url is file scheme."

Fixes a crash when WebView apps which have enabled
WebSettings.setAllowUniversalFileAccessFromFiles(true) try to call JS
history functions with URLs that are from a non-file:// origin, which is
used by some Cordova apps.

> BUG=449075
> TEST=content_unittests --gtest_filter=NavigationControllerTest.IsInPageNavigation
>
> Review URL: https://codereview.chromium.org/855883002
>
> Cr-Commit-Position: refs/heads/master@{#313051}

Bug: 19173646
2 files changed