mirror of
https://github.com/servo/servo.git
synced 2025-07-12 18:03:49 +01:00
Backed out changeset dd834d38eaab for Windows debug build bustage
Backs out https://github.com/servo/servo/pull/19133
This commit is contained in:
parent
7ae852b673
commit
38b9a543a3
3 changed files with 2 additions and 11 deletions
|
@ -4,7 +4,7 @@
|
|||
|
||||
import os
|
||||
|
||||
from WebIDL import IDLExternalInterface, IDLSequenceType, IDLWrapperType, WebIDLError
|
||||
from WebIDL import IDLExternalInterface, IDLWrapperType, WebIDLError
|
||||
|
||||
|
||||
class Configuration:
|
||||
|
@ -457,7 +457,7 @@ def getTypesFromDictionary(dictionary):
|
|||
types = []
|
||||
curDict = dictionary
|
||||
while curDict:
|
||||
types.extend([getUnwrappedType(m.type) for m in curDict.members])
|
||||
types.extend([m.type for m in curDict.members])
|
||||
curDict = curDict.parent
|
||||
return types
|
||||
|
||||
|
@ -473,12 +473,6 @@ def getTypesFromCallback(callback):
|
|||
return types
|
||||
|
||||
|
||||
def getUnwrappedType(type):
|
||||
if isinstance(type, IDLSequenceType):
|
||||
return type.inner
|
||||
return type
|
||||
|
||||
|
||||
def iteratorNativeType(descriptor, infer=False):
|
||||
assert descriptor.interface.isIterable()
|
||||
iterableDecl = descriptor.interface.maplikeOrSetlikeOrIterable
|
||||
|
|
|
@ -390,7 +390,6 @@ impl TestBindingMethods for TestBinding {
|
|||
octetValue: None,
|
||||
requiredValue: true,
|
||||
seqDict: None,
|
||||
elementSequence: None,
|
||||
shortValue: None,
|
||||
stringValue: None,
|
||||
type_: Some(DOMString::from("success")),
|
||||
|
|
|
@ -34,8 +34,6 @@ dictionary TestDictionary {
|
|||
object objectValue;
|
||||
TestDictionaryDefaults dict;
|
||||
sequence<TestDictionaryDefaults> seqDict;
|
||||
// Testing codegen to import Element correctly, ensure no other code references Element directly
|
||||
sequence<Element> elementSequence;
|
||||
// Reserved rust keyword
|
||||
DOMString type;
|
||||
// These are used to test bidirectional conversion
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue