WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
170468
Change Document's lastHandledUserGestureTimestamp to be a MonotonicTime
https://bugs.webkit.org/show_bug.cgi?id=170468
Summary
Change Document's lastHandledUserGestureTimestamp to be a MonotonicTime
Simon Fraser (smfr)
Reported
2017-04-04 13:48:50 PDT
Change Document's lastHandledUserGestureTimestamp to be a MonotonicTime
Attachments
Patch
(5.27 KB, patch)
2017-04-04 13:49 PDT
,
Simon Fraser (smfr)
zalan
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Simon Fraser (smfr)
Comment 1
2017-04-04 13:49:31 PDT
Created
attachment 306196
[details]
Patch
Simon Fraser (smfr)
Comment 2
2017-04-04 14:32:58 PDT
https://trac.webkit.org/r214900
Chris Dumez
Comment 3
2017-04-04 14:32:59 PDT
Comment on
attachment 306196
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=306196&action=review
> Source/WebCore/loader/FrameLoader.cpp:3039 > + bool userDidInteractWithPage = static_cast<bool>(document.topDocument().lastHandledUserGestureTimestamp());
I personally like: !!document.topDocument().lastHandledUserGestureTimestamp() for this sort of things as it is shorter than a cast.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug