diff --git a/test/syntax/json/record.json b/test/syntax/json/record.json index 7f4585f9..dd00b5df 100644 --- a/test/syntax/json/record.json +++ b/test/syntax/json/record.json @@ -85,14 +85,14 @@ "idlType": "DOMString" }, { - "type": null, + "type": "return-type", "sequence": false, "generic": null, "nullable": true, "union": true, "idlType": [ { - "type": "return-type", + "type": null, "sequence": false, "generic": null, "nullable": false, @@ -100,7 +100,7 @@ "idlType": "float" }, { - "type": "return-type", + "type": null, "sequence": false, "generic": null, "nullable": false, diff --git a/test/syntax/json/typedef-union.json b/test/syntax/json/typedef-union.json index b80eb457..06735a80 100644 --- a/test/syntax/json/typedef-union.json +++ b/test/syntax/json/typedef-union.json @@ -2,14 +2,14 @@ { "type": "typedef", "idlType": { - "type": null, + "type": "typedef-type", "sequence": false, "generic": null, "nullable": false, "union": true, "idlType": [ { - "type": "typedef-type", + "type": null, "sequence": false, "generic": null, "nullable": false, @@ -17,7 +17,7 @@ "idlType": "ImageData" }, { - "type": "typedef-type", + "type": null, "sequence": false, "generic": null, "nullable": false, @@ -25,7 +25,7 @@ "idlType": "HTMLImageElement" }, { - "type": "typedef-type", + "type": null, "sequence": false, "generic": null, "nullable": false, @@ -33,7 +33,7 @@ "idlType": "HTMLCanvasElement" }, { - "type": "typedef-type", + "type": null, "sequence": false, "generic": null, "nullable": false,