Bug 118064 - Match CanvasGradient::addColorStop to the spec.
Summary: Match CanvasGradient::addColorStop to the spec.
Status: RESOLVED DUPLICATE of bug 160297
Alias: None
Product: WebKit
Classification: Unclassified
Component: Canvas (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Dongseong Hwang
URL:
Keywords: BlinkMergeCandidate, WebExposed
: 118011 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-06-26 08:57 PDT by Dongseong Hwang
Modified: 2017-09-18 01:52 PDT (History)
9 users (show)

See Also:


Attachments
Patch (3.11 KB, patch)
2013-06-26 09:00 PDT, Dongseong Hwang
krit: review+
krit: commit-queue-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dongseong Hwang 2013-06-26 08:57:01 PDT
The canvas spec [1] defines addColorStop without optional arguments. This patch
removes optional attribute from addColorStop interface.

[1] http://www.w3.org/TR/2dcontext2/
Comment 1 Dongseong Hwang 2013-06-26 09:00:42 PDT
Created attachment 205501 [details]
Patch
Comment 2 Dongseong Hwang 2013-06-26 09:01:22 PDT
This patch is backported from Blink : https://chromiumcodereview.appspot.com/14798006
Comment 3 Chris Dumez 2013-06-26 10:09:16 PDT
(In reply to comment #2)
> This patch is backported from Blink : https://chromiumcodereview.appspot.com/14798006

"cherry-pick" or "ported" would be more accurate than "backport" here :)
Comment 4 Chris Dumez 2013-06-26 10:25:10 PDT
Comment on attachment 205501 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=205501&action=review

LGTM but someone else should confirm as this is a web exposed change.

> Source/WebCore/ChangeLog:9
> +        removes optional attribute from addColorStop interface.

nit: "removes the optional keyword from addColorStop operation arguments."
Comment 5 Dongseong Hwang 2013-06-27 06:05:01 PDT
(In reply to comment #4)
> (From update of attachment 205501 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=205501&action=review
> 
> LGTM but someone else should confirm as this is a web exposed change.
> 
> > Source/WebCore/ChangeLog:9
> > +        removes optional attribute from addColorStop interface.
> 
> nit: "removes the optional keyword from addColorStop operation arguments."

Thank you for review! I'll fix nit :)
Comment 6 Dirk Schulze 2014-04-03 01:43:55 PDT
*** Bug 118011 has been marked as a duplicate of this bug. ***
Comment 7 Dirk Schulze 2014-04-03 01:44:50 PDT
Comment on attachment 205501 [details]
Patch

r=me. I hope you can still land this bug. But please fix the change log.
Comment 8 Ms2ger (he/him; ⌚ UTC+1/+2) 2017-09-18 01:52:14 PDT
This was eventually fixed in bug 160297.

*** This bug has been marked as a duplicate of bug 160297 ***