summaryrefslogtreecommitdiffstats
path: root/chrome/test
diff options
context:
space:
mode:
authoraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-11 17:38:56 +0000
committeraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-11 17:38:56 +0000
commite6ba241000ba3d0ba7335cf6ffb0b1c9fcf9bdd1 (patch)
treea6bd0c41fa4e558a6b774367b870341d54800b65 /chrome/test
parent1c99edc8d48f94702ac085197779ea22b820549b (diff)
downloadchromium_src-e6ba241000ba3d0ba7335cf6ffb0b1c9fcf9bdd1.zip
chromium_src-e6ba241000ba3d0ba7335cf6ffb0b1c9fcf9bdd1.tar.gz
chromium_src-e6ba241000ba3d0ba7335cf6ffb0b1c9fcf9bdd1.tar.bz2
Forbid hybrid apps.
BUG=49234 Review URL: http://codereview.chromium.org/3123004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55750 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test')
-rw-r--r--chrome/test/data/extensions/manifest_tests/disallow_hybrid_1.json18
-rw-r--r--chrome/test/data/extensions/manifest_tests/disallow_hybrid_2.json18
2 files changed, 36 insertions, 0 deletions
diff --git a/chrome/test/data/extensions/manifest_tests/disallow_hybrid_1.json b/chrome/test/data/extensions/manifest_tests/disallow_hybrid_1.json
new file mode 100644
index 0000000..8cca112
--- /dev/null
+++ b/chrome/test/data/extensions/manifest_tests/disallow_hybrid_1.json
@@ -0,0 +1,18 @@
+{
+ "name": "test",
+ "version": "1",
+ "app": {
+ "urls": [
+ "http://www.google.com/mail/",
+ "http://www.google.com/foobar/"
+ ],
+ "launch": {
+ "container": "window",
+ "web_url": "http://www.google.com/mail/"
+ }
+ },
+ "permissions": [
+ "notifications"
+ ],
+ "browser_action": {}
+}
diff --git a/chrome/test/data/extensions/manifest_tests/disallow_hybrid_2.json b/chrome/test/data/extensions/manifest_tests/disallow_hybrid_2.json
new file mode 100644
index 0000000..bad2e6c
--- /dev/null
+++ b/chrome/test/data/extensions/manifest_tests/disallow_hybrid_2.json
@@ -0,0 +1,18 @@
+{
+ "name": "test",
+ "version": "1",
+ "app": {
+ "urls": [
+ "http://www.google.com/mail/",
+ "http://www.google.com/foobar/"
+ ],
+ "launch": {
+ "container": "window",
+ "web_url": "http://www.google.com/mail/"
+ }
+ },
+ "permissions": [
+ "notifications"
+ ],
+ "background_page": "foo.html"
+}