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

Issue 2679083003: 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 at most 10 tests. BUG=639732 Review-Url: https://codereview.chromium.org/2679083003 Cr-Commit-Position: refs/heads/master@{#451310} Committed: https://chromium.googlesource.com/chromium/src/+/1d0e24ae0f6c6b5e8c37dc705ac8896073c106b8

Patch Set 1 #

Patch Set 2 : Removing remained expected.txt files #

Total comments: 6

Patch Set 3 : Addressing comments #

Patch Set 4 : Adding virtual/gpu/fast/canvas/canvas-imageSmoothingQuality.html to TestExpectations #

Unified diffs Side-by-side diffs Delta from patch set Stats (+521 lines, -1148 lines) Patch
M third_party/WebKit/LayoutTests/TestExpectations View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/canvas/canvas-ImageData-behaviour.html View 1 chunk +34 lines, -10 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/canvas/canvas-ImageData-behaviour.js View 1 chunk +0 lines, -25 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/canvas/canvas-ImageData-behaviour-expected.txt View 1 chunk +0 lines, -51 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/canvas/canvas-ImageData-constructor.html View 1 chunk +77 lines, -7 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/canvas/canvas-ImageData-constructor-expected.txt View 1 chunk +0 lines, -45 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/canvas/canvas-imageSmoothingEnabled.html View 1 chunk +71 lines, -8 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/canvas/canvas-imageSmoothingEnabled-expected.txt View 1 chunk +0 lines, -32 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/canvas/canvas-imageSmoothingEnabled-repaint.html View 1 chunk +52 lines, -9 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/canvas/canvas-imageSmoothingEnabled-repaint-expected.txt View 1 chunk +0 lines, -16 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/canvas/canvas-imageSmoothingEnabled-zero-size.html View 1 chunk +12 lines, -18 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/canvas/canvas-imageSmoothingEnabled-zero-size-expected.txt View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/fast/canvas/canvas-imageSmoothingQuality.html View 3 chunks +88 lines, -100 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/canvas/canvas-imageSmoothingQuality-expected.txt View 1 chunk +0 lines, -68 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/canvas/canvas-imageSmoothingQuality-pixel.html View 3 chunks +60 lines, -62 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/canvas/canvas-imageSmoothingQuality-pixel-expected.txt View 1 chunk +0 lines, -12 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/canvas/canvas-invalid-fillstyle.html View 1 2 1 chunk +15 lines, -7 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/canvas/canvas-invalid-fillstyle.js View 1 chunk +0 lines, -10 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/canvas/canvas-invalid-fillstyle-expected.txt View 1 chunk +0 lines, -12 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/canvas/canvas-invalid-strokestyle.html View 1 2 1 chunk +18 lines, -7 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/canvas/canvas-invalid-strokestyle.js View 1 chunk +0 lines, -13 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/canvas/canvas-invalid-strokestyle-expected.txt View 1 chunk +0 lines, -12 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/canvas/canvas-invalid-values.html View 1 2 1 chunk +92 lines, -7 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/canvas/canvas-invalid-values-expected.txt View 1 chunk +0 lines, -54 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-imageSmoothingEnabled.js View 1 chunk +0 lines, -78 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-imageSmoothingEnabled-repaint.js View 1 chunk +0 lines, -57 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-invalid-values.js View 1 chunk +0 lines, -83 lines 0 comments Download
D third_party/WebKit/LayoutTests/platform/android/fast/canvas/canvas-imageSmoothingQuality-expected.txt View 1 1 chunk +0 lines, -68 lines 0 comments Download
D third_party/WebKit/LayoutTests/platform/android/virtual/gpu/fast/canvas/canvas-imageSmoothingQuality-expected.txt View 1 1 chunk +0 lines, -68 lines 0 comments Download
D third_party/WebKit/LayoutTests/platform/linux/virtual/display_list_2d_canvas/fast/canvas/canvas-imageSmoothingQuality-pixel-expected.txt View 1 1 chunk +0 lines, -12 lines 0 comments Download
D third_party/WebKit/LayoutTests/platform/linux/virtual/gpu/fast/canvas/canvas-imageSmoothingQuality-pixel-expected.txt View 1 1 chunk +0 lines, -12 lines 0 comments Download
D third_party/WebKit/LayoutTests/platform/mac-mac10.9/virtual/display_list_2d_canvas/fast/canvas/canvas-imageSmoothingQuality-pixel-expected.txt View 1 1 chunk +0 lines, -12 lines 0 comments Download
D third_party/WebKit/LayoutTests/platform/mac-mac10.9/virtual/gpu/fast/canvas/canvas-imageSmoothingQuality-pixel-expected.txt View 1 1 chunk +0 lines, -12 lines 0 comments Download
D third_party/WebKit/LayoutTests/platform/win7/virtual/display_list_2d_canvas/fast/canvas/canvas-imageSmoothingQuality-pixel-expected.txt View 1 1 chunk +0 lines, -12 lines 0 comments Download
D third_party/WebKit/LayoutTests/platform/win7/virtual/gpu/fast/canvas/canvas-imageSmoothingQuality-pixel-expected.txt View 1 1 chunk +0 lines, -12 lines 0 comments Download
D third_party/WebKit/LayoutTests/virtual/display_list_2d_canvas/fast/canvas/canvas-imageSmoothingQuality-expected.txt View 1 1 chunk +0 lines, -68 lines 0 comments Download
D third_party/WebKit/LayoutTests/virtual/gpu/fast/canvas/canvas-imageSmoothingQuality-expected.txt View 1 1 chunk +0 lines, -68 lines 0 comments Download

