[PM] Add opaque origin check in FindAggregationStartNode
Do not trigger WebMeasureMemoryStressTester from opaque origins. WebMeasureMemory hits a DCHECK in FindAggregationStartNode when triggered from a page with an opaque origin (such as chrome://discards/graph): [24736:30760:0113/113856.302:FATAL:web_memory_aggregator.cc(416)] Check failed: requesting_origin.IsSameOriginWith(GetOrigin( start_node)). The cause is that each time an Origin is constructed from the same URL, a new opaque origin is returned. R=ulan Bug: 1085129 Change-Id: Ibbf23b9c9f085ab3f447551d54b0809000e1e863 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2627622 Commit-Queue: Joe Mason <joenotcharles@chromium.org> Reviewed-by:Ulan Degenbaev <ulan@chromium.org> Cr-Commit-Position: refs/heads/master@{#843140}
Showing
Please register or sign in to comment