[Webkit-unassigned] [Bug 222020] New: REGRESSION(r272776) [GLIB] imported/w3c/web-platform-tests/html/canvas/element/fill-and-stroke-styles/2d.pattern.image.broken.html is failing for a different reason
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Feb 16 19:49:12 PST 2021
https://bugs.webkit.org/show_bug.cgi?id=222020
Bug ID: 222020
Summary: REGRESSION(r272776) [GLIB]
imported/w3c/web-platform-tests/html/canvas/element/fi
ll-and-stroke-styles/2d.pattern.image.broken.html is
failing for a different reason
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Canvas
Assignee: webkit-unassigned at lists.webkit.org
Reporter: lmoura at igalia.com
CC: dino at apple.com
imported/w3c/web-platform-tests/html/canvas/element/fill-and-stroke-styles/2d.pattern.image.broken.html
This test checks if ctx.createPattern(brokenImage, ...) returns null with a broken image[1]. While the current baseline expects FAIL, r272776 changed the reason it's failing in GTK/WPE.
Diff:
-FAIL Canvas test: 2d.pattern.image.broken assert_equals: ctx.createPattern(img, 'repeat') === null (got [object CanvasPattern][object], expected [object]) expected null but got object "[object CanvasPattern]"
+FAIL Canvas test: 2d.pattern.image.broken The object is in an invalid state.
The invalid state is raised after failing to create the native image in CanvasRenderingContext2DBase::createPattern(HTMLImageElement...).
Meanwhile, the same revision made imported/w3c/web-platform-tests/html/canvas/element/fill-and-stroke-styles/2d.pattern.image.nonexistent.html pass in WPE, as now InvalidState is thrown.
[1] https://html.spec.whatwg.org/multipage/canvas.html#dom-context-2d-createpattern
--
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/20210217/f52be115/attachment-0001.htm>
More information about the webkit-unassigned
mailing list