Bug 1125647 - mark some webidl attributes as [Pure]. r=bzbarsky

This commit is contained in:
Robert Longson 2015-01-27 13:39:48 +00:00
parent ca56673ea3
commit 4824522b1c
2 changed files with 3 additions and 1 deletions

View File

@ -10,6 +10,6 @@
interface SVGDocument : Document {
[Throws]
readonly attribute DOMString domain;
[Throws]
[Pure, Throws]
readonly attribute SVGElement? rootElement;
};

View File

@ -34,7 +34,9 @@ interface SVGPathSeg {
const unsigned short PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS = 18;
const unsigned short PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL = 19;
[Pure]
readonly attribute unsigned short pathSegType;
[Pure]
readonly attribute DOMString pathSegTypeAsLetter;
};