[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 Apr 20 18:10:24 PDT 2012


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


Ojan Vafai <ojan at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID
                 CC|                            |ojan at chromium.org




--- Comment #12 from Ojan Vafai <ojan at chromium.org>  2012-04-20 18:10:23 PST ---
(In reply to comment #11)
> (In reply to comment #9)
> > I'm not sure this is correct.
> > 
> > http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#dom-context-2d-createpattern no longer has the part about TYPE_MISMATCH_ERR. IIRC, Web IDL specifies that this shouldn't match any of the overloads, but instead raise TypeError. ( http://www.w3.org/TR/WebIDL/#es-operations )
> 
> I'm not familiar with w3 spec, but above spec is Last Updated 1 July 2011. The spec I had attached is W3C Working Draft 24 May 2011.
> Which is correct?

For WebKit, we use the whatwg.org copy of the spec as the one that we implement. Although, in this specific case, it looks like both specs have changed to no longer throw an error in this case.

-- 
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