RESOLVED FIXED 87316
ArgumentCoder for WebCore::Animation encodes a bool which is never decoded
https://bugs.webkit.org/show_bug.cgi?id=87316
Summary ArgumentCoder for WebCore::Animation encodes a bool which is never decoded
Ralph T
Reported 2012-05-23 15:58:17 PDT
The encode function for WebCore::Animation encodes a bool as the last entry (currently L1093 in WK2/Shared/ArgumentCoders.cpp): encoder->encodeBool(animation->isNoneAnimation()); This value is never read out in the decode function causing updates with many animations to go awry. I noticed this in my own WK port, but imagine it would break for Qt, too (though I haven't tested). The morphing power cubes demo reliably causes the issue to crop up for me.
Attachments
Decode the "isNoneAnimation" boolean value. (1.10 KB, patch)
2012-05-23 16:10 PDT, Ralph T
no flags
Ralph T
Comment 1 2012-05-23 16:10:21 PDT
Created attachment 143670 [details] Decode the "isNoneAnimation" boolean value. This fixes the issue for me. I have not tested that the issue also exists in Qt WK2, but I can't imagine why it wouldn't.
Noam Rosenthal
Comment 2 2012-05-23 16:55:33 PDT
We don't use the Animation decoder anymore in Qt... are you going to submit a patch for review?
Ralph T
Comment 3 2012-05-23 17:04:49 PDT
Ha, that would be why it went unnoticed then. I'd like to submit the attached patch for review -- how do I do that (long time reader, first time writer...)?
Noam Rosenthal
Comment 4 2012-05-23 18:01:50 PDT
(In reply to comment #3) > Ha, that would be why it went unnoticed then. I'd like to submit the attached patch for review -- how do I do that (long time reader, first time writer...)? See http://www.webkit.org/coding/contributing.html You should add a changelog, and then set the review flag to ?
Simon Fraser (smfr)
Comment 5 2012-05-24 14:00:47 PDT
Mac doesn't use the Animation encoder either. Does anyone?
Igor Trindade Oliveira
Comment 6 2012-05-24 14:02:55 PDT
Nobody uses Animation encoder anymore. (In reply to comment #5) > Mac doesn't use the Animation encoder either. Does anyone?
Simon Fraser (smfr)
Comment 7 2012-05-24 14:18:37 PDT
KILL EEET!
Ralph T
Comment 8 2012-05-24 14:23:59 PDT
So is everyone else running animations on a separate thread in WebProcess or using a platform-dependent mechanism for running the animation in UIProcess?
Noam Rosenthal
Comment 9 2012-05-24 14:32:05 PDT
(In reply to comment #7) > KILL EEET! We've just disabled it recently, I'd be happy remove the code when I get a chance, unless someone else wants to :)
Darin Adler
Comment 10 2021-04-23 07:59:09 PDT
I believe this was fixed a long time ago.
Note You need to log in before you can comment on or make changes to this bug.