[Webkit-unassigned] [Bug 109884] Add CSS Property tracking to FeatureObserver. Creates new histogram for CSS Property usage data.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 26 15:29:55 PST 2013


https://bugs.webkit.org/show_bug.cgi?id=109884





--- Comment #9 from Kassy Coan <kassycoan at gmail.com>  2013-02-26 15:32:18 PST ---
> This looks like it has the same problem as the existing code in that it counts the user agent style sheet values, making it hard to tell the actual usage of properties in the user agent style sheet.
> 

I was under the impression that this method is not counting the user agent style sheet. Here is why:

I put a print in the updateMeasurements() method, and another in the if (m_CSSFeatureBits) portion of updateMeasurements().

Now, when visiting different pages, I can see when we attempt to update, and when there are CSS Properties to update.

I created 2 html files with basic text in the body, and each html includes a blank css file.

When navigating between these two html files, I can see in the prints that we trigger updateMeasurements() but we never enter the if (m_CSSFeatureBits), because no bits are set.

My thought process was, if we were counting the user agent style sheet, then there would be m_CSSFeatureBits set, even though the page I visited had no css.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list