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

Unified Diff: extensions/common/api/runtime.json

Issue 1282263002: Restrict chrome.runtime.setUninstallURL to http(s) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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: extensions/common/api/runtime.json
diff --git a/extensions/common/api/runtime.json b/extensions/common/api/runtime.json
index 2c80cea9a936c0f312fdfe80a5ee995aad931315..8c3356af17ef0a6b0a8ed73f9acbb8ece6472569 100644
--- a/extensions/common/api/runtime.json
+++ b/extensions/common/api/runtime.json
@@ -191,7 +191,15 @@
{
"type": "string",
"name": "url",
- "maxLength": 255
+ "maxLength": 255,
+ "description": "URL to be opened after the extension is uninstalled. This must be a HTTP or HTTPS URL. Set an empty string to not open a new tab upon uninstallation."
not at google - send to devlin 2015/08/10 22:33:02 "a HTTP" --> "an HTTP" and really it's more corre
+ },
+ {
+ "type": "function",
+ "name": "callback",
+ "optional": true,
+ "description": "Called when the uninstall URL is set. If the given URL is invalid, $(ref:runtime.lastError) will be set.",
+ "parameters": []
}
]
},

Powered by Google App Engine
This is Rietveld 408576698