[PM] Fix origin computation of about:blank frame nodes
An about:blank frame inherits its origin from its parent [1, 2]. This adjust the node aggregation type computation return kSameOriginAggregationPoint in the case when - the current frame is about:blank and - its parent has the same origin as the requesting origin. This change provides better results for pages that create and pool many about:blank iframe for warming up. [1]: https://html.spec.whatwg.org/multipage/browsers.html#determining-the-origin [2]: https://developer.mozilla.org/en-US/docs/Web/Security/Same-origin_policy#inherited_origins Bug: 1085129 Change-Id: Iffe6b09a6b8ec1e2fd7b9a293e4b714a955d95fd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2627492 Commit-Queue: Ulan Degenbaev <ulan@chromium.org> Reviewed-by:Joe Mason <joenotcharles@chromium.org> Cr-Commit-Position: refs/heads/master@{#843649}
Showing
Please register or sign in to comment