Bug 160297 - Parameters to CanvasGradient.addColorStop() should be mandatory
Summary: Parameters to CanvasGradient.addColorStop() should be mandatory
Alias: None
Product: WebKit
Classification: Unclassified
Component: Canvas (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL: https://html.spec.whatwg.org/multipag...
Keywords: WebExposed
: 118064 (view as bug list)
Depends on:
Reported: 2016-07-28 09:08 PDT by Chris Dumez
Modified: 2017-09-18 01:52 PDT (History)
10 users (show)

See Also:

Patch (4.76 KB, patch)
2016-07-28 09:46 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 09:08:56 PDT
Parameters to CanvasGradient.addColorStop() should be mandatory:
- https://html.spec.whatwg.org/multipage/scripting.html#canvasgradient

Firefox and Chrome agree with the specification.
Comment 1 Chris Dumez 2016-07-28 09:46:02 PDT
Created attachment 284785 [details]
Comment 2 WebKit Commit Bot 2016-07-28 11:05:36 PDT
Comment on attachment 284785 [details]

Clearing flags on attachment: 284785

Committed r203820: <http://trac.webkit.org/changeset/203820>
Comment 3 WebKit Commit Bot 2016-07-28 11:05:42 PDT
All reviewed patches have been landed.  Closing bug.
Comment 4 Ms2ger (he/him; ⌚ UTC+1/+2) 2017-09-18 01:52:14 PDT
*** Bug 118064 has been marked as a duplicate of this bug. ***