[Webkit-unassigned] [Bug 47817] FrameLoader::IsProcessingUserGesture is true for JavaScript initiated downloads after click navigation to webpage

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 18 11:43:49 PDT 2010


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





--- Comment #4 from Johnny Ding <jnd at chromium.org>  2010-10-18 11:43:48 PST ---
(In reply to comment #3)
> RenderView::didStartProvisionalLoad doesn't exist in svn.webkit.org.  Is there an issue that's possible to observe using code from svn.webkit.org?

Hi Adam,  Pierre-Antoine was right, the WebFrameImpl::isProcessingUserGesture() did return true (met PossiblyProcessingUserGesture and !activeFrame conditions) when the page was redirected (triggered by setTimeout) to file.exe.

It was because we didn't explicit set the GestureIndicator to DefinitelyProcessingUserGesture/DefinitelyNotProcessingUserGesture acording to the m_wasUserGesture in ScheduledURLNavigation::fire. (We only passed the m_wasUserGesture to FrameLoader::changeLocation).

I will file a patch to fix this bug.

-- 
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