Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(586)

Issue 14654002: Make optional arguments in CanvasRenderingContext2D match the spec [1]. (Closed)

Created:
7 years, 7 months ago by dshwang
Modified:
7 years, 7 months ago
CC:
blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Make optional arguments in CanvasRenderingContext2D match the spec [1]. WebKit r98985 set many arguments optional although the canvas spec does not indicate. So this patch corrects CanvasRenderingContext2D.idl to match the spec. [1] http://www.w3.org/html/wg/drafts/2dcontext/html5_canvas/ Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=149933

Patch Set 1 #

Patch Set 2 : #

Total comments: 1

Patch Set 3 : Change canvas-overloads-strokeRect to cover more various cases #

Patch Set 4 : Amend inspector/profiler/canvas2d/canvas2d-profiler-capturing-basics.html #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -171 lines) Patch
M LayoutTests/canvas/philip/tests/2d.missingargs-expected.txt View 1 chunk +0 lines, -74 lines 0 comments Download
M LayoutTests/fast/canvas/canvas-overloads-strokeRect-expected.txt View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
M LayoutTests/fast/canvas/script-tests/canvas-overloads-strokeRect.js View 1 2 1 chunk +5 lines, -6 lines 0 comments Download
M LayoutTests/inspector/profiler/canvas2d/canvas2d-profiler-capturing-basics.html View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/html/canvas/CanvasRenderingContext2D.idl View 5 chunks +28 lines, -85 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
dshwang
7 years, 7 months ago (2013-04-30 17:51:36 UTC) #1
dglazkov
Mis-uploaded patch? Ever side-by-side diff complains about old chunks.
7 years, 7 months ago (2013-04-30 17:53:53 UTC) #2
dshwang
On 2013/04/30 17:51:36, dshwang wrote: WebKit r98985 is http://trac.webkit.org/changeset/98985 If you see r98985, you can ...
7 years, 7 months ago (2013-04-30 18:02:04 UTC) #3
dshwang
On 2013/04/30 17:53:53, Dimitri Glazkov wrote: > Mis-uploaded patch? Ever side-by-side diff complains about old ...
7 years, 7 months ago (2013-04-30 18:03:25 UTC) #4
dshwang
7 years, 7 months ago (2013-04-30 18:08:47 UTC) #5
dshwang
7 years, 7 months ago (2013-04-30 18:09:12 UTC) #6
dshwang
https://codereview.chromium.org/14654002/diff/9001/LayoutTests/canvas/philip/tests/2d.missingargs-expected.txt File LayoutTests/canvas/philip/tests/2d.missingargs-expected.txt (left): https://codereview.chromium.org/14654002/diff/9001/LayoutTests/canvas/philip/tests/2d.missingargs-expected.txt#oldcode76 LayoutTests/canvas/philip/tests/2d.missingargs-expected.txt:76: Failed assertion: expected exception of type TypeError, got: Error: ...
7 years, 7 months ago (2013-04-30 18:23:49 UTC) #7
dshwang
Could you kindly review this issue? I submitted the same bug in WebKit also: https://bugs.webkit.org/show_bug.cgi?id=115723
7 years, 7 months ago (2013-05-07 16:20:01 UTC) #8
dglazkov
Is there a compatibility impact from this change? I am not very familiar with canvas ...
7 years, 7 months ago (2013-05-07 16:39:34 UTC) #9
dglazkov
senorblanco, can you look over this and show me your thumbs?
7 years, 7 months ago (2013-05-07 16:40:09 UTC) #10
dshwang
On 2013/05/07 16:39:34, Dimitri Glazkov wrote: > Is there a compatibility impact from this change? ...
7 years, 7 months ago (2013-05-07 16:53:23 UTC) #11
eseidel
I don't think this needs an "intent to implment" so long as we've tested FF ...
7 years, 7 months ago (2013-05-07 17:01:31 UTC) #12
dshwang
On 2013/05/07 17:01:31, Eric Seidel (Google) wrote: > I don't think this needs an "intent ...
7 years, 7 months ago (2013-05-07 17:16:56 UTC) #13
dshwang
On 2013/05/07 17:16:56, dshwang wrote: > On 2013/05/07 17:01:31, Eric Seidel (Google) wrote: > > ...
7 years, 7 months ago (2013-05-07 17:26:33 UTC) #14
Stephen White
This seems reasonable, although I don't know the history of why these were made optional ...
7 years, 7 months ago (2013-05-07 17:29:19 UTC) #15
dglazkov
LGTM.
7 years, 7 months ago (2013-05-07 17:32:16 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dongseong.hwang@intel.com/14654002/15001
7 years, 7 months ago (2013-05-07 17:34:21 UTC) #17
dshwang
On 2013/05/07 17:29:19, Stephen White wrote: > This seems reasonable, although I don't know the ...
7 years, 7 months ago (2013-05-07 17:36:34 UTC) #18
commit-bot: I haz the power
Retried try job too often on linux_layout_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_layout_rel&number=7065
7 years, 7 months ago (2013-05-07 18:14:20 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dongseong.hwang@intel.com/14654002/29002
7 years, 7 months ago (2013-05-08 04:22:20 UTC) #20
dshwang
On 2013/05/07 18:14:20, I haz the power (commit-bot) wrote: > Retried try job too often ...
7 years, 7 months ago (2013-05-08 04:23:27 UTC) #21
commit-bot: I haz the power
7 years, 7 months ago (2013-05-08 05:16:47 UTC) #22
Message was sent while issue was closed.
Change committed as 149933

Powered by Google App Engine
This is Rietveld 408576698