Commit 383ca80a authored by creis@chromium.org's avatar creis@chromium.org

Temporarily CHECK that the swappedout:// URL isn't sent to the browser process.

(This should be reverted after a day on the canary.)

BUG=143155
TEST=none


Review URL: https://chromiumcodereview.appspot.com/11299320

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171073 0039d316-1c4b-4281-b951-d872f2087c98
parent 1e81a348
......@@ -1711,9 +1711,9 @@ void RenderViewHostImpl::FilterURL(ChildProcessSecurityPolicyImpl* policy,
return;
// The browser process should never hear the swappedout:// URL from any
// of the renderer's messages. Check for this in debug builds, but don't
// let it crash a release browser.
DCHECK(GURL(kSwappedOutURL) != *url);
// of the renderer's messages. Temporarily CHECK on a canary build to see if
// it's still happening in the wild.
CHECK(GURL(kSwappedOutURL) != *url);
if (!url->is_valid()) {
// Have to use about:blank for the denied case, instead of an empty GURL.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment