Bug 160312 - First parameter to canvas.getContext() / probablySupportsContext() should be mandatory
Summary: First parameter to canvas.getContext() / probablySupportsContext() should be ...
Alias: None
Product: WebKit
Classification: Unclassified
Component: Canvas (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL: http://w3c.github.io/html/semantics-s...
Keywords: WebExposed
Depends on:
Reported: 2016-07-28 13:25 PDT by Chris Dumez
Modified: 2016-07-28 15:07 PDT (History)
10 users (show)

See Also:

Patch (12.95 KB, patch)
2016-07-28 13:55 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2016-07-28 13:25:25 PDT
First parameter to canvas.getContext() should be mandatory:
- https://html.spec.whatwg.org/multipage/scripting.html#htmlcanvaselement

Firefox and Chrome agree with the specification.
Comment 1 Chris Dumez 2016-07-28 13:55:53 PDT
Created attachment 284813 [details]
Comment 2 WebKit Commit Bot 2016-07-28 15:07:04 PDT
Comment on attachment 284813 [details]

Clearing flags on attachment: 284813

Committed r203845: <http://trac.webkit.org/changeset/203845>
Comment 3 WebKit Commit Bot 2016-07-28 15:07:11 PDT
All reviewed patches have been landed.  Closing bug.