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

Issue 917733002: HTMLCanvasElement.toDataURL should use IDL 'any' to avoid using custom binding. (Closed)

Created:
5 years, 10 months ago by vivekg_samsung
Modified:
5 years, 10 months ago
CC:
arv+blink, blink-reviews, blink-reviews-bindings_chromium.org, blink-reviews-html_chromium.org, Inactive, dglazkov+blink
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

HTMLCanvasElement.toDataURL should use IDL 'any' to avoid using custom binding. The specifications [1] and [2] define toDataURL's second argument to be a variable typed argument. Utilize IDL supported 'any' to get rid of the custom binding used. R=jl@opera.com, junov@chromium.org, haraken@chromium.org BUG=345519 [1] http://www.w3.org/TR/html5/scripting-1.html#dom-canvas-todataurl [2] https://html.spec.whatwg.org/multipage/scripting.html#dom-canvas-todataurl Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=190370

Patch Set 1 #

Patch Set 2 : Use of correct variable name! :) #

Patch Set 3 : Using any -> ScriptValue #

Total comments: 1

Patch Set 4 : Patch for landing! #

Total comments: 1

Patch Set 5 : IDL changes #

Patch Set 6 : Patch rebased! #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -70 lines) Patch
D Source/bindings/core/v8/custom/V8HTMLCanvasElementCustom.cpp View 1 2 3 4 5 1 chunk +0 lines, -63 lines 0 comments Download
M Source/bindings/core/v8/custom/custom.gypi View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/html/HTMLCanvasElement.h View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/html/HTMLCanvasElement.cpp View 1 2 3 4 5 1 chunk +11 lines, -3 lines 0 comments Download
M Source/core/html/HTMLCanvasElement.idl View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 27 (6 generated)
vivekg
PTAL, thanks.
5 years, 10 months ago (2015-02-11 14:03:48 UTC) #2
haraken
LGTM
5 years, 10 months ago (2015-02-11 14:14:56 UTC) #3
Jens Widell
The spec doesn't say it should be a (double or DOMString) union, it says "any...". ...
5 years, 10 months ago (2015-02-11 14:15:33 UTC) #4
vivekg
On 2015/02/11 at 14:15:33, jl wrote: > The spec doesn't say it should be a ...
5 years, 10 months ago (2015-02-11 14:24:30 UTC) #5
Jens Widell
On 2015/02/11 14:24:30, vivekg_ wrote: > On 2015/02/11 at 14:15:33, jl wrote: > > The ...
5 years, 10 months ago (2015-02-11 14:29:07 UTC) #6
vivekg
On 2015/02/11 at 14:29:07, jl wrote: > On 2015/02/11 14:24:30, vivekg_ wrote: > > On ...
5 years, 10 months ago (2015-02-11 15:05:46 UTC) #8
Jens Widell
LGTM Don't forget to update the issue description. :-) https://codereview.chromium.org/917733002/diff/40001/Source/core/html/HTMLCanvasElement.cpp File Source/core/html/HTMLCanvasElement.cpp (right): https://codereview.chromium.org/917733002/diff/40001/Source/core/html/HTMLCanvasElement.cpp#newcode483 Source/core/html/HTMLCanvasElement.cpp:483: ...
5 years, 10 months ago (2015-02-11 15:13:08 UTC) #9
vivekg
On 2015/02/11 at 15:13:08, jl wrote: > LGTM > > Don't forget to update the ...
5 years, 10 months ago (2015-02-11 15:17:52 UTC) #11
Jens Widell
On 2015/02/11 15:17:52, vivekg_ wrote: > On 2015/02/11 at 15:13:08, jl wrote: > > LGTM ...
5 years, 10 months ago (2015-02-11 15:18:55 UTC) #12
vivekg
On 2015/02/11 at 15:18:55, jl wrote: > On 2015/02/11 15:17:52, vivekg_ wrote: > > On ...
5 years, 10 months ago (2015-02-11 15:20:31 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/917733002/60001
5 years, 10 months ago (2015-02-11 16:29:29 UTC) #15
Justin Novosad
On 2015/02/11 16:29:29, I haz the power (commit-bot) wrote: > CQ is trying da patch. ...
5 years, 10 months ago (2015-02-11 20:05:24 UTC) #16
Justin Novosad
On 2015/02/11 20:05:24, junov wrote: > > This cl is missing a layout test I ...
5 years, 10 months ago (2015-02-11 20:09:35 UTC) #18
Jens Widell
On 2015/02/11 20:09:35, junov wrote: > On 2015/02/11 20:05:24, junov wrote: > > > > ...
5 years, 10 months ago (2015-02-11 20:17:25 UTC) #19
Jens Widell
https://codereview.chromium.org/917733002/diff/60001/Source/core/html/HTMLCanvasElement.idl File Source/core/html/HTMLCanvasElement.idl (right): https://codereview.chromium.org/917733002/diff/60001/Source/core/html/HTMLCanvasElement.idl#newcode34 Source/core/html/HTMLCanvasElement.idl:34: [RaisesException] DOMString toDataURL([TreatUndefinedAs=NullString, Default=Undefined] optional DOMString? type, optional any ...
5 years, 10 months ago (2015-02-11 20:18:55 UTC) #20
vivekg
On 2015/02/11 at 20:09:35, junov wrote: > On 2015/02/11 20:05:24, junov wrote: > > > ...
5 years, 10 months ago (2015-02-12 03:54:44 UTC) #21
vivekg
junov@: friendly ping.
5 years, 10 months ago (2015-02-13 00:26:35 UTC) #22
vivekg
junov@, can you please let me know your feedback? I have rebased the patch on ...
5 years, 10 months ago (2015-02-16 18:40:46 UTC) #23
Justin Novosad
On 2015/02/16 18:40:46, vivekg_ wrote: > junov@, can you please let me know your feedback? ...
5 years, 10 months ago (2015-02-17 20:26:12 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/917733002/100001
5 years, 10 months ago (2015-02-18 00:47:32 UTC) #26
commit-bot: I haz the power
5 years, 10 months ago (2015-02-18 01:02:31 UTC) #27
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=190370

Powered by Google App Engine
This is Rietveld 408576698