[Webkit-unassigned] [Bug 42160] New: Canvas: drawImage() with wrong 'image' argument type should always throw TypeError
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jul 13 05:58:17 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=42160
Summary: Canvas: drawImage() with wrong 'image' argument type
should always throw TypeError
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: NEW
Keywords: HTML5
Severity: Normal
Priority: P2
Component: WebCore Misc.
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: andreas.kling at nokia.com
The in-tree test canvas/philip/tests/2d.drawImage.wrongtype.html was incorrect.
It has been fixed by Philip Taylor per http://dvcs.w3.org/hg/html/rev/adc54342f976
In the new version, we only fail the last test, passing a non-image/canvas/video element to drawImage() will raise TYPE_MISMATCH_ERR instead of TypeError.
Spec links:
http://www.whatwg.org/specs/web-apps/current-work/#dom-context-2d-drawimage
http://www.w3.org/TR/WebIDL/#es-interface
--
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