[Webkit-unassigned] [Bug 63801] [Chromium] HTML5 Canvas context.createPattern(image, repetition) can throw TYPE_MISMATCH_ERR exception.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jul 1 05:49:05 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=63801
Hwang <luxtella at company100.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #99465| |review?, commit-queue?
Flag| |
--- Comment #1 from Hwang <luxtella at company100.net> 2011-07-01 05:49:06 PST ---
Created an attachment (id=99465)
--> (https://bugs.webkit.org/attachment.cgi?id=99465&action=review)
patch
JavaScriptCore treats this by JSCanvasRenderingContext2DCustom.cpp but V8 does not treats this.
>From HTML5 canvas spec:
http://dev.w3.org/html5/2dcontext/#dom-context-2d-createpattern
"If the first argument isn't an img, canvas, or video element, throws a TYPE_MISMATCH_ERR exception."
This patch makes Chromium pass canvas/philip/tests/2d.pattern.image.undefined.html
--
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