зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1056316 - Prune out obsolete cases from error message about combining Throws with other things. r=bz
This commit is contained in:
Родитель
18cd0d23cb
Коммит
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():
|
||||
|
|
Загрузка…
Ссылка в новой задаче