[Webkit-unassigned] [Bug 93344] CanvasRenderingContext2D::createPattern() should return null, if non-decodable image argument

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 8 06:12:31 PDT 2012


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





--- Comment #2 from Jussi Kukkonen <jussi.kukkonen at intel.com>  2012-08-08 06:12:55 PST ---
After some testing:

2d.pattern.image.incomplete.omitted:
works after checking image->src().isValid()) before creating pattern

2d.pattern.image.broken:
needs knowledge of whether image really is decodable

2d.pattern.image.incomplete.empty:
the image url used in createPattern() ends up as the _page_ url because HTMLIMageElement does document().completeURL(). This would still work with knowledge of whether image really is decodable

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list