[Webkit-unassigned] [Bug 33968] Canvas: Exception erroneously thrown for drawImage() when image.complete=false
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jun 29 07:16:56 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=33968
Andreas Kling <andreas.kling at nokia.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|INVALID_STATE_ERR: DOM |Canvas: Exception
|Exception 11: with Canvas |erroneously thrown for
|object |drawImage() when
| |image.complete=false
Platform|PC |All
Status|UNCONFIRMED |NEW
Keywords| |HTML5
CC| |andreas.kling at nokia.com
Ever Confirmed|0 |1
--- Comment #1 from Andreas Kling <andreas.kling at nokia.com> 2010-06-29 07:16:56 PST ---
Both the site and WebKit are at fault here.
The page is using $(document).ready() instead of $(window).load() - $d(document).ready() fires as soon as the DOM is ready instead of waiting for subresources (images in this case) to finish loading.
However, since the image element passed to drawImage() has complete=false, nothing should be done (HTML5 4.8.11), so the exception is thrown in error.
Patch coming in a moment.
--
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