Bug 188530

Summary: [MotionMark] Update Leaves test
Product: WebKit Reporter: Jon Lee <jonlee>
Component: AnimationsAssignee: Jon Lee <jonlee>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, commit-queue, dino, ews-watchlist, rniwa, sabouhallawa, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch none

Description Jon Lee 2018-08-13 14:20:44 PDT
Update Leaves test
Comment 1 Radar WebKit Bug Importer 2018-08-13 14:21:23 PDT
<rdar://problem/43251862>
Comment 2 Jon Lee 2018-08-13 14:26:56 PDT
Created attachment 347036 [details]
Patch
Comment 3 Jon Lee 2018-08-13 14:29:41 PDT
Created attachment 347037 [details]
Patch
Comment 4 Said Abou-Hallawa 2018-08-13 15:50:44 PDT
Comment on attachment 347037 [details]
Patch

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

> PerformanceTests/MotionMark/tests/master/resources/leaves.js:85
> +        this.element.style.opacity = this._opacity;

The use of this._opacity is be guarded by this.usesOpacity unless this._opacity is always initialized with the default value. But I do not see that.
Comment 5 Jon Lee 2018-08-13 15:56:55 PDT
Comment on attachment 347037 [details]
Patch

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

>> PerformanceTests/MotionMark/tests/master/resources/leaves.js:85
>> +        this.element.style.opacity = this._opacity;
> 
> The use of this._opacity is be guarded by this.usesOpacity unless this._opacity is always initialized with the default value. But I do not see that.

Good point. It turns out that all of the subclasses do override the method. I'll fix this in the next version.
Comment 6 WebKit Commit Bot 2018-08-13 16:02:14 PDT
Comment on attachment 347037 [details]
Patch

Clearing flags on attachment: 347037

Committed r234823: <https://trac.webkit.org/changeset/234823>
Comment 7 WebKit Commit Bot 2018-08-13 16:02:16 PDT
All reviewed patches have been landed.  Closing bug.