diff options
author | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-19 07:03:05 +0000 |
---|---|---|
committer | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-19 07:03:05 +0000 |
commit | 34aa8dce3a72a232fc92a5d95dffed3ac6ef00f8 (patch) | |
tree | 32d8153672624940da096cf136e37915468bb946 /chrome/test/data | |
parent | 082d3cae492040ea1a433b067d82654e98d59bf4 (diff) | |
download | chromium_src-34aa8dce3a72a232fc92a5d95dffed3ac6ef00f8.zip chromium_src-34aa8dce3a72a232fc92a5d95dffed3ac6ef00f8.tar.gz chromium_src-34aa8dce3a72a232fc92a5d95dffed3ac6ef00f8.tar.bz2 |
Manifest renames.
Renamed "user_scripts" back to "content_scripts"
and "files" to "js". The latter I'm a bit unsure
about and would like feedback on.
Frequently, authors only need to inject CSS, not
JS (witness usersstyles.org and the Stylish
Firefox extension). Making CSS injection first-
class allows us to tighten permissions for that
case and gives a fast path when that is all
authors want to do.
So I renamed "files" to "js" so that we could
someday have "css", too.
Review URL: http://codereview.chromium.org/21422
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10007 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/data')
-rw-r--r-- | chrome/test/data/extensions/bad_hash.crx | bin | 1360 -> 885 bytes | |||
-rw-r--r-- | chrome/test/data/extensions/bad_json.crx | bin | 1360 -> 901 bytes | |||
-rw-r--r-- | chrome/test/data/extensions/bad_magic.crx | bin | 1360 -> 946 bytes | |||
-rw-r--r-- | chrome/test/data/extensions/good.crx | bin | 1360 -> 946 bytes | |||
-rw-r--r-- | chrome/test/data/extensions/good/extension1/1/manifest.json | 6 |
5 files changed, 3 insertions, 3 deletions
diff --git a/chrome/test/data/extensions/bad_hash.crx b/chrome/test/data/extensions/bad_hash.crx Binary files differindex 9959e9c..8add85c 100644 --- a/chrome/test/data/extensions/bad_hash.crx +++ b/chrome/test/data/extensions/bad_hash.crx diff --git a/chrome/test/data/extensions/bad_json.crx b/chrome/test/data/extensions/bad_json.crx Binary files differindex cc15c0e..f249711 100644 --- a/chrome/test/data/extensions/bad_json.crx +++ b/chrome/test/data/extensions/bad_json.crx diff --git a/chrome/test/data/extensions/bad_magic.crx b/chrome/test/data/extensions/bad_magic.crx Binary files differindex 4603e00..da66e12 100644 --- a/chrome/test/data/extensions/bad_magic.crx +++ b/chrome/test/data/extensions/bad_magic.crx diff --git a/chrome/test/data/extensions/good.crx b/chrome/test/data/extensions/good.crx Binary files differindex c2108e2..722e753 100644 --- a/chrome/test/data/extensions/good.crx +++ b/chrome/test/data/extensions/good.crx diff --git a/chrome/test/data/extensions/good/extension1/1/manifest.json b/chrome/test/data/extensions/good/extension1/1/manifest.json index 1f5e362..ebf69d0 100644 --- a/chrome/test/data/extensions/good/extension1/1/manifest.json +++ b/chrome/test/data/extensions/good/extension1/1/manifest.json @@ -4,14 +4,14 @@ "version": "1.0.0.0",
"name": "My extension 1",
"description": "The first extension that I made.",
- "user_scripts": [
+ "content_scripts": [
{
"matches": ["http://*.google.com/*", "https://*.google.com/*"],
- "files": ["script1.js"]
+ "js": ["script1.js"]
},
{
"matches": ["http://*.yahoo.com/*"],
- "files": ["script2.js"]
+ "js": ["script2.js"]
}
]
}
|