Investigate/Fix Viewport UMA counters with SVG |
|||||
Issue descriptionIt turns out SVG images get their own Page (and thus VisualViewport) and report that they're in the main Frame for the page. This means we're reporting UMA counters for embedded SVG images as if they were the whole page. This is likely skewing our Viewport statistics since an embedded SVG image won't have viewport meta tags, user zoom, etc. We should figure out how our assumptions are violated by SVGs and fix the issue so that we don't count embedded SVGs as a full page. (Though it's debatable if an SVG document loaded directly should count).
,
Sep 2 2016
We do indeed load svg images with a blank url. Just to double-check, the HTTP/HTTPS restriction is only for the VisualViewport-specific counters using the protocolIsInHTTPFamily check in VisualViewport.cpp?
,
Sep 2 2016
Oops, -chrishtr
,
Sep 2 2016
The stat that we care more about and that I was looking into is the "MetaTagType" which is in ViewportDescription::reportMobilePageStats, but yes, we have that check there as well. And yes, I believe that check is specific to the viewport/pinch counters.
,
Sep 2 2016
Cool, I think we can close this as WONTFIX. @rbyers, do you have a bug for the larger fix for the SVG UseCounter data?
,
Sep 17 2016
,
Nov 26 2016
,
Nov 28 2016
|
|||||
►
Sign in to add a comment |
|||||
Comment 1 by bokan@chromium.org
, Sep 1 2016