chrome.history.getVisits() returns excessive visits for some URLs
Reported by
randy.la...@gmail.com,
Jun 11 2016
|
||
Issue descriptionUserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.84 Safari/537.36 Steps to reproduce the problem: 1. Install the attached sample extension, which uses chrome.history.getVisits() to show all visits in the past 5 minutes. 2. Go to docs.google.com and then create or open a document 3. Click the extension's icon to see the list of recent visits. What is the expected behavior? According to chrome://history, there should be 4 visits: * https://docs.google.com * https://docs.google.com/?continue=/%23 * https://docs.google.com/document/u/0/?showDriveBanner=true# * a long URL for the opened document What went wrong? The extension shows over 40 visits. Almost all of them are for the long URL for the opened document, each of them a few milliseconds apart. WebStore page: Did this work before? No Chrome version: 51.0.2704.84 Channel: stable OS Version: Flash Version: Shockwave Flash 21.0 r0 This excessive visit behavior does not happen for all URLs. It seems to happen on pages that rely heavily on javascript to load content.
,
Jul 9 2016
One other thing I'd like to add: for the long URL that has 40+ visits, all visits have a transition type of "link". It would make more sense if the first visit had a "link" transition type and the remaining had a type indicating they were generated by the browser, not the user (maybe auto_subframe?).
,
Jul 20 2016
|
||
►
Sign in to add a comment |
||
Comment 1 by lazyboy@chromium.org
, Jun 17 2016Owner: sdefresne@chromium.org
Status: Assigned (was: Unconfirmed)