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

Issue 2678493002: 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, 8 months ago
Reviewers:
Justin Novosad
CC:
chromium-reviews, blink-reviews, piman+watch_chromium.org
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/2678493002 Cr-Commit-Position: refs/heads/master@{#449390} Committed: https://chromium.googlesource.com/chromium/src/+/6d7338d05ae5eb0503c83dc08f66afb5647eb680

Patch Set 1 #

Total comments: 26

Patch Set 2 : Corrections #

Patch Set 3 : Addressing comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+874 lines, -1554 lines) Patch
M third_party/WebKit/LayoutTests/fast/canvas/canvas-ellipse-negative-radius.html View 1 2 1 chunk +16 lines, -23 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/canvas/canvas-ellipse-negative-radius-expected.txt View 1 chunk +0 lines, -15 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/canvas/canvas-ellipse-zero-lineto.html View 1 1 chunk +306 lines, -307 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/canvas/canvas-ellipse-zero-lineto-expected.txt View 1 chunk +0 lines, -82 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/canvas/canvas-empty-image-pattern.html View 1 chunk +9 lines, -13 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/canvas/canvas-empty-image-pattern-expected.txt View 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/canvas/canvas-fillPath-alpha-shadow.html View 1 2 1 chunk +83 lines, -7 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/canvas/canvas-fillPath-alpha-shadow-expected.txt View 2 1 chunk +0 lines, -97 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/canvas/canvas-fillPath-gradient-shadow.html View 1 2 1 chunk +87 lines, -7 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/canvas/canvas-fillPath-gradient-shadow-expected.txt View 2 1 chunk +0 lines, -97 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/canvas/canvas-fillPath-pattern-shadow.html View 1 2 1 chunk +93 lines, -7 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/canvas/canvas-fillPath-pattern-shadow-expected.txt View 2 1 chunk +0 lines, -97 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/canvas/canvas-fillPath-shadow.html View 1 2 1 chunk +61 lines, -7 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/canvas/canvas-fillPath-shadow-expected.txt View 1 chunk +0 lines, -37 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/canvas/canvas-fillRect.html View 1 1 chunk +45 lines, -7 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/canvas/canvas-fillRect-expected.txt View 1 chunk +0 lines, -21 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/canvas/canvas-fillRect-gradient-shadow.html View 1 2 1 chunk +89 lines, -7 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/canvas/canvas-fillRect-gradient-shadow-expected.txt View 1 chunk +0 lines, -89 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/canvas/canvas-fillRect-shadow.html View 1 2 1 chunk +85 lines, -7 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/canvas/canvas-fillRect-shadow-expected.txt View 1 chunk +0 lines, -73 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-fillPath-shadow.js View 1 chunk +0 lines, -112 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-fillRect.js View 1 chunk +0 lines, -41 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-fillRect-gradient-shadow.js View 1 chunk +0 lines, -197 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-fillRect-shadow.js View 1 chunk +0 lines, -165 lines 0 comments Download
D third_party/WebKit/LayoutTests/virtual/gpu/fast/canvas/canvas-fillPath-shadow-expected.txt View 1 chunk +0 lines, -37 lines 0 comments Download

Messages

Total messages: 11 (5 generated)
zakerinasab
CL uploaded. PTAL.
3 years, 10 months ago (2017-02-03 17:38:27 UTC) #3
Justin Novosad
https://codereview.chromium.org/2678493002/diff/1/third_party/WebKit/LayoutTests/fast/canvas/canvas-ellipse-zero-lineto.html File third_party/WebKit/LayoutTests/fast/canvas/canvas-ellipse-zero-lineto.html (right): https://codereview.chromium.org/2678493002/diff/1/third_party/WebKit/LayoutTests/fast/canvas/canvas-ellipse-zero-lineto.html#newcode8 third_party/WebKit/LayoutTests/fast/canvas/canvas-ellipse-zero-lineto.html:8: var canvas = document.getElementById('mycanvas'); indent https://codereview.chromium.org/2678493002/diff/1/third_party/WebKit/LayoutTests/fast/canvas/canvas-fillPath-alpha-shadow.html File third_party/WebKit/LayoutTests/fast/canvas/canvas-fillPath-alpha-shadow.html (right): ...
3 years, 10 months ago (2017-02-06 20:04:24 UTC) #4
zakerinasab
Comments addressed. The repeated tests are replaced with generate_tests as much as possible. PTAL. https://codereview.chromium.org/2678493002/diff/1/third_party/WebKit/LayoutTests/fast/canvas/canvas-ellipse-zero-lineto.html ...
3 years, 10 months ago (2017-02-09 18:02:01 UTC) #5
Justin Novosad
lgtm
3 years, 10 months ago (2017-02-09 19:45:40 UTC) #6
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/2678493002/40001
3 years, 10 months ago (2017-02-09 19:47:55 UTC) #8
commit-bot: I haz the power
3 years, 10 months ago (2017-02-09 20:22:58 UTC) #11
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/6d7338d05ae5eb0503c83dc08f66...

Powered by Google App Engine
This is Rietveld 408576698