Bug 118349 - Remove ElementTimeControl and expose SVGAnimationElement
Summary: Remove ElementTimeControl and expose SVGAnimationElement
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL: https://svgwg.org/svg2-draft/animate....
Keywords: BlinkMergeCandidate, WebExposed
Depends on:
Blocks: 118353
  Show dependency treegraph
 
Reported: 2013-07-03 03:05 PDT by Chris Dumez
Modified: 2013-07-10 13:40 PDT (History)
19 users (show)

See Also:


Attachments
Patch (26.39 KB, patch)
2013-07-03 03:47 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 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.