Index: extensions/renderer/resources/json_schema.js |
diff --git a/extensions/renderer/resources/json_schema.js b/extensions/renderer/resources/json_schema.js |
index 67c30c9ac0cbc6e81028b8d980cd4c8a95d96b5e..ceaf3991a1a7f063323bc66c088332869fd98317 100644 |
--- a/extensions/renderer/resources/json_schema.js |
+++ b/extensions/renderer/resources/json_schema.js |
@@ -153,7 +153,7 @@ JSONSchemaValidator.getType = function(value) { |
JSONSchemaValidator.prototype.addTypes = function(typeOrTypeList) { |
function addType(validator, type) { |
if (!type.id) |
- throw new Error("Attempt to addType with missing 'id' property"); |
+ throw new $Error.self("Attempt to addType with missing 'id' property"); |
validator.types[type.id] = type; |
} |