Closed
Bug 833446
Opened 10 years ago
Closed 10 years ago
Remove nsIDOMSVGxxxElement interfaces
Categories
(Core :: SVG, defect)
Core
SVG
Tracking
()
RESOLVED
FIXED
mozilla21
People
(Reporter: dzbarsky, Assigned: dzbarsky)
References
Details
Attachments
(36 files, 3 obsolete files)
12.29 KB,
patch
|
peterv
:
review+
dzbarsky
:
checkin+
|
Details | Diff | Splinter Review |
8.61 KB,
patch
|
peterv
:
review+
dzbarsky
:
checkin+
|
Details | Diff | Splinter Review |
9.31 KB,
patch
|
peterv
:
review+
dzbarsky
:
checkin+
|
Details | Diff | Splinter Review |
9.21 KB,
patch
|
peterv
:
review+
dzbarsky
:
checkin+
|
Details | Diff | Splinter Review |
8.43 KB,
patch
|
peterv
:
review+
dzbarsky
:
checkin+
|
Details | Diff | Splinter Review |
22.82 KB,
patch
|
peterv
:
review+
dzbarsky
:
checkin+
|
Details | Diff | Splinter Review |
10.37 KB,
patch
|
peterv
:
review+
dzbarsky
:
checkin+
|
Details | Diff | Splinter Review |
8.74 KB,
patch
|
peterv
:
review+
dzbarsky
:
checkin+
|
Details | Diff | Splinter Review |
8.64 KB,
patch
|
peterv
:
review+
dzbarsky
:
checkin+
|
Details | Diff | Splinter Review |
20.89 KB,
patch
|
peterv
:
review+
dzbarsky
:
checkin+
|
Details | Diff | Splinter Review |
9.47 KB,
patch
|
peterv
:
review+
dzbarsky
:
checkin+
|
Details | Diff | Splinter Review |
26.29 KB,
patch
|
peterv
:
review+
dzbarsky
:
checkin+
|
Details | Diff | Splinter Review |
11.04 KB,
patch
|
peterv
:
review+
dzbarsky
:
checkin+
|
Details | Diff | Splinter Review |
8.43 KB,
patch
|
peterv
:
review+
dzbarsky
:
checkin+
|
Details | Diff | Splinter Review |
9.30 KB,
patch
|
peterv
:
review+
dzbarsky
:
checkin+
|
Details | Diff | Splinter Review |
28.62 KB,
patch
|
peterv
:
review+
dzbarsky
:
checkin+
|
Details | Diff | Splinter Review |
14.31 KB,
patch
|
bzbarsky
:
review+
dzbarsky
:
checkin+
|
Details | Diff | Splinter Review |
9.01 KB,
patch
|
peterv
:
review+
dzbarsky
:
checkin+
|
Details | Diff | Splinter Review |
7.81 KB,
patch
|
peterv
:
review+
dzbarsky
:
checkin+
|
Details | Diff | Splinter Review |
11.51 KB,
patch
|
peterv
:
review+
dzbarsky
:
checkin+
|
Details | Diff | Splinter Review |
12.51 KB,
patch
|
peterv
:
review+
dzbarsky
:
checkin+
|
Details | Diff | Splinter Review |
10.66 KB,
patch
|
peterv
:
review+
dzbarsky
:
checkin+
|
Details | Diff | Splinter Review |
12.49 KB,
patch
|
peterv
:
review+
dzbarsky
:
checkin+
|
Details | Diff | Splinter Review |
11.04 KB,
patch
|
peterv
:
review+
dzbarsky
:
checkin+
|
Details | Diff | Splinter Review |
40.94 KB,
patch
|
peterv
:
review+
dzbarsky
:
checkin+
|
Details | Diff | Splinter Review |
9.52 KB,
patch
|
peterv
:
review+
dzbarsky
:
checkin+
|
Details | Diff | Splinter Review |
10.03 KB,
patch
|
peterv
:
review+
dzbarsky
:
checkin+
|
Details | Diff | Splinter Review |
44.87 KB,
patch
|
peterv
:
review+
dzbarsky
:
checkin+
|
Details | Diff | Splinter Review |
13.46 KB,
patch
|
peterv
:
review+
dzbarsky
:
checkin+
|
Details | Diff | Splinter Review |
10.28 KB,
patch
|
peterv
:
review+
dzbarsky
:
checkin+
|
Details | Diff | Splinter Review |
10.26 KB,
patch
|
peterv
:
review+
dzbarsky
:
checkin+
|
Details | Diff | Splinter Review |
11.17 KB,
patch
|
peterv
:
review+
|
Details | Diff | Splinter Review |
12.44 KB,
patch
|
peterv
:
review+
|
Details | Diff | Splinter Review |
25.04 KB,
patch
|
peterv
:
review+
|
Details | Diff | Splinter Review |
8.63 KB,
patch
|
peterv
:
review+
|
Details | Diff | Splinter Review |
12.37 KB,
patch
|
peterv
:
review+
|
Details | Diff | Splinter Review |
I already have patches for all the classes that are on WebIDL bindings.
Assignee | ||
Comment 1•10 years ago
|
||
Attachment #704967 -
Flags: review?(peterv)
Assignee | ||
Comment 2•10 years ago
|
||
Attachment #704968 -
Flags: review?(peterv)
Assignee | ||
Comment 3•10 years ago
|
||
Attachment #704969 -
Flags: review?(peterv)
Assignee | ||
Comment 4•10 years ago
|
||
Attachment #704971 -
Flags: review?(peterv)
Assignee | ||
Comment 5•10 years ago
|
||
Attachment #704973 -
Flags: review?(peterv)
Assignee | ||
Comment 6•10 years ago
|
||
Attachment #704974 -
Flags: review?(peterv)
Assignee | ||
Comment 7•10 years ago
|
||
Attachment #704975 -
Flags: review?(peterv)
Assignee | ||
Comment 8•10 years ago
|
||
Attachment #704977 -
Flags: review?(peterv)
Assignee | ||
Comment 9•10 years ago
|
||
Attachment #704978 -
Flags: review?(peterv)
Assignee | ||
Comment 10•10 years ago
|
||
Attachment #704979 -
Flags: review?(peterv)
Assignee | ||
Comment 11•10 years ago
|
||
Attachment #704980 -
Flags: review?(peterv)
Assignee | ||
Comment 12•10 years ago
|
||
Attachment #704981 -
Flags: review?(peterv)
Assignee | ||
Comment 13•10 years ago
|
||
Attachment #704982 -
Flags: review?(peterv)
Assignee | ||
Comment 14•10 years ago
|
||
Attachment #704983 -
Flags: review?(peterv)
Assignee | ||
Comment 15•10 years ago
|
||
Attachment #704984 -
Flags: review?(peterv)
Assignee | ||
Comment 16•10 years ago
|
||
Attachment #704986 -
Flags: review?(peterv)
Assignee | ||
Comment 17•10 years ago
|
||
Attachment #704988 -
Flags: review?(bzbarsky)
Assignee | ||
Comment 18•10 years ago
|
||
Attachment #704991 -
Flags: review?(peterv)
Assignee | ||
Comment 19•10 years ago
|
||
Attachment #704994 -
Flags: review?(peterv)
Assignee | ||
Comment 20•10 years ago
|
||
Attachment #704995 -
Flags: review?(peterv)
Assignee | ||
Comment 21•10 years ago
|
||
Attachment #705000 -
Flags: review?(peterv)
Assignee | ||
Comment 22•10 years ago
|
||
Attachment #705001 -
Flags: review?(peterv)
Assignee | ||
Comment 23•10 years ago
|
||
Attachment #705003 -
Flags: review?(peterv)
Assignee | ||
Comment 24•10 years ago
|
||
Attachment #705005 -
Flags: review?(peterv)
![]() |
||
Comment 25•10 years ago
|
||
Comment on attachment 704988 [details] [diff] [review] pattern This seems fine, but it might be safer to hold off on landing this until the nsJSIID::HasInstance part of bug 824589 lands.
Attachment #704988 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Comment 26•10 years ago
|
||
Attachment #705200 -
Flags: review?(peterv)
Comment 27•10 years ago
|
||
Comment on attachment 704967 [details] [diff] [review] altglyph Review of attachment 704967 [details] [diff] [review]: ----------------------------------------------------------------- ::: content/svg/content/src/SVGAltGlyphElement.cpp @@ +30,5 @@ > NS_IMPL_ADDREF_INHERITED(SVGAltGlyphElement,SVGAltGlyphElementBase) > NS_IMPL_RELEASE_INHERITED(SVGAltGlyphElement,SVGAltGlyphElementBase) > > NS_INTERFACE_TABLE_HEAD(SVGAltGlyphElement) > + NS_NODE_INTERFACE_TABLE6(SVGAltGlyphElement, nsIDOMNode, nsIDOMElement, Switching to the new bindings makes the NS_NODE_INTERFACE_TABLE* macros become unused, so switch to NS_IMPL_ISUPPORTS_INHERITED6. ::: dom/webidl/SVGAltGlyphElement.webidl @@ +17,1 @@ > attribute DOMString format; Ugh :-(.
Attachment #704967 -
Flags: review?(peterv) → review+
Comment 28•10 years ago
|
||
Comment on attachment 704968 [details] [diff] [review] animate Review of attachment 704968 [details] [diff] [review]: ----------------------------------------------------------------- ::: content/svg/content/src/SVGAnimateElement.cpp @@ +24,5 @@ > NS_IMPL_ADDREF_INHERITED(SVGAnimateElement, SVGAnimationElement) > NS_IMPL_RELEASE_INHERITED(SVGAnimateElement, SVGAnimationElement) > > NS_INTERFACE_TABLE_HEAD(SVGAnimateElement) > + NS_NODE_INTERFACE_TABLE4(SVGAnimateElement, nsIDOMNode, nsIDOMElement, NS_IMPL_ISUPPORTS_INHERITED4
Attachment #704968 -
Flags: review?(peterv) → review+
Comment 29•10 years ago
|
||
Comment on attachment 704969 [details] [diff] [review] animatemotion Review of attachment 704969 [details] [diff] [review]: ----------------------------------------------------------------- ::: content/svg/content/src/SVGAnimateMotionElement.cpp @@ +23,5 @@ > NS_IMPL_ADDREF_INHERITED(SVGAnimateMotionElement, SVGAnimationElement) > NS_IMPL_RELEASE_INHERITED(SVGAnimateMotionElement, SVGAnimationElement) > > NS_INTERFACE_TABLE_HEAD(SVGAnimateMotionElement) > + NS_NODE_INTERFACE_TABLE4(SVGAnimateMotionElement, nsIDOMNode, NS_IMPL_ISUPPORTS_INHERITED4
Attachment #704969 -
Flags: review?(peterv) → review+
Comment 30•10 years ago
|
||
Comment on attachment 704971 [details] [diff] [review] animatetransform Review of attachment 704971 [details] [diff] [review]: ----------------------------------------------------------------- ::: content/svg/content/src/SVGAnimateTransformElement.cpp @@ +28,2 @@ > nsIDOMElement, nsIDOMSVGElement, > + nsIDOMSVGAnimationElement) NS_IMPL_ISUPPORTS_INHERITED4
Attachment #704971 -
Flags: review?(peterv) → review+
Comment 31•10 years ago
|
||
Comment on attachment 704973 [details] [diff] [review] set Review of attachment 704973 [details] [diff] [review]: ----------------------------------------------------------------- ::: content/svg/content/src/SVGSetElement.cpp @@ +24,5 @@ > NS_IMPL_RELEASE_INHERITED(SVGSetElement, SVGAnimationElement) > > NS_INTERFACE_TABLE_HEAD(SVGSetElement) > + NS_NODE_INTERFACE_TABLE4(SVGSetElement, nsIDOMNode, nsIDOMElement, > + nsIDOMSVGElement, nsIDOMSVGAnimationElement) NS_IMPL_ISUPPORTS_INHERITED4
Attachment #704973 -
Flags: review?(peterv) → review+
Comment 32•10 years ago
|
||
Comment on attachment 704974 [details] [diff] [review] animation Review of attachment 704974 [details] [diff] [review]: ----------------------------------------------------------------- ::: content/svg/content/src/SVGAnimateElement.cpp @@ +25,5 @@ > NS_IMPL_RELEASE_INHERITED(SVGAnimateElement, SVGAnimationElement) > > NS_INTERFACE_TABLE_HEAD(SVGAnimateElement) > + NS_NODE_INTERFACE_TABLE3(SVGAnimateElement, nsIDOMNode, nsIDOMElement, > + nsIDOMSVGElement) NS_IMPL_ISUPPORTS_INHERITED3 ::: content/svg/content/src/SVGAnimateMotionElement.cpp @@ +24,5 @@ > NS_IMPL_RELEASE_INHERITED(SVGAnimateMotionElement, SVGAnimationElement) > > NS_INTERFACE_TABLE_HEAD(SVGAnimateMotionElement) > + NS_NODE_INTERFACE_TABLE3(SVGAnimateMotionElement, nsIDOMNode, > + nsIDOMElement, nsIDOMSVGElement) NS_IMPL_ISUPPORTS_INHERITED3 ::: content/svg/content/src/SVGAnimateTransformElement.cpp @@ +24,5 @@ > NS_IMPL_RELEASE_INHERITED(SVGAnimateTransformElement, SVGAnimationElement) > > NS_INTERFACE_TABLE_HEAD(SVGAnimateTransformElement) > + NS_NODE_INTERFACE_TABLE3(SVGAnimateTransformElement, nsIDOMNode, > + nsIDOMElement, nsIDOMSVGElement) NS_IMPL_ISUPPORTS_INHERITED3 ::: content/svg/content/src/SVGSetElement.cpp @@ +24,5 @@ > NS_IMPL_RELEASE_INHERITED(SVGSetElement, SVGAnimationElement) > > NS_INTERFACE_TABLE_HEAD(SVGSetElement) > + NS_NODE_INTERFACE_TABLE3(SVGSetElement, nsIDOMNode, nsIDOMElement, > + nsIDOMSVGElement) NS_IMPL_ISUPPORTS_INHERITED3
Attachment #704974 -
Flags: review?(peterv) → review+
Comment 33•10 years ago
|
||
Comment on attachment 704975 [details] [diff] [review] circle Review of attachment 704975 [details] [diff] [review]: ----------------------------------------------------------------- ::: content/svg/content/src/SVGCircleElement.cpp @@ +33,5 @@ > NS_IMPL_RELEASE_INHERITED(SVGCircleElement,SVGCircleElementBase) > > NS_INTERFACE_TABLE_HEAD(SVGCircleElement) > + NS_NODE_INTERFACE_TABLE3(SVGCircleElement, nsIDOMNode, nsIDOMElement, > + nsIDOMSVGElement) NS_IMPL_ISUPPORTS_INHERITED3
Attachment #704975 -
Flags: review?(peterv) → review+
Comment 34•10 years ago
|
||
Comment on attachment 704977 [details] [diff] [review] defs Review of attachment 704977 [details] [diff] [review]: ----------------------------------------------------------------- ::: content/svg/content/src/SVGDefsElement.cpp @@ +24,5 @@ > NS_IMPL_RELEASE_INHERITED(SVGDefsElement, SVGGraphicsElement) > > NS_INTERFACE_TABLE_HEAD(SVGDefsElement) > + NS_NODE_INTERFACE_TABLE3(SVGDefsElement, nsIDOMNode, nsIDOMElement, > + nsIDOMSVGElement) NS_IMPL_ISUPPORTS_INHERITED3
Attachment #704977 -
Flags: review?(peterv) → review+
Comment 35•10 years ago
|
||
Comment on attachment 704978 [details] [diff] [review] desc Review of attachment 704978 [details] [diff] [review]: ----------------------------------------------------------------- ::: content/svg/content/src/SVGDescElement.cpp @@ +24,5 @@ > NS_IMPL_RELEASE_INHERITED(SVGDescElement, SVGDescElementBase) > > NS_INTERFACE_TABLE_HEAD(SVGDescElement) > + NS_NODE_INTERFACE_TABLE3(SVGDescElement, nsIDOMNode, nsIDOMElement, > + nsIDOMSVGElement) NS_IMPL_ISUPPORTS_INHERITED3
Attachment #704978 -
Flags: review?(peterv) → review+
Comment 36•10 years ago
|
||
Comment on attachment 704979 [details] [diff] [review] ellipse Review of attachment 704979 [details] [diff] [review]: ----------------------------------------------------------------- ::: content/svg/content/src/SVGEllipseElement.cpp @@ +33,5 @@ > NS_IMPL_RELEASE_INHERITED(SVGEllipseElement,SVGEllipseElementBase) > > NS_INTERFACE_TABLE_HEAD(SVGEllipseElement) > + NS_NODE_INTERFACE_TABLE3(SVGEllipseElement, nsIDOMNode, nsIDOMElement, > + nsIDOMSVGElement) NS_IMPL_ISUPPORTS_INHERITED3 ::: content/svg/content/src/SVGForeignObjectElement.cpp @@ +35,5 @@ > NS_IMPL_RELEASE_INHERITED(SVGForeignObjectElement, SVGGraphicsElement) > > NS_INTERFACE_TABLE_HEAD(SVGForeignObjectElement) > + NS_NODE_INTERFACE_TABLE3(SVGForeignObjectElement, nsIDOMNode, nsIDOMElement, > + nsIDOMSVGElement) NS_IMPL_ISUPPORTS_INHERITED3
Attachment #704979 -
Flags: review?(peterv) → review+
Comment 37•10 years ago
|
||
Comment on attachment 704980 [details] [diff] [review] g Review of attachment 704980 [details] [diff] [review]: ----------------------------------------------------------------- ::: content/svg/content/src/SVGGElement.cpp @@ +24,5 @@ > NS_IMPL_RELEASE_INHERITED(SVGGElement, SVGGraphicsElement) > > NS_INTERFACE_TABLE_HEAD(SVGGElement) > + NS_NODE_INTERFACE_TABLE3(SVGGElement, nsIDOMNode, nsIDOMElement, > + nsIDOMSVGElement) NS_IMPL_ISUPPORTS_INHERITED3
Attachment #704980 -
Flags: review?(peterv) → review+
Comment 38•10 years ago
|
||
Comment on attachment 704981 [details] [diff] [review] gradient and subclasses Review of attachment 704981 [details] [diff] [review]: ----------------------------------------------------------------- ::: content/svg/content/src/SVGGradientElement.cpp @@ +165,5 @@ > NS_IMPL_RELEASE_INHERITED(SVGLinearGradientElement,SVGLinearGradientElementBase) > > NS_INTERFACE_TABLE_HEAD(SVGLinearGradientElement) > + NS_NODE_INTERFACE_TABLE3(SVGLinearGradientElement, nsIDOMNode, > + nsIDOMElement, nsIDOMSVGElement) NS_IMPL_ISUPPORTS_INHERITED3 @@ +250,5 @@ > NS_IMPL_RELEASE_INHERITED(SVGRadialGradientElement, SVGRadialGradientElementBase) > > NS_INTERFACE_TABLE_HEAD(SVGRadialGradientElement) > + NS_NODE_INTERFACE_TABLE3(SVGRadialGradientElement, nsIDOMNode, > + nsIDOMElement, nsIDOMSVGElement) NS_IMPL_ISUPPORTS_INHERITED3
Attachment #704981 -
Flags: review?(peterv) → review+
Comment 39•10 years ago
|
||
Comment on attachment 704982 [details] [diff] [review] line Review of attachment 704982 [details] [diff] [review]: ----------------------------------------------------------------- ::: content/svg/content/src/SVGLineElement.cpp @@ +33,5 @@ > NS_IMPL_RELEASE_INHERITED(SVGLineElement,SVGLineElementBase) > > NS_INTERFACE_TABLE_HEAD(SVGLineElement) > + NS_NODE_INTERFACE_TABLE3(SVGLineElement, nsIDOMNode, nsIDOMElement, > + nsIDOMSVGElement) NS_IMPL_ISUPPORTS_INHERITED3
Attachment #704982 -
Flags: review?(peterv) → review+
Comment 40•10 years ago
|
||
Comment on attachment 704983 [details] [diff] [review] metadata Review of attachment 704983 [details] [diff] [review]: ----------------------------------------------------------------- ::: content/svg/content/src/SVGMetadataElement.cpp @@ +24,5 @@ > NS_IMPL_RELEASE_INHERITED(SVGMetadataElement, SVGMetadataElementBase) > > NS_INTERFACE_TABLE_HEAD(SVGMetadataElement) > + NS_NODE_INTERFACE_TABLE3(SVGMetadataElement, nsIDOMNode, nsIDOMElement, > + nsIDOMSVGElement) NS_IMPL_ISUPPORTS_INHERITED3
Attachment #704983 -
Flags: review?(peterv) → review+
Comment 41•10 years ago
|
||
Comment on attachment 704984 [details] [diff] [review] mpath Review of attachment 704984 [details] [diff] [review]: ----------------------------------------------------------------- ::: content/svg/content/src/SVGMPathElement.cpp @@ +51,2 @@ > nsIDOMSVGElement, nsIDOMSVGURIReference, > + nsIMutationObserver) NS_IMPL_ISUPPORTS_INHERITED5
Attachment #704984 -
Flags: review?(peterv) → review+
Comment 42•10 years ago
|
||
Comment on attachment 704986 [details] [diff] [review] path Review of attachment 704986 [details] [diff] [review]: ----------------------------------------------------------------- ::: content/svg/content/src/SVGPathElement.cpp @@ +37,5 @@ > NS_IMPL_RELEASE_INHERITED(SVGPathElement,SVGPathElementBase) > > NS_INTERFACE_TABLE_HEAD(SVGPathElement) > + NS_NODE_INTERFACE_TABLE3(SVGPathElement, nsIDOMNode, nsIDOMElement, > + nsIDOMSVGElement) NS_IMPL_ISUPPORTS_INHERITED3
Attachment #704986 -
Flags: review?(peterv) → review+
Comment 43•10 years ago
|
||
Comment on attachment 704991 [details] [diff] [review] polygon Review of attachment 704991 [details] [diff] [review]: ----------------------------------------------------------------- ::: content/svg/content/src/SVGPolygonElement.cpp @@ +26,5 @@ > NS_IMPL_RELEASE_INHERITED(SVGPolygonElement,SVGPolygonElementBase) > > NS_INTERFACE_TABLE_HEAD(SVGPolygonElement) > + NS_NODE_INTERFACE_TABLE3(SVGPolygonElement, nsIDOMNode, nsIDOMElement, > + nsIDOMSVGElement) NS_IMPL_ISUPPORTS_INHERITED3
Attachment #704991 -
Flags: review?(peterv) → review+
Comment 44•10 years ago
|
||
Comment on attachment 704994 [details] [diff] [review] polyline Review of attachment 704994 [details] [diff] [review]: ----------------------------------------------------------------- ::: content/svg/content/src/SVGPolylineElement.cpp @@ +24,5 @@ > NS_IMPL_RELEASE_INHERITED(SVGPolylineElement,SVGPolylineElementBase) > > NS_INTERFACE_TABLE_HEAD(SVGPolylineElement) > + NS_NODE_INTERFACE_TABLE3(SVGPolylineElement, nsIDOMNode, nsIDOMElement, > + nsIDOMSVGElement) NS_IMPL_ISUPPORTS_INHERITED3
Attachment #704994 -
Flags: review?(peterv) → review+
Comment 45•10 years ago
|
||
Comment on attachment 704995 [details] [diff] [review] rect Review of attachment 704995 [details] [diff] [review]: ----------------------------------------------------------------- ::: content/svg/content/src/SVGRectElement.cpp @@ +37,5 @@ > NS_IMPL_RELEASE_INHERITED(SVGRectElement,SVGRectElementBase) > > NS_INTERFACE_TABLE_HEAD(SVGRectElement) > + NS_NODE_INTERFACE_TABLE3(SVGRectElement, nsIDOMNode, nsIDOMElement, > + nsIDOMSVGElement) NS_IMPL_ISUPPORTS_INHERITED3
Attachment #704995 -
Flags: review?(peterv) → review+
Comment 46•10 years ago
|
||
Comment on attachment 705000 [details] [diff] [review] script Review of attachment 705000 [details] [diff] [review]: ----------------------------------------------------------------- ::: content/svg/content/src/SVGScriptElement.cpp @@ +38,2 @@ > nsIDOMSVGURIReference, nsIScriptLoaderObserver, > nsIScriptElement, nsIMutationObserver) NS_IMPL_ISUPPORTS_INHERITED7
Attachment #705000 -
Flags: review?(peterv) → review+
Comment 47•10 years ago
|
||
Comment on attachment 705001 [details] [diff] [review] stop Review of attachment 705001 [details] [diff] [review]: ----------------------------------------------------------------- ::: content/svg/content/src/SVGStopElement.cpp @@ +27,5 @@ > NS_IMPL_RELEASE_INHERITED(SVGStopElement, SVGStopElementBase) > > NS_INTERFACE_TABLE_HEAD(SVGStopElement) > + NS_NODE_INTERFACE_TABLE3(SVGStopElement, nsIDOMNode, nsIDOMElement, > + nsIDOMSVGElement) NS_IMPL_ISUPPORTS_INHERITED3
Attachment #705001 -
Flags: review?(peterv) → review+
Comment 48•10 years ago
|
||
Comment on attachment 705003 [details] [diff] [review] style Review of attachment 705003 [details] [diff] [review]: ----------------------------------------------------------------- ::: content/svg/content/src/SVGStyleElement.cpp @@ +32,2 @@ > nsIDOMLinkStyle, nsIStyleSheetLinkingElement, > nsIMutationObserver) NS_IMPL_ISUPPORTS_INHERITED6 ::: content/svg/content/src/SVGStyleElement.h @@ +73,4 @@ > virtual nsIDOMNode* AsDOMNode() { return this; } > > // WebIDL > + void GetXmlspace(nsAString & aXmlspace); Spacing between type and & is inconsistent here :-/
Attachment #705003 -
Flags: review?(peterv) → review+
Comment 49•10 years ago
|
||
Comment on attachment 705005 [details] [diff] [review] svg Review of attachment 705005 [details] [diff] [review]: ----------------------------------------------------------------- It doesn't seem right to ignore errors returned from SetCurrentScaleTranslate. ::: content/svg/content/src/SVGSVGElement.cpp @@ +148,1 @@ > nsIDOMSVGFitToViewBox) NS_IMPL_ISUPPORTS_INHERITED4
Attachment #705005 -
Flags: review?(peterv) → review-
Comment 50•10 years ago
|
||
Comment on attachment 705200 [details] [diff] [review] foreignobject Review of attachment 705200 [details] [diff] [review]: ----------------------------------------------------------------- ::: content/svg/content/src/SVGForeignObjectElement.cpp @@ +36,5 @@ > NS_IMPL_RELEASE_INHERITED(SVGForeignObjectElement, SVGGraphicsElement) > > NS_INTERFACE_TABLE_HEAD(SVGForeignObjectElement) > + NS_NODE_INTERFACE_TABLE3(SVGForeignObjectElement, nsIDOMNode, nsIDOMElement, > + nsIDOMSVGElement) NS_IMPL_ISUPPORTS_INHERITED3
Attachment #705200 -
Flags: review?(peterv) → review+
Comment 51•10 years ago
|
||
Once this is done it looks like it might make sense to move nsIDOMSVGElement to a base class and remove all the QI/AddRef/Release overrides. >e already implement nsIDOMSVGElement mostly in a base class, right?
Assignee | ||
Comment 52•10 years ago
|
||
(In reply to Peter Van der Beken [:peterv] from comment #51) > Once this is done it looks like it might make sense to move nsIDOMSVGElement > to a base class and remove all the QI/AddRef/Release overrides. >e already > implement nsIDOMSVGElement mostly in a base class, right? Yep, that's the plan. Those should all move to nsSVGElement.
Assignee | ||
Comment 53•10 years ago
|
||
(In reply to Peter Van der Beken [:peterv] from comment #49) > Comment on attachment 705005 [details] [diff] [review] > svg > > Review of attachment 705005 [details] [diff] [review]: > ----------------------------------------------------------------- > > It doesn't seem right to ignore errors returned from > SetCurrentScaleTranslate. > SetCurrentScaleTranslate only fails if the arguments aren't finite, which shouldn't happen anymore. I changed it to void.
Assignee | ||
Comment 54•10 years ago
|
||
(In reply to Peter Van der Beken [:peterv] from comment #41) > Comment on attachment 704984 [details] [diff] [review] > mpath > > Review of attachment 704984 [details] [diff] [review]: > ----------------------------------------------------------------- > > ::: content/svg/content/src/SVGMPathElement.cpp > @@ +51,2 @@ > > nsIDOMSVGElement, nsIDOMSVGURIReference, > > + nsIMutationObserver) > > NS_IMPL_ISUPPORTS_INHERITED5 Can't do that because of the cycle collection.
Assignee | ||
Comment 55•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/b4673ca3facc https://hg.mozilla.org/integration/mozilla-inbound/rev/6c93f477687b https://hg.mozilla.org/integration/mozilla-inbound/rev/e48e9622ac86 https://hg.mozilla.org/integration/mozilla-inbound/rev/c0a7d480d7c2 https://hg.mozilla.org/integration/mozilla-inbound/rev/1c2c302ab9d2 https://hg.mozilla.org/integration/mozilla-inbound/rev/29b3563c4a03 https://hg.mozilla.org/integration/mozilla-inbound/rev/71060161c7e1 https://hg.mozilla.org/integration/mozilla-inbound/rev/5750a71f5f78 https://hg.mozilla.org/integration/mozilla-inbound/rev/c2fc3896a4f5 https://hg.mozilla.org/integration/mozilla-inbound/rev/208f5e11d45d https://hg.mozilla.org/integration/mozilla-inbound/rev/e43e4368470a https://hg.mozilla.org/integration/mozilla-inbound/rev/8005b24b6ce6 https://hg.mozilla.org/integration/mozilla-inbound/rev/194005810283 https://hg.mozilla.org/integration/mozilla-inbound/rev/a9ced016d1e7 https://hg.mozilla.org/integration/mozilla-inbound/rev/cf5acd1ad7c4 https://hg.mozilla.org/integration/mozilla-inbound/rev/931ee8f31546 https://hg.mozilla.org/integration/mozilla-inbound/rev/f00345f5f9ca https://hg.mozilla.org/integration/mozilla-inbound/rev/d507fe05c49c https://hg.mozilla.org/integration/mozilla-inbound/rev/f35d993f948a https://hg.mozilla.org/integration/mozilla-inbound/rev/dc3b33963618 https://hg.mozilla.org/integration/mozilla-inbound/rev/ae929c40a462 https://hg.mozilla.org/integration/mozilla-inbound/rev/ca55019ea1df https://hg.mozilla.org/integration/mozilla-inbound/rev/2d2745aa1767 https://hg.mozilla.org/integration/mozilla-inbound/rev/8ea2ed919605 https://hg.mozilla.org/integration/mozilla-inbound/rev/2e7305f65f73
Whiteboard: [leave open]
Assignee | ||
Updated•10 years ago
|
Attachment #704967 -
Flags: checkin+
Assignee | ||
Updated•10 years ago
|
Attachment #704968 -
Flags: checkin+
Assignee | ||
Updated•10 years ago
|
Attachment #704969 -
Flags: checkin+
Assignee | ||
Updated•10 years ago
|
Attachment #704971 -
Flags: checkin+
Assignee | ||
Updated•10 years ago
|
Attachment #704973 -
Flags: checkin+
Assignee | ||
Updated•10 years ago
|
Attachment #704974 -
Flags: checkin+
Assignee | ||
Updated•10 years ago
|
Attachment #704975 -
Flags: checkin+
Assignee | ||
Updated•10 years ago
|
Attachment #704977 -
Flags: checkin+
Assignee | ||
Updated•10 years ago
|
Attachment #704978 -
Flags: checkin+
Assignee | ||
Updated•10 years ago
|
Attachment #704979 -
Flags: checkin+
Assignee | ||
Updated•10 years ago
|
Attachment #704980 -
Flags: checkin+
Assignee | ||
Updated•10 years ago
|
Attachment #704981 -
Flags: checkin+
Assignee | ||
Updated•10 years ago
|
Attachment #704982 -
Flags: checkin+
Assignee | ||
Updated•10 years ago
|
Attachment #704983 -
Flags: checkin+
Assignee | ||
Updated•10 years ago
|
Attachment #704984 -
Flags: checkin+
Assignee | ||
Updated•10 years ago
|
Attachment #704986 -
Flags: checkin+
Assignee | ||
Updated•10 years ago
|
Attachment #704988 -
Flags: checkin+
Assignee | ||
Updated•10 years ago
|
Attachment #704991 -
Flags: checkin+
Assignee | ||
Updated•10 years ago
|
Attachment #704994 -
Flags: checkin+
Assignee | ||
Updated•10 years ago
|
Attachment #704995 -
Flags: checkin+
Assignee | ||
Updated•10 years ago
|
Attachment #705000 -
Flags: checkin+
Assignee | ||
Updated•10 years ago
|
Attachment #705001 -
Flags: checkin+
Assignee | ||
Updated•10 years ago
|
Attachment #705003 -
Flags: checkin+
Assignee | ||
Updated•10 years ago
|
Attachment #705200 -
Flags: checkin+
Comment 56•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/b4673ca3facc https://hg.mozilla.org/mozilla-central/rev/6c93f477687b https://hg.mozilla.org/mozilla-central/rev/e48e9622ac86 https://hg.mozilla.org/mozilla-central/rev/c0a7d480d7c2 https://hg.mozilla.org/mozilla-central/rev/1c2c302ab9d2 https://hg.mozilla.org/mozilla-central/rev/29b3563c4a03 https://hg.mozilla.org/mozilla-central/rev/71060161c7e1 https://hg.mozilla.org/mozilla-central/rev/5750a71f5f78 https://hg.mozilla.org/mozilla-central/rev/c2fc3896a4f5 https://hg.mozilla.org/mozilla-central/rev/208f5e11d45d https://hg.mozilla.org/mozilla-central/rev/e43e4368470a https://hg.mozilla.org/mozilla-central/rev/8005b24b6ce6 https://hg.mozilla.org/mozilla-central/rev/194005810283 https://hg.mozilla.org/mozilla-central/rev/a9ced016d1e7 https://hg.mozilla.org/mozilla-central/rev/cf5acd1ad7c4 https://hg.mozilla.org/mozilla-central/rev/931ee8f31546 https://hg.mozilla.org/mozilla-central/rev/f00345f5f9ca https://hg.mozilla.org/mozilla-central/rev/d507fe05c49c https://hg.mozilla.org/mozilla-central/rev/f35d993f948a https://hg.mozilla.org/mozilla-central/rev/dc3b33963618 https://hg.mozilla.org/mozilla-central/rev/ae929c40a462 https://hg.mozilla.org/mozilla-central/rev/ca55019ea1df https://hg.mozilla.org/mozilla-central/rev/2d2745aa1767 https://hg.mozilla.org/mozilla-central/rev/8ea2ed919605 https://hg.mozilla.org/mozilla-central/rev/2e7305f65f73
Assignee | ||
Comment 57•10 years ago
|
||
Attachment #710503 -
Flags: review?(peterv)
Assignee | ||
Comment 58•10 years ago
|
||
Attachment #710505 -
Flags: review?(peterv)
Assignee | ||
Comment 59•10 years ago
|
||
Attachment #710506 -
Flags: review?(peterv)
Assignee | ||
Comment 60•10 years ago
|
||
Attachment #710507 -
Flags: review?(peterv)
Assignee | ||
Comment 61•10 years ago
|
||
Attachment #710508 -
Flags: review?(peterv)
Assignee | ||
Comment 62•10 years ago
|
||
Attachment #710509 -
Flags: review?(peterv)
Assignee | ||
Comment 63•10 years ago
|
||
Attachment #710510 -
Flags: review?(peterv)
Assignee | ||
Comment 64•10 years ago
|
||
Assignee | ||
Comment 65•10 years ago
|
||
Attachment #710512 -
Flags: review?(peterv)
Assignee | ||
Comment 66•10 years ago
|
||
Attachment #710513 -
Flags: review?(peterv)
Assignee | ||
Comment 67•10 years ago
|
||
Attachment #710514 -
Flags: review?(peterv)
Assignee | ||
Comment 68•10 years ago
|
||
Attachment #710515 -
Flags: review?(peterv)
Assignee | ||
Updated•10 years ago
|
Attachment #710511 -
Flags: review?(peterv)
Comment 69•10 years ago
|
||
Comment on attachment 710503 [details] [diff] [review] svg v2 Review of attachment 710503 [details] [diff] [review]: ----------------------------------------------------------------- ::: content/svg/content/src/SVGSVGElement.cpp @@ +80,5 @@ > > void > DOMSVGTranslatePoint::SetX(float aValue, ErrorResult& rv) > { > + mElement->SetCurrentTranslate(aValue, mPt.GetY()); Does that mean we can remove the ErrorResult for these? @@ -722,3 @@ > SVGSVGElement::SetCurrentScaleTranslate(float s, float x, float y) > { > - NS_ENSURE_FINITE3(s, x, y, NS_ERROR_ILLEGAL_VALUE); Want to remove the definition of that macro too?
Attachment #710503 -
Flags: review?(peterv) → review+
Updated•10 years ago
|
Attachment #710505 -
Flags: review?(peterv) → review+
Updated•10 years ago
|
Attachment #710506 -
Flags: review?(peterv) → review+
Updated•10 years ago
|
Attachment #710507 -
Flags: review?(peterv) → review+
Updated•10 years ago
|
Attachment #710508 -
Flags: review?(peterv) → review+
Comment 70•10 years ago
|
||
Comment on attachment 710509 [details] [diff] [review] view Review of attachment 710509 [details] [diff] [review]: ----------------------------------------------------------------- ::: content/svg/content/src/SVGViewElement.cpp @@ +49,5 @@ > > SVGViewElement::SVGViewElement(already_AddRefed<nsINodeInfo> aNodeInfo) > : SVGViewElementBase(aNodeInfo) > { > + SetIsDOMBinding(); Ouch.
Attachment #710509 -
Flags: review?(peterv) → review+
Updated•10 years ago
|
Attachment #710510 -
Flags: review?(peterv) → review+
Comment 71•10 years ago
|
||
Comment on attachment 710512 [details] [diff] [review] a Review of attachment 710512 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/interfaces/svg/nsIDOMSVGAElement.idl @@ +12,3 @@ > > [scriptable, uuid(6e0eff6e-ce35-4c01-ab3c-ae81b79b40ca)] > +interface nsIDOMSVGAElement : nsISupports Why are we keeping this? Addons?
Attachment #710512 -
Flags: review?(peterv) → review+
Updated•10 years ago
|
Attachment #710513 -
Flags: review?(peterv) → review+
Updated•10 years ago
|
Attachment #710514 -
Flags: review?(peterv) → review+
Comment 72•10 years ago
|
||
Comment on attachment 710515 [details] [diff] [review] image Review of attachment 710515 [details] [diff] [review]: ----------------------------------------------------------------- ::: content/svg/content/src/SVGImageElement.cpp @@ +44,5 @@ > // nsISupports methods > > +NS_IMPL_ISUPPORTS_INHERITED7(SVGImageElement, SVGImageElementBase, > + nsIDOMNode, nsIDOMElement, > + nsIDOMSVGElement, So I have a question about these gutted interfaces, do we not want to support QI with them anymore? And why do we still inherit from them? Same for SVGAElement.
Assignee | ||
Comment 73•10 years ago
|
||
(In reply to Peter Van der Beken [:peterv] from comment #69) > Comment on attachment 710503 [details] [diff] [review] > svg v2 > > Review of attachment 710503 [details] [diff] [review]: > ----------------------------------------------------------------- > > ::: content/svg/content/src/SVGSVGElement.cpp > @@ +80,5 @@ > > > > void > > DOMSVGTranslatePoint::SetX(float aValue, ErrorResult& rv) > > { > > + mElement->SetCurrentTranslate(aValue, mPt.GetY()); > > Does that mean we can remove the ErrorResult for these? No, because this method is declared in nsISVGPoint and DOMSVGPoint's SetX does throw.
Assignee | ||
Comment 74•10 years ago
|
||
(In reply to Peter Van der Beken [:peterv] from comment #71) > Comment on attachment 710512 [details] [diff] [review] > a > > Review of attachment 710512 [details] [diff] [review]: > ----------------------------------------------------------------- > > ::: dom/interfaces/svg/nsIDOMSVGAElement.idl > @@ +12,3 @@ > > > > [scriptable, uuid(6e0eff6e-ce35-4c01-ab3c-ae81b79b40ca)] > > +interface nsIDOMSVGAElement : nsISupports > > Why are we keeping this? Addons? We have chrome code that does |node instanceof SVGAElement| so we need to keep this interface until you land bug 838269.
Assignee | ||
Comment 75•10 years ago
|
||
(In reply to Peter Van der Beken [:peterv] from comment #72) > Comment on attachment 710515 [details] [diff] [review] > image > > Review of attachment 710515 [details] [diff] [review]: > ----------------------------------------------------------------- > > ::: content/svg/content/src/SVGImageElement.cpp > @@ +44,5 @@ > > // nsISupports methods > > > > +NS_IMPL_ISUPPORTS_INHERITED7(SVGImageElement, SVGImageElementBase, > > + nsIDOMNode, nsIDOMElement, > > + nsIDOMSVGElement, > > So I have a question about these gutted interfaces, do we not want to > support QI with them anymore? And why do we still inherit from them? > > Same for SVGAElement. Oops, I shouldn't have removed the QI for nsIDOMSVGImageElement. So we need to keep this QI and the inheritance until cross-global instanceof. (In reply to Peter Van der Beken [:peterv] from comment #70) > Comment on attachment 710509 [details] [diff] [review] > view > > Review of attachment 710509 [details] [diff] [review]: > ----------------------------------------------------------------- > > ::: content/svg/content/src/SVGViewElement.cpp > @@ +49,5 @@ > > > > SVGViewElement::SVGViewElement(already_AddRefed<nsINodeInfo> aNodeInfo) > > : SVGViewElementBase(aNodeInfo) > > { > > + SetIsDOMBinding(); > > Ouch. Good thing tests caught this when I changed GetClassInfo to return null.
Assignee | ||
Comment 76•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/1a7581b871cc https://hg.mozilla.org/integration/mozilla-inbound/rev/5b925d66da97 https://hg.mozilla.org/integration/mozilla-inbound/rev/eb13995c3194 https://hg.mozilla.org/integration/mozilla-inbound/rev/1940a3d1c6d4 https://hg.mozilla.org/integration/mozilla-inbound/rev/3386125bdee1 https://hg.mozilla.org/integration/mozilla-inbound/rev/769c0e448e1a https://hg.mozilla.org/integration/mozilla-inbound/rev/2e7e629ad4b9
Assignee | ||
Updated•10 years ago
|
Attachment #710503 -
Flags: checkin+
Assignee | ||
Updated•10 years ago
|
Attachment #710505 -
Flags: checkin+
Assignee | ||
Updated•10 years ago
|
Attachment #710506 -
Flags: checkin+
Assignee | ||
Updated•10 years ago
|
Attachment #710507 -
Flags: checkin+
Assignee | ||
Updated•10 years ago
|
Attachment #710508 -
Flags: checkin+
Assignee | ||
Updated•10 years ago
|
Attachment #710509 -
Flags: checkin+
Assignee | ||
Updated•10 years ago
|
Attachment #710510 -
Flags: checkin+
Comment 77•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/1a7581b871cc https://hg.mozilla.org/mozilla-central/rev/5b925d66da97 https://hg.mozilla.org/mozilla-central/rev/eb13995c3194 https://hg.mozilla.org/mozilla-central/rev/1940a3d1c6d4 https://hg.mozilla.org/mozilla-central/rev/3386125bdee1 https://hg.mozilla.org/mozilla-central/rev/769c0e448e1a https://hg.mozilla.org/mozilla-central/rev/2e7e629ad4b9
Updated•10 years ago
|
Attachment #705005 -
Attachment is obsolete: true
Assignee | ||
Comment 78•10 years ago
|
||
Attachment #710511 -
Attachment is obsolete: true
Attachment #710511 -
Flags: review?(peterv)
Attachment #714982 -
Flags: review?(peterv)
Assignee | ||
Comment 79•10 years ago
|
||
Attachment #710515 -
Attachment is obsolete: true
Attachment #710515 -
Flags: review?(peterv)
Attachment #714983 -
Flags: review?(peterv)
Updated•10 years ago
|
Attachment #714982 -
Flags: review?(peterv) → review+
Updated•10 years ago
|
Attachment #714983 -
Flags: review?(peterv) → review+
Assignee | ||
Comment 80•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/beca55561747 https://hg.mozilla.org/integration/mozilla-inbound/rev/0ea520af174e https://hg.mozilla.org/integration/mozilla-inbound/rev/e20ec1200920 https://hg.mozilla.org/integration/mozilla-inbound/rev/85addbf2e264 https://hg.mozilla.org/integration/mozilla-inbound/rev/29181e9515ec
Whiteboard: [leave open]
Comment 81•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/beca55561747 https://hg.mozilla.org/mozilla-central/rev/0ea520af174e https://hg.mozilla.org/mozilla-central/rev/e20ec1200920 https://hg.mozilla.org/mozilla-central/rev/85addbf2e264 https://hg.mozilla.org/mozilla-central/rev/29181e9515ec
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
You need to log in
before you can comment on or make changes to this bug.
Description
•