Bug 1056316 - Prune out obsolete cases from error message about combining Throws with other things. r=bz

This commit is contained in:
Andrew McCreight 2014-08-21 14:31:43 -07:00
parent 18cd0d23cb
commit 8b0074dc93

View File

@ -3197,8 +3197,7 @@ class IDLAttribute(IDLInterfaceMember):
(identifier == "StoreInSlot" and
(self.getExtendedAttribute("Throws") or
self.getExtendedAttribute("GetterThrows")))):
raise WebIDLError("Throwing things can't be [Pure] or [Constant] "
"or [SameObject] or [StoreInSlot]",
raise WebIDLError("Throwing things can't be [StoreInSlot]",
[attr.location])
elif identifier == "LenientThis":
if not attr.noArguments():