Bug 118349

Summary: Remove ElementTimeControl and expose SVGAnimationElement
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: SVGAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: ap, benjamin, commit-queue, darin, d-r, esprehn+autocc, fmalita, gyuyoung.kim, haraken, krit, laszlo.gombos, pdr, rakuco, rniwa, rwlbuis, schenney, thorton, timothy, zimmermann
Priority: P2 Keywords: BlinkMergeCandidate, WebExposed
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
URL: https://svgwg.org/svg2-draft/animate.html#InterfaceSVGAnimationElement
Bug Depends on:    
Bug Blocks: 118353    
Attachments:
Description Flags
Patch none

Description Chris Dumez 2013-07-03 03:05:15 PDT
Remove ElementTimeControl IDL interface and move its attributes
to the SVGAnimationElement IDL interface as per the latest SVG2
specification:
https://svgwg.org/svg2-draft/animate.html#InterfaceSVGAnimationElement

Also remove [NoInterfaceObject] IDL extended attribute from
SVGAnimationElement as it is not present in the specification.

This is one step towards removing IDL multiple inheritance in SVG.

Corresponding Blink revision:
https://src.chromium.org/viewvc/blink?revision=153458&view=revision
Comment 1 Chris Dumez 2013-07-03 03:47:11 PDT
Created attachment 205990 [details]
Patch
Comment 2 Kentaro Hara 2013-07-03 03:49:51 PDT
Comment on attachment 205990 [details]
Patch

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

> Source/WebCore/svg/ElementTimeControl.idl:-30
> -    ObjCProtocol,

Looks like you removed [ObjCProtocol]. Is it OK?
Comment 3 Chris Dumez 2013-07-03 06:13:34 PDT
Comment on attachment 205990 [details]
Patch

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

>> Source/WebCore/svg/ElementTimeControl.idl:-30
>> -    ObjCProtocol,
> 
> Looks like you removed [ObjCProtocol]. Is it OK?

Well, this extended attribute only applies to this interface (not the children). Since this interface is removed, I think it is OK. However, someone from the mac port should probably confirm as I am not familiar with the ObjC bindings. The mac ews are green so at least
there is that.
Comment 4 Chris Dumez 2013-07-09 00:28:38 PDT
(In reply to comment #3)
> (From update of attachment 205990 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=205990&action=review
> 
> >> Source/WebCore/svg/ElementTimeControl.idl:-30
> >> -    ObjCProtocol,
> > 
> > Looks like you removed [ObjCProtocol]. Is it OK?
> 
> Well, this extended attribute only applies to this interface (not the children). Since this interface is removed, I think it is OK. However, someone from the mac port should probably confirm as I am not familiar with the ObjC bindings. The mac ews are green so at least
> there is that.

Could someone who understand Objective C bindings confirm that this change is OK please?
Comment 5 Timothy Hatcher 2013-07-10 12:55:18 PDT
Comment on attachment 205990 [details]
Patch

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

>>>> Source/WebCore/svg/ElementTimeControl.idl:-30
>>>> -    ObjCProtocol,
>>> 
>>> Looks like you removed [ObjCProtocol]. Is it OK?
>> 
>> Well, this extended attribute only applies to this interface (not the children). Since this interface is removed, I think it is OK. However, someone from the mac port should probably confirm as I am not familiar with the ObjC bindings. The mac ews are green so at least
>> there is that.
> 
> Could someone who understand Objective C bindings confirm that this change is OK please?

It is fine. We don't generate the ObjC DOM for SVG anymore.
Comment 6 Chris Dumez 2013-07-10 12:56:50 PDT
(In reply to comment #5)
> (From update of attachment 205990 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=205990&action=review
> 
> >>>> Source/WebCore/svg/ElementTimeControl.idl:-30
> >>>> -    ObjCProtocol,
> >>> 
> >>> Looks like you removed [ObjCProtocol]. Is it OK?
> >> 
> >> Well, this extended attribute only applies to this interface (not the children). Since this interface is removed, I think it is OK. However, someone from the mac port should probably confirm as I am not familiar with the ObjC bindings. The mac ews are green so at least
> >> there is that.
> > 
> > Could someone who understand Objective C bindings confirm that this change is OK please?
> 
> It is fine. We don't generate the ObjC DOM for SVG anymore.

Thanks for looking Timothy.
Comment 7 Rob Buis 2013-07-10 13:19:28 PDT
Comment on attachment 205990 [details]
Patch

Looks good.
Comment 8 WebKit Commit Bot 2013-07-10 13:40:53 PDT
Comment on attachment 205990 [details]
Patch

Clearing flags on attachment: 205990

Committed r152543: <http://trac.webkit.org/changeset/152543>
Comment 9 WebKit Commit Bot 2013-07-10 13:40:57 PDT
All reviewed patches have been landed.  Closing bug.