Bug 207359 - Add slot based test for the accelerated animations freezing bug (201048)
Summary: Add slot based test for the accelerated animations freezing bug (201048)
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Animations (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-02-06 14:50 PST by Antti Koivisto
Modified: 2020-02-06 18:08 PST (History)
5 users (show)

See Also:


Attachments
patch (3.75 KB, patch)
2020-02-06 14:58 PST, Antti Koivisto
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Antti Koivisto 2020-02-06 14:50:52 PST
Fix had a simpler test case but it is good to add one for the original problem too.
Comment 1 Antti Koivisto 2020-02-06 14:58:27 PST
Created attachment 390004 [details]
patch
Comment 2 Ryosuke Niwa 2020-02-06 15:02:45 PST
Comment on attachment 390004 [details]
patch

View in context: https://bugs.webkit.org/attachment.cgi?id=390004&action=review

> LayoutTests/webanimations/accelerated-animation-slot-invalidation.html:52
> +    // Put a named slot and assign an element to it.

These comments seem unnecessary? I can see that from the code.

> LayoutTests/webanimations/accelerated-animation-slot-invalidation.html:60
> +    // Create another named slot and assign another element to it.

Ditto.

> LayoutTests/webanimations/accelerated-animation-slot-invalidation.html:64
> +    // Start animation in the seconds slot.

Ditto.

> LayoutTests/webanimations/accelerated-animation-slot-invalidation.html:79
> +    // Wait until animation has progressed some before snapshotting the test result.

Whereas this explanation is kind of useful.
Comment 3 Antti Koivisto 2020-02-06 15:10:03 PST
> These comments seem unnecessary? I can see that from the code.

They were in the original test, I suppose the author found them helpful.
Comment 4 Ryosuke Niwa 2020-02-06 15:17:55 PST
(In reply to Antti Koivisto from comment #3)
> > These comments seem unnecessary? I can see that from the code.
> 
> They were in the original test, I suppose the author found them helpful.

Was it imported from somewhere?? If so, we need to give a credit.
Comment 5 Ryosuke Niwa 2020-02-06 15:18:21 PST
Comment on attachment 390004 [details]
patch

View in context: https://bugs.webkit.org/attachment.cgi?id=390004&action=review

> LayoutTests/ChangeLog:10
> +        Based on the original test by Tim Guan-tin Chien.

Ah, I missed this line.
Comment 6 WebKit Commit Bot 2020-02-06 18:07:29 PST
Comment on attachment 390004 [details]
patch

Clearing flags on attachment: 390004

Committed r255996: <https://trac.webkit.org/changeset/255996>
Comment 7 WebKit Commit Bot 2020-02-06 18:07:31 PST
All reviewed patches have been landed.  Closing bug.
Comment 8 Radar WebKit Bug Importer 2020-02-06 18:08:13 PST
<rdar://problem/59246972>