summaryrefslogtreecommitdiffstats
path: root/chrome/test/data
diff options
context:
space:
mode:
authoraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-20 20:38:43 +0000
committeraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-20 20:38:43 +0000
commite66de89ab98e011edcda88974421417eec153f9a (patch)
treeb080787323749397a19008b0d6fdaf5db1c84d94 /chrome/test/data
parent3be0198c07fd435236c9482fc6c5bc3c00ac8ba6 (diff)
downloadchromium_src-e66de89ab98e011edcda88974421417eec153f9a.zip
chromium_src-e66de89ab98e011edcda88974421417eec153f9a.tar.gz
chromium_src-e66de89ab98e011edcda88974421417eec153f9a.tar.bz2
Allow multiple js files per content script. Thanks to georged for making this so easy.
Review URL: http://codereview.chromium.org/42438 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12210 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/data')
-rw-r--r--chrome/test/data/extensions/good/extension1/1/manifest.json6
-rw-r--r--chrome/test/data/extensions/ui/create_extension_detail_value_expected_output/good-extension1.json6
2 files changed, 2 insertions, 10 deletions
diff --git a/chrome/test/data/extensions/good/extension1/1/manifest.json b/chrome/test/data/extensions/good/extension1/1/manifest.json
index e64b1d0..16f7d6b 100644
--- a/chrome/test/data/extensions/good/extension1/1/manifest.json
+++ b/chrome/test/data/extensions/good/extension1/1/manifest.json
@@ -8,14 +8,10 @@
"content_scripts": [
{
"matches": ["http://*.google.com/*", "https://*.google.com/*"],
- "js": ["script1.js"],
+ "js": ["script1.js", "script2.js"],
"css": ["style1.css", "style2.css", "style2.css"]
},
{
- "matches": ["http://*.yahoo.com/*"],
- "js": ["script2.js"]
- },
- {
"matches": ["http://*.news.com/*"],
"js": ["js_files/script3.js"]
}
diff --git a/chrome/test/data/extensions/ui/create_extension_detail_value_expected_output/good-extension1.json b/chrome/test/data/extensions/ui/create_extension_detail_value_expected_output/good-extension1.json
index e4e4b4d..712ca55 100644
--- a/chrome/test/data/extensions/ui/create_extension_detail_value_expected_output/good-extension1.json
+++ b/chrome/test/data/extensions/ui/create_extension_detail_value_expected_output/good-extension1.json
@@ -5,14 +5,10 @@
"content_scripts": [
{
"matches": ["http://*.google.com/*", "https://*.google.com/*"],
- "js": ["script1.js"],
+ "js": ["script1.js", "script2.js"],
"css": ["style1.css", "style2.css", "style2.css"]
},
{
- "matches": ["http://*.yahoo.com/*"],
- "js": ["script2.js"]
- },
- {
"matches": ["http://*.news.com/*"],
"js": ["js_files/script3.js"]
}