[Webkit-unassigned] [Bug 117093] New: HTMLCanvasElement supportsContext function does not account for optional attributes parameters
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri May 31 14:31:18 PDT 2013
https://bugs.webkit.org/show_bug.cgi?id=117093
Summary: HTMLCanvasElement supportsContext function does not
account for optional attributes parameters
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: Canvas
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: ruthiecftg at gmail.com
CC: dino at apple.com, webkit-bug-importer at group.apple.com
Once landed, the patch for bug 70117 (https://bugs.webkit.org/show_bug.cgi?id=70117) implements the supportsContext function for HTMLCanvasElement as spec'ed in HTML standards (http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#dom-canvas-supportscontext).
HTML standards states that "The supportsContext(contextId, arguments...) method of the canvas element, when invoked, must return false if calling getContext() on the same object and with the same arguments would definitely return null at this time, and true otherwise."
The patch for bug 70117 will not account for the optional arguments, i.e. it's return value is only based on the contextId parameter.
supportsContext function (implemented in Source/WebCore/html/HTMLCanvasElement.cpp after the patch for bug 70117 lands) should be updated to account for the optional parameters.
--
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