Commit bb57ea51 authored by Charlie Reis's avatar Charlie Reis Committed by Commit Bot

Use a larger crash key for top-origin's GetDebugString.

This makes it possible to see precursor and nonce info for the
origin for diagnostics, following r631964.

Bug: 918565, 919144, 931895
Change-Id: I7b07e4e34177a0a532c254e313d65ad28e28cdd7
Reviewed-on: https://chromium-review.googlesource.com/c/1478096
Commit-Queue: Charlie Reis <creis@chromium.org>
Reviewed-by: default avatarŁukasz Anforowicz <lukasza@chromium.org>
Cr-Commit-Position: refs/heads/master@{#633797}
parent 1e5314e4
...@@ -429,7 +429,8 @@ void ChromeContentClient::SetActiveURL(const GURL& url, ...@@ -429,7 +429,8 @@ void ChromeContentClient::SetActiveURL(const GURL& url,
static crash_reporter::CrashKeyString<1024> active_url("url-chunk"); static crash_reporter::CrashKeyString<1024> active_url("url-chunk");
active_url.Set(url.possibly_invalid_spec()); active_url.Set(url.possibly_invalid_spec());
static crash_reporter::CrashKeyString<64> top_origin_key("top-origin"); // Use a large enough size for Origin::GetDebugString.
static crash_reporter::CrashKeyString<128> top_origin_key("top-origin");
top_origin_key.Set(top_origin); top_origin_key.Set(top_origin);
} }
......
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