[whatwg] Return type of HTMLCanvasElement::getContext()

Cameron McCormack cam at mcc.id.au
Thu Jan 1 00:57:57 PST 2009


I think the return type of HTMLCanvasElement::getContext() should go
back to being an object instead of any.  I don’t see any situation where
that method would usefully return a non-object value.  I suggest just
using “Object” instead of “DOMObject”, too.  DOMObject is just a
typedef for Object in DOM Core.

-- 
Cameron McCormack ≝ http://mcc.id.au/



More information about the whatwg mailing list