Add a check for mismatching URL and origin in the renderer process.
The renderer process kills with reason RFH_INVALID_ORIGIN_ON_COMMIT are checking parameters passed from the renderer process. However, we are lacking a bunch of information since it is in the browser process and it is hard to reason about what the state was in the renderer. We can also try to implement similar checking in the renderer process, so we can catch these mismatches closer to where we have more data. This CL implements some of the checks performed browser side, but it is a set that should catch the majority of the cases we have seen in crash reports. BUG=628677 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Review-Url: https://codereview.chromium.org/2151323003 Cr-Commit-Position: refs/heads/master@{#406145}
Showing
Please register or sign in to comment