Closed mdittmer closed 7 years ago
Error-reporting example from /analyze_idl.html#l=181&r=908&i=ANY&c=rightMissingConstructor
:
ERRR Parse "CustomEvent" is missing Constructor.
Left has constructors: [
{
"args": [
{
"name": "type",
"type": {
"name": "DOMString"
}
},
{
"name": "eventInitDict",
"optional": true,
"type": {
"name": "CustomEventInit"
}
}
],
"name": "Constructor"
}
]
ERRR Parse "Document" is missing Constructor.
Left has constructors: [
{
"name": "Constructor"
}
]
ERRR Parse "MessageChannel" is missing Constructor.
Left has constructors: [
{
"name": "Constructor"
}
]
ERRR Parse "ClipboardEvent" is missing Constructor.
Left has constructors: [
{
"args": [
{
"name": "type",
"type": {
"name": "DOMString"
}
},
{
"name": "eventInitDict",
"optional": true,
"type": {
"name": "ClipboardEventInit"
}
}
],
"name": "Constructor"
}
]
… Also made pass/fail logging optional in check() helper.
@LoonyBean PTAL.