RESOLVED FIXED 160289
Frequent animation lags when interacting with Safari (sidebar, tab switching, etc.)
https://bugs.webkit.org/show_bug.cgi?id=160289
Summary Frequent animation lags when interacting with Safari (sidebar, tab switching,...
Tim Horton
Reported 2016-07-28 03:11:06 PDT
Frequent animation lags when interacting with Safari (sidebar, tab switching, etc.)
Attachments
Patch (28.52 KB, patch)
2016-07-28 03:12 PDT, Tim Horton
no flags
Patch (29.85 KB, patch)
2016-07-28 11:28 PDT, Tim Horton
simon.fraser: review+
Tim Horton
Comment 1 2016-07-28 03:12:39 PDT
Tim Horton
Comment 2 2016-07-28 03:13:13 PDT
Will write changelog and post for review tomorrow, just wanted to get EWS going.
Tim Horton
Comment 3 2016-07-28 11:28:16 PDT
Tim Horton
Comment 4 2016-07-28 11:29:16 PDT
Simon Fraser (smfr)
Comment 5 2016-07-28 13:21:35 PDT
Comment on attachment 284795 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=284795&action=review > Source/WebKit2/Platform/IPC/Connection.cpp:391 > +std::chrono::milliseconds Connection::timeoutRespectingIgnoreTimeoutsForTesting(std::chrono::milliseconds timeout) const > +{ > + return m_ignoreTimeoutsForTesting ? std::chrono::milliseconds::max() : timeout; > +} I thought we are moving away from std::chrono.
Tim Horton
Comment 6 2016-07-28 13:27:57 PDT
(In reply to comment #5) > Comment on attachment 284795 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=284795&action=review > > > Source/WebKit2/Platform/IPC/Connection.cpp:391 > > +std::chrono::milliseconds Connection::timeoutRespectingIgnoreTimeoutsForTesting(std::chrono::milliseconds timeout) const > > +{ > > + return m_ignoreTimeoutsForTesting ? std::chrono::milliseconds::max() : timeout; > > +} > > I thought we are moving away from std::chrono. Sure, but this code is full of it still.
Benjamin Poulain
Comment 7 2016-07-28 14:09:38 PDT
Comment on attachment 284795 [details] Patch +1. My code was assuming message ordering, which is wrong.
Tim Horton
Comment 8 2016-07-28 14:21:04 PDT
Note You need to log in before you can comment on or make changes to this bug.