Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(59)

Issue 2673013003: Use testharness.js instead of js-test.js in LayoutTests/fast/canvas tests. (Closed)

Created:
3 years, 10 months ago by zakerinasab
Modified:
3 years, 10 months ago
Reviewers:
Justin Novosad
CC:
chromium-reviews, blink-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use testharness.js instead of js-test.js in LayoutTests/fast/canvas tests. This change replaces js-test.js assertions with testharness.js assertions. The expectation files are removed as they are not needed anymore. To simplify review and landing, each change corrects 10 tests. BUG=639732 Review-Url: https://codereview.chromium.org/2673013003 Cr-Commit-Position: refs/heads/master@{#449060} Committed: https://chromium.googlesource.com/chromium/src/+/a792fd2c0899a5798a68993d176cc660af7e33ad

Patch Set 1 #

Patch Set 2 : Corrections #

Patch Set 3 : Reverting canvas-blending-text.html #

Total comments: 22

Patch Set 4 : Addressing comments #

Patch Set 5 : Addressing comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+448 lines, -2909 lines) Patch
M third_party/WebKit/LayoutTests/fast/canvas/canvas-blend-solid.html View 1 2 3 4 1 chunk +183 lines, -6 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/canvas/canvas-blend-solid-expected.txt View 1 chunk +0 lines, -1129 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/canvas/canvas-blending-helpers.js View 1 2 3 4 1 chunk +6 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/canvas/canvas-blending-image-over-color.html View 1 2 3 4 1 chunk +29 lines, -58 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/canvas/canvas-blending-image-over-color-expected.txt View 1 chunk +0 lines, -105 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/canvas/canvas-blending-image-over-gradient.html View 1 2 3 4 1 chunk +29 lines, -58 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/canvas/canvas-blending-image-over-gradient-expected.txt View 1 chunk +0 lines, -105 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/canvas/canvas-blending-image-over-pattern.html View 1 2 3 4 1 chunk +25 lines, -56 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/canvas/canvas-blending-image-over-pattern-expected.txt View 1 chunk +0 lines, -105 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/canvas/canvas-blending-pattern-over-color.html View 1 2 3 4 1 chunk +29 lines, -59 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/canvas/canvas-blending-pattern-over-color-expected.txt View 1 chunk +0 lines, -105 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/canvas/canvas-blending-pattern-over-gradient.html View 1 2 3 4 1 chunk +29 lines, -59 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/canvas/canvas-blending-pattern-over-gradient-expected.txt View 1 chunk +0 lines, -105 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/canvas/canvas-blending-pattern-over-image.html View 1 2 3 4 1 chunk +29 lines, -59 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/canvas/canvas-blending-pattern-over-image-expected.txt View 1 chunk +0 lines, -105 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/canvas/canvas-blending-pattern-over-pattern.html View 1 2 3 4 1 chunk +25 lines, -56 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/canvas/canvas-blending-pattern-over-pattern-expected.txt View 1 chunk +0 lines, -105 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/canvas/canvas-blending-shadow.html View 1 2 3 4 1 chunk +32 lines, -52 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/canvas/canvas-blending-shadow-expected.txt View 1 chunk +0 lines, -169 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/canvas/canvas-blending-transforms.html View 1 2 3 1 chunk +32 lines, -55 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/canvas/canvas-blending-transforms-expected.txt View 1 chunk +0 lines, -169 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-blend-solid.js View 1 chunk +0 lines, -187 lines 0 comments Download

Messages

Total messages: 15 (6 generated)
zakerinasab
CL uploaded. PTAL.
3 years, 10 months ago (2017-02-03 17:14:02 UTC) #3
zakerinasab
On 2017/02/03 17:14:02, zakerinasab wrote: > CL uploaded. PTAL. PTAL @ canvas-blending-text.html. After removing the ...
3 years, 10 months ago (2017-02-06 18:47:57 UTC) #4
Justin Novosad
The pattern tests are not written correctly. Because you did not use async_test, they will ...
3 years, 10 months ago (2017-02-07 19:03:39 UTC) #5
zakerinasab
Comments addressed. https://codereview.chromium.org/2673013003/diff/40001/third_party/WebKit/LayoutTests/fast/canvas/canvas-blend-solid.html File third_party/WebKit/LayoutTests/fast/canvas/canvas-blend-solid.html (right): https://codereview.chromium.org/2673013003/diff/40001/third_party/WebKit/LayoutTests/fast/canvas/canvas-blend-solid.html#newcode154 third_party/WebKit/LayoutTests/fast/canvas/canvas-blend-solid.html:154: for (var i = 0; i < ...
3 years, 10 months ago (2017-02-07 21:41:28 UTC) #6
Justin Novosad
In the async tests, the calls to checkBlendModeResult need to be inside a t.step() call, ...
3 years, 10 months ago (2017-02-07 22:00:05 UTC) #7
zakerinasab
On 2017/02/07 22:00:05, Justin Novosad wrote: > In the async tests, the calls to checkBlendModeResult ...
3 years, 10 months ago (2017-02-08 17:22:41 UTC) #9
Justin Novosad
lgtm
3 years, 10 months ago (2017-02-08 18:50:37 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2673013003/100001
3 years, 10 months ago (2017-02-08 19:05:56 UTC) #12
commit-bot: I haz the power
3 years, 10 months ago (2017-02-08 19:21:01 UTC) #15
Message was sent while issue was closed.
Committed patchset #5 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/a792fd2c0899a5798a68993d176c...

Powered by Google App Engine
This is Rietveld 408576698