mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Sync WebIDL.py with gecko
This commit is contained in:
parent
5fdc7c0d2c
commit
56f31c85ef
35 changed files with 727 additions and 221 deletions
|
@ -1,7 +1,7 @@
|
|||
--- WebIDL.py
|
||||
+++ WebIDL.py
|
||||
@@ -2275,7 +2275,7 @@ class IDLUnresolvedType(IDLType):
|
||||
return typedefType.complete(scope)
|
||||
@@ -2283,7 +2283,7 @@ class IDLUnresolvedType(IDLType):
|
||||
return typedefType.complete(scope).withExtendedAttributes(self.extraTypeAttributes)
|
||||
elif obj.isCallback() and not obj.isInterface():
|
||||
assert self.name.name == obj.identifier.name
|
||||
- return IDLCallbackType(self.location, obj)
|
||||
|
@ -9,7 +9,7 @@
|
|||
|
||||
name = self.name.resolve(scope, None)
|
||||
return IDLWrapperType(self.location, obj)
|
||||
@@ -6688,7 +6688,7 @@ class Parser(Tokenizer):
|
||||
@@ -6854,7 +6854,7 @@ class Parser(Tokenizer):
|
||||
type = IDLTypedefType(self.getLocation(p, 1), obj.innerType,
|
||||
obj.identifier.name)
|
||||
elif obj.isCallback() and not obj.isInterface():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue