New issue
Advanced search Search tips

Issue 893699 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug



Sign in to add a comment

Loading bad formatting SVG shows empty when inside cross-process frame

Project Member Reported by ekaramad@chromium.org, Oct 9

Issue description

Chrome Version: 71.0.3576.0
OS: Linux (possibly all)

What steps will reproduce the problem?
(0) Enable SiteIsolation (on by default).
(1) Load data:text/html, <object data="https://ehsan-karamad.github.io/res/bad.svg"></object>

What is the expected result?
An error message explains the parsing error in SVG.

What happens instead?
Shows up empty (DCHECK fires).
 
Adding some diagnostics: The following DCHECK fires everytime:
 bool result =
      local_frame.View()->GetIntrinsicSizingInfo(intrinsic_sizing_info);
  // By virtue of having been invoked, GetIntrinsicSizingInfo() should always
  // succeed here.
  DCHECK(result);

Which apparently is due to EmbeddedReplacedContent() returning nullptr.

Sign in to add a comment