From ad3dd26733092a11b1ae2ed811d702302fe6948c Mon Sep 17 00:00:00 2001 From: Kunal Mehta Date: Mon, 25 Jul 2016 15:36:12 -0700 Subject: [PATCH] registration: Fix "config" schema validation The "properties" field is only interpreted if the value is an object, which was not being required. Add that missing type in, so manifest_version 1 type config entries should fail. Bug: T141289 Change-Id: Iffb084eb7a81a398a74370a1f9561198a88f5779 --- docs/extension.schema.json | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/extension.schema.json b/docs/extension.schema.json index 9c8160da24..f2406c8ee7 100644 --- a/docs/extension.schema.json +++ b/docs/extension.schema.json @@ -867,6 +867,7 @@ "description": "Configuration options for this extension", "patternProperties": { "^[a-zA-Z_\u007f-\u00ff][a-zA-Z0-9_\u007f-\u00ff]*$": { + "type": "object", "properties": { "value": { "required": true -- 2.20.1