Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7671)

Unified Diff: chrome/common/extensions/api/extension.json

Issue 9584021: Improve implementation of isInstanceOf in JSONSchemaValidator. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove a test that cannot work anymore, update docs Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/api/extension.json
diff --git a/chrome/common/extensions/api/extension.json b/chrome/common/extensions/api/extension.json
index 0ac4a34d7ffa3ee24eb7e08b438f3797802e50a7..5aca5e42aadd994ae2e34ae9a5f1400965226700 100644
--- a/chrome/common/extensions/api/extension.json
+++ b/chrome/common/extensions/api/extension.json
@@ -148,7 +148,7 @@
"returns": {
"type": "array",
"description": "Array of global objects",
- "items": { "type": "object", "isInstanceOf": "Window", "additionalProperties": { "type": "any" } }
+ "items": { "type": "object", "isInstanceOf": "global", "additionalProperties": { "type": "any" } }
}
},
{
@@ -157,7 +157,7 @@
"description": "Returns the JavaScript 'window' object for the background page running inside the current extension. Returns null if the extension has no background page.",
"parameters": [],
"returns": {
- "type": "object", "isInstanceOf": "Window", "additionalProperties": { "type": "any" }
+ "type": "object", "isInstanceOf": "global", "additionalProperties": { "type": "any" }
}
},
{
@@ -172,7 +172,7 @@
"returns": {
"type": "array",
"description": "Array of global window objects",
- "items": { "type": "object", "isInstanceOf": "Window", "additionalProperties": { "type": "any" } }
+ "items": { "type": "object", "isInstanceOf": "global", "additionalProperties": { "type": "any" } }
}
},
{
« no previous file with comments | « no previous file | chrome/common/extensions/docs/extension.html » ('j') | chrome/renderer/resources/extensions/json_schema.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698