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

Unified Diff: chrome/test/data/extensions/manifest_tests/init_valid_app_requirements.json

Issue 8200015: Add support for an optional "requirements" section in extension/app manifests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 2 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/test/data/extensions/manifest_tests/init_valid_app_requirements.json
diff --git a/chrome/test/data/extensions/manifest_tests/init_valid_app_requirements.json b/chrome/test/data/extensions/manifest_tests/init_valid_app_requirements.json
new file mode 100644
index 0000000000000000000000000000000000000000..c6b82aa1748e3c6162bec3c2ffefce8b6d46a319
--- /dev/null
+++ b/chrome/test/data/extensions/manifest_tests/init_valid_app_requirements.json
@@ -0,0 +1,17 @@
+{
+ "name": "Requirements Hosted App",
+ "version": "0",
+ "app": {
+ "launch": {
+ "web_url": "http://example.com"
+ },
+ "urls": [
+ "http://*.example.com"
+ ]
+ },
+ "requirements": {
+ "webgl": {
+ "extensions": ["l33t OpenGL extension"]
+ }
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698