Skip to content

Chrome 2d canvas test fail due to canvas noise being enabled #53340

Open
@sagudev

Description

@sagudev

Fails in chrome if canvas noise is enabled.

0:33.89 TEST_START: /html/canvas/element/fill-and-stroke-styles/2d.pattern.paint.norepeat.outside_arc.html
 0:34.30 pid:2218 [2235:2235:0622/195556.794919:INFO:CONSOLE:31] "Noise was added to a canvas readback. If this has caused breakage, please file a bug at https://issues.chromium.org/issues/new?component=1456351&title=Canvas%20noise%20breakage. This feature can be disabled through chrome://flags/#enable-canvas-noise", source: http://web-platform.test:8000/html/canvas/resources/canvas-tests.js (31)
 0:34.36 TEST_END: Test OK. Subtests passed 0/1. Unexpected 1
FAIL Canvas test: 2d.pattern.paint.norepeat.outside_arc - assert_equals: Blue channel of the pixel at (1, 1) expected 0 but got 3
    at _assertPixel (http://web-platform.test:8000/html/canvas/resources/canvas-tests.js:40:5)
    at http://web-platform.test:8000/html/canvas/element/fill-and-stroke-styles/2d.pattern.paint.norepeat.outside_arc.html:40:3
    at Test.step (http://web-platform.test:8000/resources/testharness.js:2684:25)
    at Test.<anonymous> (http://web-platform.test:8000/html/canvas/resources/canvas-tests.js:84:15)
    at Test.step (http://web-platform.test:8000/resources/testharness.js:2684:25)

Originally posted by @sagudev in #53315 (comment)

See also matrix chat: https://matrix.to/#/!wKNaTuhRJSXtjUVpfk:matrix.org/$4VnE0v_r_xe04tLFZ19iVC0B-MuKZj4FbIS6QwFa65E?via=matrix.org&via=mozilla.org&via=igalia.com

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions