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
Родитель 18cd0d23cb
Коммит 8b0074dc93
1 изменённых файлов: 1 добавлений и 2 удалений

Просмотреть файл

@ -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():