Messages

Total messages: 19 (8 generated)
Justin Novosad
https://codereview.chromium.org/2679083003/diff/20001/third_party/WebKit/LayoutTests/fast/canvas/canvas-invalid-fillstyle.html File third_party/WebKit/LayoutTests/fast/canvas/canvas-invalid-fillstyle.html (right): https://codereview.chromium.org/2679083003/diff/20001/third_party/WebKit/LayoutTests/fast/canvas/canvas-invalid-fillstyle.html#newcode16 third_party/WebKit/LayoutTests/fast/canvas/canvas-invalid-fillstyle.html:16: }, 'Series of tests to ensure correct behaviour on ...
3 years, 10 months ago (2017-02-16 15:34:30 UTC) #3
zakerinasab
Comments addressed. https://codereview.chromium.org/2679083003/diff/20001/third_party/WebKit/LayoutTests/fast/canvas/canvas-invalid-fillstyle.html File third_party/WebKit/LayoutTests/fast/canvas/canvas-invalid-fillstyle.html (right): https://codereview.chromium.org/2679083003/diff/20001/third_party/WebKit/LayoutTests/fast/canvas/canvas-invalid-fillstyle.html#newcode16 third_party/WebKit/LayoutTests/fast/canvas/canvas-invalid-fillstyle.html:16: }, 'Series of tests to ensure correct ...
3 years, 10 months ago (2017-02-16 17:48:12 UTC) #4
Justin Novosad
lgtm
3 years, 10 months ago (2017-02-16 17:57:42 UTC) #5
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/2679083003/40001
3 years, 10 months ago (2017-02-16 17:59:18 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/384232)
3 years, 10 months ago (2017-02-16 19:11:02 UTC) #9
zakerinasab
On 2017/02/16 19:11:02, commit-bot: I haz the power wrote: > Try jobs failed on following ...
3 years, 10 months ago (2017-02-16 20:16:48 UTC) #10
Justin Novosad
Mark the gpu variant as failing in TestExpectations
3 years, 10 months ago (2017-02-16 20:48:21 UTC) #11
Justin Novosad
On 2017/02/16 20:48:21, Justin Novosad wrote: > Mark the gpu variant as failing in TestExpectations ...
3 years, 10 months ago (2017-02-16 20:48:54 UTC) #12
zakerinasab
On 2017/02/16 20:48:54, Justin Novosad wrote: > On 2017/02/16 20:48:21, Justin Novosad wrote: > > ...
3 years, 10 months ago (2017-02-17 14:46:24 UTC) #13
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/2679083003/60001
3 years, 10 months ago (2017-02-17 14:46:44 UTC) #16
commit-bot: I haz the power
3 years, 10 months ago (2017-02-17 15:51:12 UTC) #19
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/1d0e24ae0f6c6b5e8c37dc705ac8...

Powered by Google App Engine
This is Rietveld 408576698