зеркало из https://github.com/mozilla/gecko-dev.git
No bug - Improve error message when declaring an interface both as WebIDL and external in Bindings.conf; r=bz
This commit is contained in:
Родитель
87e4507ff2
Коммит
d67c69ab38
|
@ -567,6 +567,8 @@ DOMInterfaces = {
|
|||
|
||||
# These are temporary, until they've been converted to use new DOM bindings
|
||||
def addExternalIface(iface, nativeType=None, headerFile=None):
|
||||
if iface in DOMInterfaces:
|
||||
raise Exception('Interface declared both as WebIDL and External interface')
|
||||
domInterface = {
|
||||
'concrete': False
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче