mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-11 16:32:59 +00:00
Bug 1056316 - Prune out obsolete cases from error message about combining Throws with other things. r=bz
This commit is contained in:
parent
18cd0d23cb
commit
8b0074dc93
@ -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():
|
||||
|
Loading…
Reference in New Issue
Block a user