Bug 113461
Summary: | PageVisits incorrect in FeatureObserver | ||
---|---|---|---|
Product: | WebKit | Reporter: | Kassy Coan <kassycoan> |
Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> |
Status: | UNCONFIRMED | ||
Severity: | Normal | CC: | abarth, mikelawther |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Kassy Coan
FeatureObserver is calling updateMeasurements() on both navigation and page destruction.
Because of this, we are incrementing PageVisits twice on page destruction, making the PageVisits count incorrect.
Side, related note: All of the features in the enum are being tracked correctly because the bit vector is cleared, so on the second call to updateMeasurements(), the count for those features is not updated.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |