[Webkit-unassigned] [Bug 227053] New: [GLIB] REGRESSION(r277896): fast/canvas/canvas-imageSmoothingEnabled.html and fast/canvas/canvas-imageSmoothingQuality.html are failing

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 15 16:24:57 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=227053

            Bug ID: 227053
           Summary: [GLIB] REGRESSION(r277896):
                    fast/canvas/canvas-imageSmoothingEnabled.html and
                    fast/canvas/canvas-imageSmoothingQuality.html are
                    failing
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: dpino at igalia.com

r277896 change imageSmoothingQuality default value to 'Low' for all platforms, since that's how defined in the specification.

That change made 2 tests start failing:

  fast/canvas/canvas-imageSmoothingEnabled.html [ Failure ]
  fast/canvas/canvas-imageSmoothingQuality.html [ Failure ]

--- /home/buildbot/worker/gtk-linux-64-release-tests/build/layout-test-results/fast/canvas/canvas-imageSmoothingEnabled-expected.txt
+++ /home/buildbot/worker/gtk-linux-64-release-tests/build/layout-test-results/fast/canvas/canvas-imageSmoothingEnabled-actual.txt
@@ -19,9 +19,9 @@
 PASS left_of_center_pixel.data[1] is 0
 PASS left_of_center_pixel.data[2] is 0
 Test that the image is smoothed when imageSmoothingEnabled is set to true.
-PASS left_of_center_pixel.data[0] !== 0 is true
-PASS left_of_center_pixel.data[1] !== 0 is true
-PASS left_of_center_pixel.data[2] !== 0 is true
+FAIL left_of_center_pixel.data[0] !== 0 should be true. Was false.
+FAIL left_of_center_pixel.data[1] !== 0 should be true. Was false.
+FAIL left_of_center_pixel.data[2] !== 0 should be true. Was false.
 Test that restoring actually changes smoothing and not just the attribute value. We are restoring to a point where imageSmoothingEnabled is set to false.
 PASS left_of_center_pixel.data[0] is 0
 PASS left_of_center_pixel.data[1] is 0

--- /home/buildbot/worker/gtk-linux-64-release-tests/build/layout-test-results/fast/canvas/canvas-imageSmoothingQuality-expected.txt
+++ /home/buildbot/worker/gtk-linux-64-release-tests/build/layout-test-results/fast/canvas/canvas-imageSmoothingQuality-actual.txt
@@ -8,14 +8,14 @@
 PASS mediumContext.imageSmoothingQuality is 'medium'
 PASS highContext.imageSmoothingQuality is 'high'

-PASS lowData is not mediumData
+FAIL lowData should not be {"0":0,"1":0,"2":0,"3":128}.
 PASS mediumData is not highData
 PASS lowData is not highData

 PASS sampleAlpha(lowData) is >= sampleAlpha(mediumData)
 PASS sampleAlpha(mediumData) is >= sampleAlpha(highData)

-FAIL defaultContext.imageSmoothingQuality should be low. Was medium.
+PASS defaultContext.imageSmoothingQuality is 'low'

 PASS highContext.imageSmoothingEnabled = false; highContext.imageSmoothingQuality is 'high'
 PASS highContext.imageSmoothingQuality = 'medium'; highContext.imageSmoothingQuality is 'medium'

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210615/4bd69601/attachment.htm>


More information about the webkit-unassigned mailing list