summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-11 01:11:12 +0000
committeraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-11 01:11:12 +0000
commit01d728c3f65a597c6810ecab335cdbc2313f2347 (patch)
tree9e22760f2fb051f6b026e49be16b293f4b773886
parent6465b5483efc973ac39cd4b34da4f10348e2bb19 (diff)
downloadchromium_src-01d728c3f65a597c6810ecab335cdbc2313f2347.zip
chromium_src-01d728c3f65a597c6810ecab335cdbc2313f2347.tar.gz
chromium_src-01d728c3f65a597c6810ecab335cdbc2313f2347.tar.bz2
Convert many uses of background.page to background.scripts.
BUG=107791 Review URL: http://codereview.chromium.org/9157002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117137 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/test/data/extensions/api_test/accessibility/get_alerts_for_tab/background.html1
-rw-r--r--chrome/test/data/extensions/api_test/accessibility/get_alerts_for_tab/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/all_urls/content_script/background.html6
-rw-r--r--chrome/test/data/extensions/api_test/all_urls/content_script/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/all_urls/execute_script/background.html6
-rw-r--r--chrome/test/data/extensions/api_test/all_urls/execute_script/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/apitest/background.html6
-rw-r--r--chrome/test/data/extensions/api_test/apitest/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/browser_action/add_popup/background.html7
-rw-r--r--chrome/test/data/extensions/api_test/browser_action/add_popup/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/browser_action/basics/background.html6
-rw-r--r--chrome/test/data/extensions/api_test/browser_action/basics/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/browser_action/close_background/background.html6
-rw-r--r--chrome/test/data/extensions/api_test/browser_action/close_background/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/browser_action/no_icon/background.html6
-rw-r--r--chrome/test/data/extensions/api_test/browser_action/no_icon/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/browser_action/remove_popup/background.html7
-rw-r--r--chrome/test/data/extensions/api_test/browser_action/remove_popup/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/browser_action/tab_specific_state/background.html6
-rw-r--r--chrome/test/data/extensions/api_test/browser_action/tab_specific_state/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/chromeos_info_private/background.html6
-rw-r--r--chrome/test/data/extensions/api_test/chromeos_info_private/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/content_scripts/css_l10n/background.html6
-rw-r--r--chrome/test/data/extensions/api_test/content_scripts/css_l10n/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/content_scripts/dont_match_host_permissions/background.html6
-rw-r--r--chrome/test/data/extensions/api_test/content_scripts/dont_match_host_permissions/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/content_scripts/fragment/background.html6
-rw-r--r--chrome/test/data/extensions/api_test/content_scripts/fragment/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/content_scripts/isolated_world1/background.html6
-rw-r--r--chrome/test/data/extensions/api_test/content_scripts/isolated_world1/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/content_scripts/isolated_world2/background.html6
-rw-r--r--chrome/test/data/extensions/api_test/content_scripts/isolated_world2/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/content_scripts/view_source/background.html6
-rw-r--r--chrome/test/data/extensions/api_test/content_scripts/view_source/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/context_menus/add_from_multiple_contexts/background.html6
-rw-r--r--chrome/test/data/extensions/api_test/context_menus/add_from_multiple_contexts/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/cookies/api/background.html6
-rw-r--r--chrome/test/data/extensions/api_test/cookies/api/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/cookies/no_permission/background.html6
-rw-r--r--chrome/test/data/extensions/api_test/cookies/no_permission/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/debugger/background.html7
-rw-r--r--chrome/test/data/extensions/api_test/debugger/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/decode_jpeg/background.html7
-rw-r--r--chrome/test/data/extensions/api_test/decode_jpeg/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/events/background.html6
-rw-r--r--chrome/test/data/extensions/api_test/events/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/executescript/fragment/background.html6
-rw-r--r--chrome/test/data/extensions/api_test/executescript/fragment/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/fileapi/background.html6
-rw-r--r--chrome/test/data/extensions/api_test/fileapi/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/filebrowser_component/background.html6
-rw-r--r--chrome/test/data/extensions/api_test/filebrowser_component/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/filebrowser_mount/background.html6
-rw-r--r--chrome/test/data/extensions/api_test/filebrowser_mount/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/filesystem_handler/background.html6
-rw-r--r--chrome/test/data/extensions/api_test/filesystem_handler/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/geolocation/has_permission/background.html6
-rw-r--r--chrome/test/data/extensions/api_test/geolocation/has_permission/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/geolocation/no_permission/background.html6
-rw-r--r--chrome/test/data/extensions/api_test/geolocation/no_permission/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/incognito/apis/background.html6
-rw-r--r--chrome/test/data/extensions/api_test/incognito/apis/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/incognito/apis_disabled/background.html6
-rw-r--r--chrome/test/data/extensions/api_test/incognito/apis_disabled/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/incognito/dont_create_profile/background.html6
-rw-r--r--chrome/test/data/extensions/api_test/incognito/dont_create_profile/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/incognito/split/background.html6
-rw-r--r--chrome/test/data/extensions/api_test/incognito/split/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/input_ime/background.html6
-rw-r--r--chrome/test/data/extensions/api_test/input_ime/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/input_method/background.html6
-rw-r--r--chrome/test/data/extensions/api_test/input_method/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/lazy_background_page/broadcast_event/background.html6
-rw-r--r--chrome/test/data/extensions/api_test/lazy_background_page/broadcast_event/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/lazy_background_page/browser_action_create_tab/background.html6
-rw-r--r--chrome/test/data/extensions/api_test/lazy_background_page/browser_action_create_tab/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/lazy_background_page/browser_action_with_callback/background.html6
-rw-r--r--chrome/test/data/extensions/api_test/lazy_background_page/browser_action_with_callback/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/local_filesystem/background.html6
-rw-r--r--chrome/test/data/extensions/api_test/local_filesystem/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/management/launch_on_install/background.html13
-rw-r--r--chrome/test/data/extensions/api_test/management/launch_on_install/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/notifications/has_not_permission/background.html6
-rw-r--r--chrome/test/data/extensions/api_test/notifications/has_not_permission/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/notifications/has_permission_manifest/background.html6
-rw-r--r--chrome/test/data/extensions/api_test/notifications/has_permission_manifest/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/notifications/has_permission_prefs/background.html6
-rw-r--r--chrome/test/data/extensions/api_test/notifications/has_permission_prefs/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/override/history/background.html6
-rw-r--r--chrome/test/data/extensions/api_test/override/history/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/override/keyboard/background.html6
-rw-r--r--chrome/test/data/extensions/api_test/override/keyboard/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/override/keyboard_fails/background.html6
-rw-r--r--chrome/test/data/extensions/api_test/override/keyboard_fails/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/override/newtab/background.html6
-rw-r--r--chrome/test/data/extensions/api_test/override/newtab/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/page_action/add_popup/background.html6
-rw-r--r--chrome/test/data/extensions/api_test/page_action/add_popup/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/page_action/basics/background.html10
-rw-r--r--chrome/test/data/extensions/api_test/page_action/basics/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/page_action/crash_57333/Extension1/background.html12
-rw-r--r--chrome/test/data/extensions/api_test/page_action/crash_57333/Extension1/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/page_action/crash_57333/Extension2/background.html11
-rw-r--r--chrome/test/data/extensions/api_test/page_action/crash_57333/Extension2/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/page_action/hash_change/background.html10
-rw-r--r--chrome/test/data/extensions/api_test/page_action/hash_change/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/page_action/popup/background.html6
-rw-r--r--chrome/test/data/extensions/api_test/page_action/popup/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/page_action/remove_popup/background.html10
-rw-r--r--chrome/test/data/extensions/api_test/page_action/remove_popup/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/permissions/always_allowed/background.html6
-rw-r--r--chrome/test/data/extensions/api_test/permissions/always_allowed/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/permissions/disabled/background.html6
-rw-r--r--chrome/test/data/extensions/api_test/permissions/disabled/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/permissions/enabled/background.html6
-rw-r--r--chrome/test/data/extensions/api_test/permissions/enabled/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/permissions/experimental_disabled/background.html6
-rw-r--r--chrome/test/data/extensions/api_test/permissions/experimental_disabled/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/permissions/optional/background.html6
-rw-r--r--chrome/test/data/extensions/api_test/permissions/optional/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/permissions/optional_deny/background.html6
-rw-r--r--chrome/test/data/extensions/api_test/permissions/optional_deny/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/permissions/optional_gesture/background.html6
-rw-r--r--chrome/test/data/extensions/api_test/permissions/optional_gesture/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/processes/onupdated/background.html6
-rw-r--r--chrome/test/data/extensions/api_test/processes/onupdated/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/settings/simple_test/background.html6
-rw-r--r--chrome/test/data/extensions/api_test/settings/simple_test/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/settings/split_incognito/background.html6
-rw-r--r--chrome/test/data/extensions/api_test/settings/split_incognito/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/socket/api/background.html6
-rw-r--r--chrome/test/data/extensions/api_test/socket/api/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/storage/background.html6
-rw-r--r--chrome/test/data/extensions/api_test/storage/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/stubs/background.html6
-rw-r--r--chrome/test/data/extensions/api_test/stubs/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/system/get_update_status/background.html1
-rw-r--r--chrome/test/data/extensions/api_test/system/get_update_status/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/tabs/incognito_disabled/background.html10
-rw-r--r--chrome/test/data/extensions/api_test/tabs/incognito_disabled/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/web_socket_proxy_private/background.html6
-rw-r--r--chrome/test/data/extensions/api_test/web_socket_proxy_private/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/window_open/browser_is_app/background.html6
-rw-r--r--chrome/test/data/extensions/api_test/window_open/browser_is_app/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/window_open/close_panels_on_uninstall/background.html6
-rw-r--r--chrome/test/data/extensions/api_test/window_open/close_panels_on_uninstall/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/window_open/popup/background.html6
-rw-r--r--chrome/test/data/extensions/api_test/window_open/popup/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/window_open/popup_blocking/extension/background.html7
-rw-r--r--chrome/test/data/extensions/api_test/window_open/popup_blocking/extension/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/window_open/popup_large/background.html6
-rw-r--r--chrome/test/data/extensions/api_test/window_open/popup_large/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/window_open/popup_small/background.html6
-rw-r--r--chrome/test/data/extensions/api_test/window_open/popup_small/manifest.json2
-rw-r--r--chrome/test/data/extensions/api_test/window_open/spanning/background.html6
-rw-r--r--chrome/test/data/extensions/api_test/window_open/spanning/manifest.json2
-rw-r--r--chrome/test/data/extensions/browsertest/crash_25562/background.html8
-rw-r--r--chrome/test/data/extensions/browsertest/crash_25562/manifest.json2
-rw-r--r--chrome/test/data/extensions/browsertest/crash_44415/ExtA/background.html10
-rw-r--r--chrome/test/data/extensions/browsertest/crash_44415/ExtA/manifest.json2
-rw-r--r--chrome/test/data/extensions/browsertest/crash_44415/ExtB/background.html10
-rw-r--r--chrome/test/data/extensions/browsertest/crash_44415/ExtB/manifest.json2
-rw-r--r--chrome/test/data/extensions/browsertest/title_localized_pa/background.html8
-rw-r--r--chrome/test/data/extensions/browsertest/title_localized_pa/manifest.json2
-rw-r--r--chrome/test/data/extensions/devtools/timeline_api/background.html6
-rw-r--r--chrome/test/data/extensions/devtools/timeline_api/manifest.json2
-rw-r--r--chrome/test/data/extensions/good/Extensions/bjafgdebaacbbbecmhlhpofkepfkgcpa/1.0/background.html6
-rw-r--r--chrome/test/data/extensions/good/Extensions/bjafgdebaacbbbecmhlhpofkepfkgcpa/1.0/manifest.json2
-rw-r--r--chrome/test/data/extensions/management/uninstall_extension/background.html1
-rw-r--r--chrome/test/data/extensions/management/uninstall_extension/manifest.json2
-rw-r--r--chrome/test/data/extensions/trigger_actions/browser_action/background.html10
-rw-r--r--chrome/test/data/extensions/trigger_actions/browser_action/manifest.json2
-rw-r--r--chrome/test/data/extensions/trigger_actions/page_action/background.html10
-rw-r--r--chrome/test/data/extensions/trigger_actions/page_action/manifest.json2
-rw-r--r--chrome/test/data/extensions/trigger_actions/page_action_popup/background.html10
-rw-r--r--chrome/test/data/extensions/trigger_actions/page_action_popup/manifest.json2
176 files changed, 88 insertions, 664 deletions
diff --git a/chrome/test/data/extensions/api_test/accessibility/get_alerts_for_tab/background.html b/chrome/test/data/extensions/api_test/accessibility/get_alerts_for_tab/background.html
deleted file mode 100644
index ac3f43e..0000000
--- a/chrome/test/data/extensions/api_test/accessibility/get_alerts_for_tab/background.html
+++ /dev/null
@@ -1 +0,0 @@
-<script src="background.js"></script>
diff --git a/chrome/test/data/extensions/api_test/accessibility/get_alerts_for_tab/manifest.json b/chrome/test/data/extensions/api_test/accessibility/get_alerts_for_tab/manifest.json
index 241bea9..942f28e 100644
--- a/chrome/test/data/extensions/api_test/accessibility/get_alerts_for_tab/manifest.json
+++ b/chrome/test/data/extensions/api_test/accessibility/get_alerts_for_tab/manifest.json
@@ -3,7 +3,7 @@
"version": "0.1",
"description": "browser test for chrome.experimental.accessibility.getAlertsForTab API",
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"permissions": [
"tabs",
diff --git a/chrome/test/data/extensions/api_test/all_urls/content_script/background.html b/chrome/test/data/extensions/api_test/all_urls/content_script/background.html
deleted file mode 100644
index 176da88..0000000
--- a/chrome/test/data/extensions/api_test/all_urls/content_script/background.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<!--
- * Copyright (c) 2010 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<script src="background.js"></script>
diff --git a/chrome/test/data/extensions/api_test/all_urls/content_script/manifest.json b/chrome/test/data/extensions/api_test/all_urls/content_script/manifest.json
index 2f9acb0..816150c 100644
--- a/chrome/test/data/extensions/api_test/all_urls/content_script/manifest.json
+++ b/chrome/test/data/extensions/api_test/all_urls/content_script/manifest.json
@@ -1,6 +1,6 @@
{
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"content_scripts": [ {
"js": [ "content_script.js" ],
diff --git a/chrome/test/data/extensions/api_test/all_urls/execute_script/background.html b/chrome/test/data/extensions/api_test/all_urls/execute_script/background.html
deleted file mode 100644
index 176da88..0000000
--- a/chrome/test/data/extensions/api_test/all_urls/execute_script/background.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<!--
- * Copyright (c) 2010 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<script src="background.js"></script>
diff --git a/chrome/test/data/extensions/api_test/all_urls/execute_script/manifest.json b/chrome/test/data/extensions/api_test/all_urls/execute_script/manifest.json
index 0097b84..194ef62 100644
--- a/chrome/test/data/extensions/api_test/all_urls/execute_script/manifest.json
+++ b/chrome/test/data/extensions/api_test/all_urls/execute_script/manifest.json
@@ -1,6 +1,6 @@
{
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"description": "Test whether whitelisted extensions can run scripts everywhere using executeScript",
"name": "AllUrls execute permissions",
diff --git a/chrome/test/data/extensions/api_test/apitest/background.html b/chrome/test/data/extensions/api_test/apitest/background.html
deleted file mode 100644
index ec9baec..0000000
--- a/chrome/test/data/extensions/api_test/apitest/background.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<script src="background.js"></script>
diff --git a/chrome/test/data/extensions/api_test/apitest/manifest.json b/chrome/test/data/extensions/api_test/apitest/manifest.json
index f0fd5ca..aad2e1d 100644
--- a/chrome/test/data/extensions/api_test/apitest/manifest.json
+++ b/chrome/test/data/extensions/api_test/apitest/manifest.json
@@ -4,6 +4,6 @@
"manifest_version": 2,
"description": "Tests for the extension api tests api.",
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
}
}
diff --git a/chrome/test/data/extensions/api_test/browser_action/add_popup/background.html b/chrome/test/data/extensions/api_test/browser_action/add_popup/background.html
deleted file mode 100644
index a9742d5..0000000
--- a/chrome/test/data/extensions/api_test/browser_action/add_popup/background.html
+++ /dev/null
@@ -1,7 +0,0 @@
-<!DOCTYPE html>
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<script src="background.js"></script>
diff --git a/chrome/test/data/extensions/api_test/browser_action/add_popup/manifest.json b/chrome/test/data/extensions/api_test/browser_action/add_popup/manifest.json
index b51eb4a..2e1b42d 100644
--- a/chrome/test/data/extensions/api_test/browser_action/add_popup/manifest.json
+++ b/chrome/test/data/extensions/api_test/browser_action/add_popup/manifest.json
@@ -3,7 +3,7 @@
"version": "1.0",
"manifest_version": 2,
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"permissions": [
"tabs", "http://*/*"
diff --git a/chrome/test/data/extensions/api_test/browser_action/basics/background.html b/chrome/test/data/extensions/api_test/browser_action/basics/background.html
deleted file mode 100644
index ec9baec..0000000
--- a/chrome/test/data/extensions/api_test/browser_action/basics/background.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<script src="background.js"></script>
diff --git a/chrome/test/data/extensions/api_test/browser_action/basics/manifest.json b/chrome/test/data/extensions/api_test/browser_action/basics/manifest.json
index c8637a6..c9acc10 100644
--- a/chrome/test/data/extensions/api_test/browser_action/basics/manifest.json
+++ b/chrome/test/data/extensions/api_test/browser_action/basics/manifest.json
@@ -3,7 +3,7 @@
"version": "1.0",
"manifest_version": 2,
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"permissions": [
"tabs", "http://*/*"
diff --git a/chrome/test/data/extensions/api_test/browser_action/close_background/background.html b/chrome/test/data/extensions/api_test/browser_action/close_background/background.html
deleted file mode 100644
index ec9baec..0000000
--- a/chrome/test/data/extensions/api_test/browser_action/close_background/background.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<script src="background.js"></script>
diff --git a/chrome/test/data/extensions/api_test/browser_action/close_background/manifest.json b/chrome/test/data/extensions/api_test/browser_action/close_background/manifest.json
index 1b5fca9..07879ec 100644
--- a/chrome/test/data/extensions/api_test/browser_action/close_background/manifest.json
+++ b/chrome/test/data/extensions/api_test/browser_action/close_background/manifest.json
@@ -4,7 +4,7 @@
"version": "1",
"manifest_version": 2,
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"browser_action": {
"default_icon" : "icon.png",
diff --git a/chrome/test/data/extensions/api_test/browser_action/no_icon/background.html b/chrome/test/data/extensions/api_test/browser_action/no_icon/background.html
deleted file mode 100644
index ec9baec..0000000
--- a/chrome/test/data/extensions/api_test/browser_action/no_icon/background.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<script src="background.js"></script>
diff --git a/chrome/test/data/extensions/api_test/browser_action/no_icon/manifest.json b/chrome/test/data/extensions/api_test/browser_action/no_icon/manifest.json
index 4da6e9a..ab4c83d 100644
--- a/chrome/test/data/extensions/api_test/browser_action/no_icon/manifest.json
+++ b/chrome/test/data/extensions/api_test/browser_action/no_icon/manifest.json
@@ -3,7 +3,7 @@
"version": "1.0",
"manifest_version": 2,
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"permissions": [
"tabs", "http://*/*"
diff --git a/chrome/test/data/extensions/api_test/browser_action/remove_popup/background.html b/chrome/test/data/extensions/api_test/browser_action/remove_popup/background.html
deleted file mode 100644
index a9742d5..0000000
--- a/chrome/test/data/extensions/api_test/browser_action/remove_popup/background.html
+++ /dev/null
@@ -1,7 +0,0 @@
-<!DOCTYPE html>
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<script src="background.js"></script>
diff --git a/chrome/test/data/extensions/api_test/browser_action/remove_popup/manifest.json b/chrome/test/data/extensions/api_test/browser_action/remove_popup/manifest.json
index b24f9de..79e796b 100644
--- a/chrome/test/data/extensions/api_test/browser_action/remove_popup/manifest.json
+++ b/chrome/test/data/extensions/api_test/browser_action/remove_popup/manifest.json
@@ -3,7 +3,7 @@
"version": "1.0",
"manifest_version": 2,
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"permissions": [
"tabs", "http://*/*"
diff --git a/chrome/test/data/extensions/api_test/browser_action/tab_specific_state/background.html b/chrome/test/data/extensions/api_test/browser_action/tab_specific_state/background.html
deleted file mode 100644
index ec9baec..0000000
--- a/chrome/test/data/extensions/api_test/browser_action/tab_specific_state/background.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<script src="background.js"></script>
diff --git a/chrome/test/data/extensions/api_test/browser_action/tab_specific_state/manifest.json b/chrome/test/data/extensions/api_test/browser_action/tab_specific_state/manifest.json
index 5919eaa..99612eb 100644
--- a/chrome/test/data/extensions/api_test/browser_action/tab_specific_state/manifest.json
+++ b/chrome/test/data/extensions/api_test/browser_action/tab_specific_state/manifest.json
@@ -3,7 +3,7 @@
"version": "1.0",
"manifest_version": 2,
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"permissions": [
"tabs", "http://*/*"
diff --git a/chrome/test/data/extensions/api_test/chromeos_info_private/background.html b/chrome/test/data/extensions/api_test/chromeos_info_private/background.html
deleted file mode 100644
index ec9baec..0000000
--- a/chrome/test/data/extensions/api_test/chromeos_info_private/background.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<script src="background.js"></script>
diff --git a/chrome/test/data/extensions/api_test/chromeos_info_private/manifest.json b/chrome/test/data/extensions/api_test/chromeos_info_private/manifest.json
index 11c9e3b..7f0b24f 100644
--- a/chrome/test/data/extensions/api_test/chromeos_info_private/manifest.json
+++ b/chrome/test/data/extensions/api_test/chromeos_info_private/manifest.json
@@ -5,7 +5,7 @@
"manifest_version": 2,
"description": "Test for chromeosInfoPrivate.get",
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"permissions": ["chromeosInfoPrivate"]
}
diff --git a/chrome/test/data/extensions/api_test/content_scripts/css_l10n/background.html b/chrome/test/data/extensions/api_test/content_scripts/css_l10n/background.html
deleted file mode 100644
index ec9baec..0000000
--- a/chrome/test/data/extensions/api_test/content_scripts/css_l10n/background.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<script src="background.js"></script>
diff --git a/chrome/test/data/extensions/api_test/content_scripts/css_l10n/manifest.json b/chrome/test/data/extensions/api_test/content_scripts/css_l10n/manifest.json
index 5707165..bc1dfb9 100644
--- a/chrome/test/data/extensions/api_test/content_scripts/css_l10n/manifest.json
+++ b/chrome/test/data/extensions/api_test/content_scripts/css_l10n/manifest.json
@@ -4,7 +4,7 @@
"version": "0.1",
"manifest_version": 2,
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"default_locale": "en",
"content_scripts": [
diff --git a/chrome/test/data/extensions/api_test/content_scripts/dont_match_host_permissions/background.html b/chrome/test/data/extensions/api_test/content_scripts/dont_match_host_permissions/background.html
deleted file mode 100644
index ec9baec..0000000
--- a/chrome/test/data/extensions/api_test/content_scripts/dont_match_host_permissions/background.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<script src="background.js"></script>
diff --git a/chrome/test/data/extensions/api_test/content_scripts/dont_match_host_permissions/manifest.json b/chrome/test/data/extensions/api_test/content_scripts/dont_match_host_permissions/manifest.json
index b6b3e17..575589b 100644
--- a/chrome/test/data/extensions/api_test/content_scripts/dont_match_host_permissions/manifest.json
+++ b/chrome/test/data/extensions/api_test/content_scripts/dont_match_host_permissions/manifest.json
@@ -4,7 +4,7 @@
"manifest_version": 2,
"description": "Tests that content scripts don't match host permissions.",
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"permissions": [
"tabs",
diff --git a/chrome/test/data/extensions/api_test/content_scripts/fragment/background.html b/chrome/test/data/extensions/api_test/content_scripts/fragment/background.html
deleted file mode 100644
index ec9baec..0000000
--- a/chrome/test/data/extensions/api_test/content_scripts/fragment/background.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<script src="background.js"></script>
diff --git a/chrome/test/data/extensions/api_test/content_scripts/fragment/manifest.json b/chrome/test/data/extensions/api_test/content_scripts/fragment/manifest.json
index edb0751..723ab43 100644
--- a/chrome/test/data/extensions/api_test/content_scripts/fragment/manifest.json
+++ b/chrome/test/data/extensions/api_test/content_scripts/fragment/manifest.json
@@ -4,7 +4,7 @@
"manifest_version": 2,
"description": "Tests content scripts running with navigation to fragments within a page",
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"permissions": ["tabs"],
"content_scripts": [
diff --git a/chrome/test/data/extensions/api_test/content_scripts/isolated_world1/background.html b/chrome/test/data/extensions/api_test/content_scripts/isolated_world1/background.html
deleted file mode 100644
index ec9baec..0000000
--- a/chrome/test/data/extensions/api_test/content_scripts/isolated_world1/background.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<script src="background.js"></script>
diff --git a/chrome/test/data/extensions/api_test/content_scripts/isolated_world1/manifest.json b/chrome/test/data/extensions/api_test/content_scripts/isolated_world1/manifest.json
index dff264e..e90f95c 100644
--- a/chrome/test/data/extensions/api_test/content_scripts/isolated_world1/manifest.json
+++ b/chrome/test/data/extensions/api_test/content_scripts/isolated_world1/manifest.json
@@ -4,7 +4,7 @@
"manifest_version": 2,
"description": "tests that all scripts from an extension run in the same isolated world",
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"permissions": ["http://*/*", "tabs"],
"content_scripts": [
diff --git a/chrome/test/data/extensions/api_test/content_scripts/isolated_world2/background.html b/chrome/test/data/extensions/api_test/content_scripts/isolated_world2/background.html
deleted file mode 100644
index ec9baec..0000000
--- a/chrome/test/data/extensions/api_test/content_scripts/isolated_world2/background.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<script src="background.js"></script>
diff --git a/chrome/test/data/extensions/api_test/content_scripts/isolated_world2/manifest.json b/chrome/test/data/extensions/api_test/content_scripts/isolated_world2/manifest.json
index 196e01c..a049572 100644
--- a/chrome/test/data/extensions/api_test/content_scripts/isolated_world2/manifest.json
+++ b/chrome/test/data/extensions/api_test/content_scripts/isolated_world2/manifest.json
@@ -4,7 +4,7 @@
"manifest_version": 2,
"description": "together with isolated world 1, tests that scripts from different extensions run in different worlds",
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"permissions": ["http://*/*", "tabs"]
}
diff --git a/chrome/test/data/extensions/api_test/content_scripts/view_source/background.html b/chrome/test/data/extensions/api_test/content_scripts/view_source/background.html
deleted file mode 100644
index ec9baec..0000000
--- a/chrome/test/data/extensions/api_test/content_scripts/view_source/background.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<script src="background.js"></script>
diff --git a/chrome/test/data/extensions/api_test/content_scripts/view_source/manifest.json b/chrome/test/data/extensions/api_test/content_scripts/view_source/manifest.json
index 1fcf5f2..0dce036 100644
--- a/chrome/test/data/extensions/api_test/content_scripts/view_source/manifest.json
+++ b/chrome/test/data/extensions/api_test/content_scripts/view_source/manifest.json
@@ -4,7 +4,7 @@
"version": "0.3",
"manifest_version": 2,
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"permissions": ["tabs", "http://*/*"],
"content_scripts": [
diff --git a/chrome/test/data/extensions/api_test/context_menus/add_from_multiple_contexts/background.html b/chrome/test/data/extensions/api_test/context_menus/add_from_multiple_contexts/background.html
deleted file mode 100644
index ec9baec..0000000
--- a/chrome/test/data/extensions/api_test/context_menus/add_from_multiple_contexts/background.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<script src="background.js"></script>
diff --git a/chrome/test/data/extensions/api_test/context_menus/add_from_multiple_contexts/manifest.json b/chrome/test/data/extensions/api_test/context_menus/add_from_multiple_contexts/manifest.json
index 3e01a6a..ccc58f1 100644
--- a/chrome/test/data/extensions/api_test/context_menus/add_from_multiple_contexts/manifest.json
+++ b/chrome/test/data/extensions/api_test/context_menus/add_from_multiple_contexts/manifest.json
@@ -6,6 +6,6 @@
"contextMenus"
],
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
}
}
diff --git a/chrome/test/data/extensions/api_test/cookies/api/background.html b/chrome/test/data/extensions/api_test/cookies/api/background.html
deleted file mode 100644
index ec9baec..0000000
--- a/chrome/test/data/extensions/api_test/cookies/api/background.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<script src="background.js"></script>
diff --git a/chrome/test/data/extensions/api_test/cookies/api/manifest.json b/chrome/test/data/extensions/api_test/cookies/api/manifest.json
index 8dc32f2..d679d81 100644
--- a/chrome/test/data/extensions/api_test/cookies/api/manifest.json
+++ b/chrome/test/data/extensions/api_test/cookies/api/manifest.json
@@ -4,7 +4,7 @@
"manifest_version": 2,
"description": "end-to-end browser test for chrome.experimental.cookies API",
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"permissions": [
"cookies",
diff --git a/chrome/test/data/extensions/api_test/cookies/no_permission/background.html b/chrome/test/data/extensions/api_test/cookies/no_permission/background.html
deleted file mode 100644
index ec9baec..0000000
--- a/chrome/test/data/extensions/api_test/cookies/no_permission/background.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<script src="background.js"></script>
diff --git a/chrome/test/data/extensions/api_test/cookies/no_permission/manifest.json b/chrome/test/data/extensions/api_test/cookies/no_permission/manifest.json
index 7c0a22d..cde268b 100644
--- a/chrome/test/data/extensions/api_test/cookies/no_permission/manifest.json
+++ b/chrome/test/data/extensions/api_test/cookies/no_permission/manifest.json
@@ -4,7 +4,7 @@
"manifest_version": 2,
"description": "Tests that the cookies permission is required in order to use the cookies API.",
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"permissions": [
"tabs",
diff --git a/chrome/test/data/extensions/api_test/debugger/background.html b/chrome/test/data/extensions/api_test/debugger/background.html
deleted file mode 100644
index f014a52..0000000
--- a/chrome/test/data/extensions/api_test/debugger/background.html
+++ /dev/null
@@ -1,7 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<script src="background.js"></script>
-
diff --git a/chrome/test/data/extensions/api_test/debugger/manifest.json b/chrome/test/data/extensions/api_test/debugger/manifest.json
index aad9573..116c935 100644
--- a/chrome/test/data/extensions/api_test/debugger/manifest.json
+++ b/chrome/test/data/extensions/api_test/debugger/manifest.json
@@ -3,7 +3,7 @@
"version": "1.0",
"manifest_version": 2,
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"permissions": [
"tabs",
diff --git a/chrome/test/data/extensions/api_test/decode_jpeg/background.html b/chrome/test/data/extensions/api_test/decode_jpeg/background.html
deleted file mode 100644
index d3182e0..0000000
--- a/chrome/test/data/extensions/api_test/decode_jpeg/background.html
+++ /dev/null
@@ -1,7 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<script src="testdata.js"></script>
-<script src="background.js"></script>
diff --git a/chrome/test/data/extensions/api_test/decode_jpeg/manifest.json b/chrome/test/data/extensions/api_test/decode_jpeg/manifest.json
index 7e92b44..f82792a 100644
--- a/chrome/test/data/extensions/api_test/decode_jpeg/manifest.json
+++ b/chrome/test/data/extensions/api_test/decode_jpeg/manifest.json
@@ -5,7 +5,7 @@
"manifest_version": 2,
"description": "Test for decodeJPEG.decode",
"background": {
- "page": "background.html"
+ "scripts": ["testdata.js", "background.js"]
},
"permissions": ["chromePrivate"]
}
diff --git a/chrome/test/data/extensions/api_test/events/background.html b/chrome/test/data/extensions/api_test/events/background.html
deleted file mode 100644
index ec9baec..0000000
--- a/chrome/test/data/extensions/api_test/events/background.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<script src="background.js"></script>
diff --git a/chrome/test/data/extensions/api_test/events/manifest.json b/chrome/test/data/extensions/api_test/events/manifest.json
index 4954274..e1853b7 100644
--- a/chrome/test/data/extensions/api_test/events/manifest.json
+++ b/chrome/test/data/extensions/api_test/events/manifest.json
@@ -4,7 +4,7 @@
"version": "0.1",
"manifest_version": 2,
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"permissions": [ ]
}
diff --git a/chrome/test/data/extensions/api_test/executescript/fragment/background.html b/chrome/test/data/extensions/api_test/executescript/fragment/background.html
deleted file mode 100644
index ec9baec..0000000
--- a/chrome/test/data/extensions/api_test/executescript/fragment/background.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<script src="background.js"></script>
diff --git a/chrome/test/data/extensions/api_test/executescript/fragment/manifest.json b/chrome/test/data/extensions/api_test/executescript/fragment/manifest.json
index 9e7f4a3..074e9ad 100644
--- a/chrome/test/data/extensions/api_test/executescript/fragment/manifest.json
+++ b/chrome/test/data/extensions/api_test/executescript/fragment/manifest.json
@@ -4,7 +4,7 @@
"manifest_version": 2,
"description": "Tests execute script running after navigation to a fragments within a page",
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"permissions": ["tabs", "http://*/*"],
"content_scripts": [
diff --git a/chrome/test/data/extensions/api_test/fileapi/background.html b/chrome/test/data/extensions/api_test/fileapi/background.html
deleted file mode 100644
index ec9baec..0000000
--- a/chrome/test/data/extensions/api_test/fileapi/background.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<script src="background.js"></script>
diff --git a/chrome/test/data/extensions/api_test/fileapi/manifest.json b/chrome/test/data/extensions/api_test/fileapi/manifest.json
index 7633972..26f4f54 100644
--- a/chrome/test/data/extensions/api_test/fileapi/manifest.json
+++ b/chrome/test/data/extensions/api_test/fileapi/manifest.json
@@ -4,7 +4,7 @@
"manifest_version": 2,
"description": "sanity test that fileapi is always enabled for extensions",
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"permissions": ["tabs", "unlimitedStorage"]
}
diff --git a/chrome/test/data/extensions/api_test/filebrowser_component/background.html b/chrome/test/data/extensions/api_test/filebrowser_component/background.html
deleted file mode 100644
index ec9baec..0000000
--- a/chrome/test/data/extensions/api_test/filebrowser_component/background.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<script src="background.js"></script>
diff --git a/chrome/test/data/extensions/api_test/filebrowser_component/manifest.json b/chrome/test/data/extensions/api_test/filebrowser_component/manifest.json
index 781fd76..272385e 100644
--- a/chrome/test/data/extensions/api_test/filebrowser_component/manifest.json
+++ b/chrome/test/data/extensions/api_test/filebrowser_component/manifest.json
@@ -5,7 +5,7 @@
"manifest_version": 2,
"description": "Tests of chrome.fileBrowserPrivate.* component extension methods",
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"permissions": [
"tabs",
diff --git a/chrome/test/data/extensions/api_test/filebrowser_mount/background.html b/chrome/test/data/extensions/api_test/filebrowser_mount/background.html
deleted file mode 100644
index ec9baec..0000000
--- a/chrome/test/data/extensions/api_test/filebrowser_mount/background.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<script src="background.js"></script>
diff --git a/chrome/test/data/extensions/api_test/filebrowser_mount/manifest.json b/chrome/test/data/extensions/api_test/filebrowser_mount/manifest.json
index 479d883..f698bfc 100644
--- a/chrome/test/data/extensions/api_test/filebrowser_mount/manifest.json
+++ b/chrome/test/data/extensions/api_test/filebrowser_mount/manifest.json
@@ -5,7 +5,7 @@
"manifest_version": 2,
"description": "Tests of chrome.fileBrowserPrivate component extension methods that communicate with MountLibrary",
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"permissions": [
"fileBrowserPrivate"
diff --git a/chrome/test/data/extensions/api_test/filesystem_handler/background.html b/chrome/test/data/extensions/api_test/filesystem_handler/background.html
deleted file mode 100644
index ec9baec..0000000
--- a/chrome/test/data/extensions/api_test/filesystem_handler/background.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<script src="background.js"></script>
diff --git a/chrome/test/data/extensions/api_test/filesystem_handler/manifest.json b/chrome/test/data/extensions/api_test/filesystem_handler/manifest.json
index 0702546..26f28c4 100644
--- a/chrome/test/data/extensions/api_test/filesystem_handler/manifest.json
+++ b/chrome/test/data/extensions/api_test/filesystem_handler/manifest.json
@@ -5,7 +5,7 @@
"manifest_version": 2,
"description": "Tests of chrome.fileSystem.* methods",
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"file_browser_handlers": [
{
diff --git a/chrome/test/data/extensions/api_test/geolocation/has_permission/background.html b/chrome/test/data/extensions/api_test/geolocation/has_permission/background.html
deleted file mode 100644
index ec9baec..0000000
--- a/chrome/test/data/extensions/api_test/geolocation/has_permission/background.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<script src="background.js"></script>
diff --git a/chrome/test/data/extensions/api_test/geolocation/has_permission/manifest.json b/chrome/test/data/extensions/api_test/geolocation/has_permission/manifest.json
index 296d054..e62a1a7 100644
--- a/chrome/test/data/extensions/api_test/geolocation/has_permission/manifest.json
+++ b/chrome/test/data/extensions/api_test/geolocation/has_permission/manifest.json
@@ -4,7 +4,7 @@
"version": "0.1",
"manifest_version": 2,
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"permissions": [ "geolocation" ]
}
diff --git a/chrome/test/data/extensions/api_test/geolocation/no_permission/background.html b/chrome/test/data/extensions/api_test/geolocation/no_permission/background.html
deleted file mode 100644
index ec9baec..0000000
--- a/chrome/test/data/extensions/api_test/geolocation/no_permission/background.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<script src="background.js"></script>
diff --git a/chrome/test/data/extensions/api_test/geolocation/no_permission/manifest.json b/chrome/test/data/extensions/api_test/geolocation/no_permission/manifest.json
index 8a7c44a..c568731 100644
--- a/chrome/test/data/extensions/api_test/geolocation/no_permission/manifest.json
+++ b/chrome/test/data/extensions/api_test/geolocation/no_permission/manifest.json
@@ -4,7 +4,7 @@
"version": "0.1",
"manifest_version": 2,
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"permissions": [ ]
}
diff --git a/chrome/test/data/extensions/api_test/incognito/apis/background.html b/chrome/test/data/extensions/api_test/incognito/apis/background.html
deleted file mode 100644
index ec9baec..0000000
--- a/chrome/test/data/extensions/api_test/incognito/apis/background.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<script src="background.js"></script>
diff --git a/chrome/test/data/extensions/api_test/incognito/apis/manifest.json b/chrome/test/data/extensions/api_test/incognito/apis/manifest.json
index 9c30cd6..a96ed88 100644
--- a/chrome/test/data/extensions/api_test/incognito/apis/manifest.json
+++ b/chrome/test/data/extensions/api_test/incognito/apis/manifest.json
@@ -4,7 +4,7 @@
"manifest_version": 2,
"description": "test that an incognito extension behaves properly",
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"permissions": ["tabs", "http://*/*"]
}
diff --git a/chrome/test/data/extensions/api_test/incognito/apis_disabled/background.html b/chrome/test/data/extensions/api_test/incognito/apis_disabled/background.html
deleted file mode 100644
index ec9baec..0000000
--- a/chrome/test/data/extensions/api_test/incognito/apis_disabled/background.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<script src="background.js"></script>
diff --git a/chrome/test/data/extensions/api_test/incognito/apis_disabled/manifest.json b/chrome/test/data/extensions/api_test/incognito/apis_disabled/manifest.json
index 6bb4b05..0d43f27 100644
--- a/chrome/test/data/extensions/api_test/incognito/apis_disabled/manifest.json
+++ b/chrome/test/data/extensions/api_test/incognito/apis_disabled/manifest.json
@@ -4,7 +4,7 @@
"manifest_version": 2,
"description": "test that an non-incognito extension doesn't see incognito events",
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"permissions": ["tabs"]
}
diff --git a/chrome/test/data/extensions/api_test/incognito/dont_create_profile/background.html b/chrome/test/data/extensions/api_test/incognito/dont_create_profile/background.html
deleted file mode 100644
index ec9baec..0000000
--- a/chrome/test/data/extensions/api_test/incognito/dont_create_profile/background.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<script src="background.js"></script>
diff --git a/chrome/test/data/extensions/api_test/incognito/dont_create_profile/manifest.json b/chrome/test/data/extensions/api_test/incognito/dont_create_profile/manifest.json
index 4d5d384..2617e26 100644
--- a/chrome/test/data/extensions/api_test/incognito/dont_create_profile/manifest.json
+++ b/chrome/test/data/extensions/api_test/incognito/dont_create_profile/manifest.json
@@ -4,7 +4,7 @@
"manifest_version": 2,
"description": "test that an incognito extension can't accidentially create an OTR profile",
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"permissions": ["tabs", "cookies"]
}
diff --git a/chrome/test/data/extensions/api_test/incognito/split/background.html b/chrome/test/data/extensions/api_test/incognito/split/background.html
deleted file mode 100644
index ec9baec..0000000
--- a/chrome/test/data/extensions/api_test/incognito/split/background.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<script src="background.js"></script>
diff --git a/chrome/test/data/extensions/api_test/incognito/split/manifest.json b/chrome/test/data/extensions/api_test/incognito/split/manifest.json
index b392908..980df02 100644
--- a/chrome/test/data/extensions/api_test/incognito/split/manifest.json
+++ b/chrome/test/data/extensions/api_test/incognito/split/manifest.json
@@ -4,7 +4,7 @@
"manifest_version": 2,
"description": "test that an incognito extension in split mode behaves properly",
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"incognito": "split",
"permissions": ["tabs", "bookmarks", "http://*/*"]
diff --git a/chrome/test/data/extensions/api_test/input_ime/background.html b/chrome/test/data/extensions/api_test/input_ime/background.html
deleted file mode 100644
index ec9baec..0000000
--- a/chrome/test/data/extensions/api_test/input_ime/background.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<script src="background.js"></script>
diff --git a/chrome/test/data/extensions/api_test/input_ime/manifest.json b/chrome/test/data/extensions/api_test/input_ime/manifest.json
index 4c8a7b6..7f02aad 100644
--- a/chrome/test/data/extensions/api_test/input_ime/manifest.json
+++ b/chrome/test/data/extensions/api_test/input_ime/manifest.json
@@ -5,7 +5,7 @@
"manifest_version": 2,
"description": "Input method ime tests.",
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"permissions": [ "ime", "experimental" ],
"input_components": [{
diff --git a/chrome/test/data/extensions/api_test/input_method/background.html b/chrome/test/data/extensions/api_test/input_method/background.html
deleted file mode 100644
index ec9baec..0000000
--- a/chrome/test/data/extensions/api_test/input_method/background.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<script src="background.js"></script>
diff --git a/chrome/test/data/extensions/api_test/input_method/manifest.json b/chrome/test/data/extensions/api_test/input_method/manifest.json
index 63d8ffa..e6b7c8d 100644
--- a/chrome/test/data/extensions/api_test/input_method/manifest.json
+++ b/chrome/test/data/extensions/api_test/input_method/manifest.json
@@ -5,7 +5,7 @@
"manifest_version": 2,
"description": "Input method events tests.",
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"permissions": [ "inputMethodPrivate" ]
}
diff --git a/chrome/test/data/extensions/api_test/lazy_background_page/broadcast_event/background.html b/chrome/test/data/extensions/api_test/lazy_background_page/broadcast_event/background.html
deleted file mode 100644
index ec9baec..0000000
--- a/chrome/test/data/extensions/api_test/lazy_background_page/broadcast_event/background.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<script src="background.js"></script>
diff --git a/chrome/test/data/extensions/api_test/lazy_background_page/broadcast_event/manifest.json b/chrome/test/data/extensions/api_test/lazy_background_page/broadcast_event/manifest.json
index f7d0239..ad642c8 100644
--- a/chrome/test/data/extensions/api_test/lazy_background_page/broadcast_event/manifest.json
+++ b/chrome/test/data/extensions/api_test/lazy_background_page/broadcast_event/manifest.json
@@ -5,7 +5,7 @@
"manifest_version": 2,
"permissions": ["tabs"],
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"icons": {"48": "icon48.png"},
"page_action": {
diff --git a/chrome/test/data/extensions/api_test/lazy_background_page/browser_action_create_tab/background.html b/chrome/test/data/extensions/api_test/lazy_background_page/browser_action_create_tab/background.html
deleted file mode 100644
index ec9baec..0000000
--- a/chrome/test/data/extensions/api_test/lazy_background_page/browser_action_create_tab/background.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<script src="background.js"></script>
diff --git a/chrome/test/data/extensions/api_test/lazy_background_page/browser_action_create_tab/manifest.json b/chrome/test/data/extensions/api_test/lazy_background_page/browser_action_create_tab/manifest.json
index bcfdeb9..205ca23 100644
--- a/chrome/test/data/extensions/api_test/lazy_background_page/browser_action_create_tab/manifest.json
+++ b/chrome/test/data/extensions/api_test/lazy_background_page/browser_action_create_tab/manifest.json
@@ -5,7 +5,7 @@
"manifest_version": 2,
"permissions" : ["tabs"],
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"browser_action": {
"default_icon" : "ext_icon.png",
diff --git a/chrome/test/data/extensions/api_test/lazy_background_page/browser_action_with_callback/background.html b/chrome/test/data/extensions/api_test/lazy_background_page/browser_action_with_callback/background.html
deleted file mode 100644
index ec9baec..0000000
--- a/chrome/test/data/extensions/api_test/lazy_background_page/browser_action_with_callback/background.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<script src="background.js"></script>
diff --git a/chrome/test/data/extensions/api_test/lazy_background_page/browser_action_with_callback/manifest.json b/chrome/test/data/extensions/api_test/lazy_background_page/browser_action_with_callback/manifest.json
index a4e7159..96f03cd 100644
--- a/chrome/test/data/extensions/api_test/lazy_background_page/browser_action_with_callback/manifest.json
+++ b/chrome/test/data/extensions/api_test/lazy_background_page/browser_action_with_callback/manifest.json
@@ -5,7 +5,7 @@
"manifest_version": 2,
"permissions" : ["tabs"],
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"browser_action": {
"default_icon" : "ext_icon.png",
diff --git a/chrome/test/data/extensions/api_test/local_filesystem/background.html b/chrome/test/data/extensions/api_test/local_filesystem/background.html
deleted file mode 100644
index ec9baec..0000000
--- a/chrome/test/data/extensions/api_test/local_filesystem/background.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<script src="background.js"></script>
diff --git a/chrome/test/data/extensions/api_test/local_filesystem/manifest.json b/chrome/test/data/extensions/api_test/local_filesystem/manifest.json
index 3517f37..3286783 100644
--- a/chrome/test/data/extensions/api_test/local_filesystem/manifest.json
+++ b/chrome/test/data/extensions/api_test/local_filesystem/manifest.json
@@ -5,7 +5,7 @@
"manifest_version": 2,
"description": "Local filesystem access sanity test",
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"permissions": [
"tabs",
diff --git a/chrome/test/data/extensions/api_test/management/launch_on_install/background.html b/chrome/test/data/extensions/api_test/management/launch_on_install/background.html
deleted file mode 100644
index b78679b..0000000
--- a/chrome/test/data/extensions/api_test/management/launch_on_install/background.html
+++ /dev/null
@@ -1,13 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<html>
- <head>
- <script src="background.js"></script>
- </head>
- <body>
-
- </body>
-</html>
diff --git a/chrome/test/data/extensions/api_test/management/launch_on_install/manifest.json b/chrome/test/data/extensions/api_test/management/launch_on_install/manifest.json
index 3b02e82..a15f574 100644
--- a/chrome/test/data/extensions/api_test/management/launch_on_install/manifest.json
+++ b/chrome/test/data/extensions/api_test/management/launch_on_install/manifest.json
@@ -4,6 +4,6 @@
"manifest_version": 2,
"permissions": ["management"],
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
}
}
diff --git a/chrome/test/data/extensions/api_test/notifications/has_not_permission/background.html b/chrome/test/data/extensions/api_test/notifications/has_not_permission/background.html
deleted file mode 100644
index ec9baec..0000000
--- a/chrome/test/data/extensions/api_test/notifications/has_not_permission/background.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<script src="background.js"></script>
diff --git a/chrome/test/data/extensions/api_test/notifications/has_not_permission/manifest.json b/chrome/test/data/extensions/api_test/notifications/has_not_permission/manifest.json
index d822caf..eca6726 100644
--- a/chrome/test/data/extensions/api_test/notifications/has_not_permission/manifest.json
+++ b/chrome/test/data/extensions/api_test/notifications/has_not_permission/manifest.json
@@ -4,6 +4,6 @@
"manifest_version": 2,
"permissions": [ "tabs" ],
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
}
}
diff --git a/chrome/test/data/extensions/api_test/notifications/has_permission_manifest/background.html b/chrome/test/data/extensions/api_test/notifications/has_permission_manifest/background.html
deleted file mode 100644
index ec9baec..0000000
--- a/chrome/test/data/extensions/api_test/notifications/has_permission_manifest/background.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<script src="background.js"></script>
diff --git a/chrome/test/data/extensions/api_test/notifications/has_permission_manifest/manifest.json b/chrome/test/data/extensions/api_test/notifications/has_permission_manifest/manifest.json
index 60c3aed..401352c 100644
--- a/chrome/test/data/extensions/api_test/notifications/has_permission_manifest/manifest.json
+++ b/chrome/test/data/extensions/api_test/notifications/has_permission_manifest/manifest.json
@@ -4,6 +4,6 @@
"manifest_version": 2,
"permissions": [ "notifications", "tabs" ],
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
}
}
diff --git a/chrome/test/data/extensions/api_test/notifications/has_permission_prefs/background.html b/chrome/test/data/extensions/api_test/notifications/has_permission_prefs/background.html
deleted file mode 100644
index ec9baec..0000000
--- a/chrome/test/data/extensions/api_test/notifications/has_permission_prefs/background.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<script src="background.js"></script>
diff --git a/chrome/test/data/extensions/api_test/notifications/has_permission_prefs/manifest.json b/chrome/test/data/extensions/api_test/notifications/has_permission_prefs/manifest.json
index 209ef76..ad17b1b 100644
--- a/chrome/test/data/extensions/api_test/notifications/has_permission_prefs/manifest.json
+++ b/chrome/test/data/extensions/api_test/notifications/has_permission_prefs/manifest.json
@@ -4,7 +4,7 @@
"manifest_version": 2,
"permissions": [ "tabs" ],
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"key": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDHKlH3JTbOwICsw3EkXFfW+nWFTwuD2dZi1U+rQ143AUxYg2ZwG7+61RulNH//cYdo9YD5KAlbl+BMDsiKYexXVhddmaVJ1mlvW+oMoRR7MKuVeXNdLyAarsWrlnvWFjvhQ1AMSIlhKAEqilVblvmHg8PZ5tTE5PkV0V6vWs37DQIDAQAB"
}
diff --git a/chrome/test/data/extensions/api_test/override/history/background.html b/chrome/test/data/extensions/api_test/override/history/background.html
deleted file mode 100644
index 5f84863..0000000
--- a/chrome/test/data/extensions/api_test/override/history/background.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<script src="background.js"></script>
diff --git a/chrome/test/data/extensions/api_test/override/history/manifest.json b/chrome/test/data/extensions/api_test/override/history/manifest.json
index ed412f9..1b2d6a0 100644
--- a/chrome/test/data/extensions/api_test/override/history/manifest.json
+++ b/chrome/test/data/extensions/api_test/override/history/manifest.json
@@ -4,7 +4,7 @@
"manifest_version": 2,
"description": "Test chrome://history/ override",
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"permissions": [
"history"
diff --git a/chrome/test/data/extensions/api_test/override/keyboard/background.html b/chrome/test/data/extensions/api_test/override/keyboard/background.html
deleted file mode 100644
index ec9baec..0000000
--- a/chrome/test/data/extensions/api_test/override/keyboard/background.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<script src="background.js"></script>
diff --git a/chrome/test/data/extensions/api_test/override/keyboard/manifest.json b/chrome/test/data/extensions/api_test/override/keyboard/manifest.json
index 8cca2aa..d31d741 100644
--- a/chrome/test/data/extensions/api_test/override/keyboard/manifest.json
+++ b/chrome/test/data/extensions/api_test/override/keyboard/manifest.json
@@ -4,7 +4,7 @@
"manifest_version": 2,
"description": "Test chrome://keyboard override",
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"chrome_url_overrides": {
"keyboard": "keyboard.html"
diff --git a/chrome/test/data/extensions/api_test/override/keyboard_fails/background.html b/chrome/test/data/extensions/api_test/override/keyboard_fails/background.html
deleted file mode 100644
index ec9baec..0000000
--- a/chrome/test/data/extensions/api_test/override/keyboard_fails/background.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<script src="background.js"></script>
diff --git a/chrome/test/data/extensions/api_test/override/keyboard_fails/manifest.json b/chrome/test/data/extensions/api_test/override/keyboard_fails/manifest.json
index 8cca2aa..d31d741 100644
--- a/chrome/test/data/extensions/api_test/override/keyboard_fails/manifest.json
+++ b/chrome/test/data/extensions/api_test/override/keyboard_fails/manifest.json
@@ -4,7 +4,7 @@
"manifest_version": 2,
"description": "Test chrome://keyboard override",
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"chrome_url_overrides": {
"keyboard": "keyboard.html"
diff --git a/chrome/test/data/extensions/api_test/override/newtab/background.html b/chrome/test/data/extensions/api_test/override/newtab/background.html
deleted file mode 100644
index 5f84863..0000000
--- a/chrome/test/data/extensions/api_test/override/newtab/background.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<script src="background.js"></script>
diff --git a/chrome/test/data/extensions/api_test/override/newtab/manifest.json b/chrome/test/data/extensions/api_test/override/newtab/manifest.json
index fe4d4e61..7f1fdfe 100644
--- a/chrome/test/data/extensions/api_test/override/newtab/manifest.json
+++ b/chrome/test/data/extensions/api_test/override/newtab/manifest.json
@@ -4,7 +4,7 @@
"manifest_version": 2,
"description": "Test chrome://newtab override",
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"permissions": [
"tabs"
diff --git a/chrome/test/data/extensions/api_test/page_action/add_popup/background.html b/chrome/test/data/extensions/api_test/page_action/add_popup/background.html
deleted file mode 100644
index ec9baec..0000000
--- a/chrome/test/data/extensions/api_test/page_action/add_popup/background.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<script src="background.js"></script>
diff --git a/chrome/test/data/extensions/api_test/page_action/add_popup/manifest.json b/chrome/test/data/extensions/api_test/page_action/add_popup/manifest.json
index fe00b84..989fbd2 100644
--- a/chrome/test/data/extensions/api_test/page_action/add_popup/manifest.json
+++ b/chrome/test/data/extensions/api_test/page_action/add_popup/manifest.json
@@ -3,7 +3,7 @@
"version": "1.0",
"manifest_version": 2,
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"permissions": [
"tabs", "http://*/*"
diff --git a/chrome/test/data/extensions/api_test/page_action/basics/background.html b/chrome/test/data/extensions/api_test/page_action/basics/background.html
deleted file mode 100644
index f4b25c8..0000000
--- a/chrome/test/data/extensions/api_test/page_action/basics/background.html
+++ /dev/null
@@ -1,10 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<html>
-<head>
-<script src="background.js"></script>
-</head>
-</html>
diff --git a/chrome/test/data/extensions/api_test/page_action/basics/manifest.json b/chrome/test/data/extensions/api_test/page_action/basics/manifest.json
index ae2c3a6..86dac3f 100644
--- a/chrome/test/data/extensions/api_test/page_action/basics/manifest.json
+++ b/chrome/test/data/extensions/api_test/page_action/basics/manifest.json
@@ -3,7 +3,7 @@
"version": "1.0",
"manifest_version": 2,
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"permissions": [
"tabs", "http://*/*"
diff --git a/chrome/test/data/extensions/api_test/page_action/crash_57333/Extension1/background.html b/chrome/test/data/extensions/api_test/page_action/crash_57333/Extension1/background.html
deleted file mode 100644
index 52ca04a..0000000
--- a/chrome/test/data/extensions/api_test/page_action/crash_57333/Extension1/background.html
+++ /dev/null
@@ -1,12 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<html xmlns="http://www.w3.org/1999/xhtml">
-
-<head>
-<script type="text/javascript" src="background.js"></script>
-</head>
-</html>
diff --git a/chrome/test/data/extensions/api_test/page_action/crash_57333/Extension1/manifest.json b/chrome/test/data/extensions/api_test/page_action/crash_57333/Extension1/manifest.json
index f09d7bf..d0f22c9 100644
--- a/chrome/test/data/extensions/api_test/page_action/crash_57333/Extension1/manifest.json
+++ b/chrome/test/data/extensions/api_test/page_action/crash_57333/Extension1/manifest.json
@@ -4,7 +4,7 @@
"manifest_version": 2,
"description": "Extension for testing crash http://crbug.com/57333",
"background" : {
- "page" : "background.html"
+ "scripts" : ["background.js"]
},
"icons": {
"16": "16.png"
diff --git a/chrome/test/data/extensions/api_test/page_action/crash_57333/Extension2/background.html b/chrome/test/data/extensions/api_test/page_action/crash_57333/Extension2/background.html
deleted file mode 100644
index 16d2d69..0000000
--- a/chrome/test/data/extensions/api_test/page_action/crash_57333/Extension2/background.html
+++ /dev/null
@@ -1,11 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<script type="text/javascript" src="background.js"></script>
-</head>
-</html>
diff --git a/chrome/test/data/extensions/api_test/page_action/crash_57333/Extension2/manifest.json b/chrome/test/data/extensions/api_test/page_action/crash_57333/Extension2/manifest.json
index b0c1991..5b8f2ed 100644
--- a/chrome/test/data/extensions/api_test/page_action/crash_57333/Extension2/manifest.json
+++ b/chrome/test/data/extensions/api_test/page_action/crash_57333/Extension2/manifest.json
@@ -4,7 +4,7 @@
"manifest_version": 2,
"description": "Extension for testing crash http://crbug.com/57333",
"background" : {
- "page" : "background.html"
+ "scripts" : ["background.js"]
},
"icons": {
"16": "16.png"
diff --git a/chrome/test/data/extensions/api_test/page_action/hash_change/background.html b/chrome/test/data/extensions/api_test/page_action/hash_change/background.html
deleted file mode 100644
index f4b25c8..0000000
--- a/chrome/test/data/extensions/api_test/page_action/hash_change/background.html
+++ /dev/null
@@ -1,10 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<html>
-<head>
-<script src="background.js"></script>
-</head>
-</html>
diff --git a/chrome/test/data/extensions/api_test/page_action/hash_change/manifest.json b/chrome/test/data/extensions/api_test/page_action/hash_change/manifest.json
index ec3cb7e..bddaa3f 100644
--- a/chrome/test/data/extensions/api_test/page_action/hash_change/manifest.json
+++ b/chrome/test/data/extensions/api_test/page_action/hash_change/manifest.json
@@ -1,6 +1,6 @@
{
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"content_scripts": [ {
"js": [ "script.js" ],
diff --git a/chrome/test/data/extensions/api_test/page_action/popup/background.html b/chrome/test/data/extensions/api_test/page_action/popup/background.html
deleted file mode 100644
index ec9baec..0000000
--- a/chrome/test/data/extensions/api_test/page_action/popup/background.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<script src="background.js"></script>
diff --git a/chrome/test/data/extensions/api_test/page_action/popup/manifest.json b/chrome/test/data/extensions/api_test/page_action/popup/manifest.json
index cef0e49..a681d4e 100644
--- a/chrome/test/data/extensions/api_test/page_action/popup/manifest.json
+++ b/chrome/test/data/extensions/api_test/page_action/popup/manifest.json
@@ -3,7 +3,7 @@
"version": "1.0",
"manifest_version": 2,
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"permissions": [
"tabs", "http://*/*"
diff --git a/chrome/test/data/extensions/api_test/page_action/remove_popup/background.html b/chrome/test/data/extensions/api_test/page_action/remove_popup/background.html
deleted file mode 100644
index 98f3d36..0000000
--- a/chrome/test/data/extensions/api_test/page_action/remove_popup/background.html
+++ /dev/null
@@ -1,10 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<html>
- <body>
- <script src="background.js"></script>
- </body>
-</html>
diff --git a/chrome/test/data/extensions/api_test/page_action/remove_popup/manifest.json b/chrome/test/data/extensions/api_test/page_action/remove_popup/manifest.json
index fd5dda9..07a3902 100644
--- a/chrome/test/data/extensions/api_test/page_action/remove_popup/manifest.json
+++ b/chrome/test/data/extensions/api_test/page_action/remove_popup/manifest.json
@@ -3,7 +3,7 @@
"version": "1.0",
"manifest_version": 2,
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"permissions": [
"tabs", "http://*/*"
diff --git a/chrome/test/data/extensions/api_test/permissions/always_allowed/background.html b/chrome/test/data/extensions/api_test/permissions/always_allowed/background.html
deleted file mode 100644
index ec9baec..0000000
--- a/chrome/test/data/extensions/api_test/permissions/always_allowed/background.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<script src="background.js"></script>
diff --git a/chrome/test/data/extensions/api_test/permissions/always_allowed/manifest.json b/chrome/test/data/extensions/api_test/permissions/always_allowed/manifest.json
index e8af452..ef0b032 100644
--- a/chrome/test/data/extensions/api_test/permissions/always_allowed/manifest.json
+++ b/chrome/test/data/extensions/api_test/permissions/always_allowed/manifest.json
@@ -4,7 +4,7 @@
"version": "0.1",
"manifest_version": 2,
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"permissions": [ ]
}
diff --git a/chrome/test/data/extensions/api_test/permissions/disabled/background.html b/chrome/test/data/extensions/api_test/permissions/disabled/background.html
deleted file mode 100644
index 5f84863..0000000
--- a/chrome/test/data/extensions/api_test/permissions/disabled/background.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<script src="background.js"></script>
diff --git a/chrome/test/data/extensions/api_test/permissions/disabled/manifest.json b/chrome/test/data/extensions/api_test/permissions/disabled/manifest.json
index 4954274..e1853b7 100644
--- a/chrome/test/data/extensions/api_test/permissions/disabled/manifest.json
+++ b/chrome/test/data/extensions/api_test/permissions/disabled/manifest.json
@@ -4,7 +4,7 @@
"version": "0.1",
"manifest_version": 2,
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"permissions": [ ]
}
diff --git a/chrome/test/data/extensions/api_test/permissions/enabled/background.html b/chrome/test/data/extensions/api_test/permissions/enabled/background.html
deleted file mode 100644
index 5f84863..0000000
--- a/chrome/test/data/extensions/api_test/permissions/enabled/background.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<script src="background.js"></script>
diff --git a/chrome/test/data/extensions/api_test/permissions/enabled/manifest.json b/chrome/test/data/extensions/api_test/permissions/enabled/manifest.json
index 2316d9e..dda7eed 100644
--- a/chrome/test/data/extensions/api_test/permissions/enabled/manifest.json
+++ b/chrome/test/data/extensions/api_test/permissions/enabled/manifest.json
@@ -4,7 +4,7 @@
"version": "0.1",
"manifest_version": 2,
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"permissions": [ "tabs", "bookmarks", "history", "experimental" ]
}
diff --git a/chrome/test/data/extensions/api_test/permissions/experimental_disabled/background.html b/chrome/test/data/extensions/api_test/permissions/experimental_disabled/background.html
deleted file mode 100644
index 5f84863..0000000
--- a/chrome/test/data/extensions/api_test/permissions/experimental_disabled/background.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<script src="background.js"></script>
diff --git a/chrome/test/data/extensions/api_test/permissions/experimental_disabled/manifest.json b/chrome/test/data/extensions/api_test/permissions/experimental_disabled/manifest.json
index bb76563..92e4092 100644
--- a/chrome/test/data/extensions/api_test/permissions/experimental_disabled/manifest.json
+++ b/chrome/test/data/extensions/api_test/permissions/experimental_disabled/manifest.json
@@ -4,7 +4,7 @@
"version": "0.1",
"manifest_version": 2,
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"permissions": [ "tabs" ]
}
diff --git a/chrome/test/data/extensions/api_test/permissions/optional/background.html b/chrome/test/data/extensions/api_test/permissions/optional/background.html
deleted file mode 100644
index ec9baec..0000000
--- a/chrome/test/data/extensions/api_test/permissions/optional/background.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<script src="background.js"></script>
diff --git a/chrome/test/data/extensions/api_test/permissions/optional/manifest.json b/chrome/test/data/extensions/api_test/permissions/optional/manifest.json
index 61b83c3..5449678 100644
--- a/chrome/test/data/extensions/api_test/permissions/optional/manifest.json
+++ b/chrome/test/data/extensions/api_test/permissions/optional/manifest.json
@@ -5,7 +5,7 @@
"version": "0.1",
"manifest_version": 2,
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"permissions": [
"management",
diff --git a/chrome/test/data/extensions/api_test/permissions/optional_deny/background.html b/chrome/test/data/extensions/api_test/permissions/optional_deny/background.html
deleted file mode 100644
index ec9baec..0000000
--- a/chrome/test/data/extensions/api_test/permissions/optional_deny/background.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<script src="background.js"></script>
diff --git a/chrome/test/data/extensions/api_test/permissions/optional_deny/manifest.json b/chrome/test/data/extensions/api_test/permissions/optional_deny/manifest.json
index 6e23bdc..7d59b5f 100644
--- a/chrome/test/data/extensions/api_test/permissions/optional_deny/manifest.json
+++ b/chrome/test/data/extensions/api_test/permissions/optional_deny/manifest.json
@@ -4,7 +4,7 @@
"version": "0.1",
"manifest_version": 2,
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"permissions": ["http://a.com/*"],
"optional_permissions": ["tabs", "management", "http://*.c.com/*"]
diff --git a/chrome/test/data/extensions/api_test/permissions/optional_gesture/background.html b/chrome/test/data/extensions/api_test/permissions/optional_gesture/background.html
deleted file mode 100644
index ec9baec..0000000
--- a/chrome/test/data/extensions/api_test/permissions/optional_gesture/background.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<script src="background.js"></script>
diff --git a/chrome/test/data/extensions/api_test/permissions/optional_gesture/manifest.json b/chrome/test/data/extensions/api_test/permissions/optional_gesture/manifest.json
index 8068070..2da308d 100644
--- a/chrome/test/data/extensions/api_test/permissions/optional_gesture/manifest.json
+++ b/chrome/test/data/extensions/api_test/permissions/optional_gesture/manifest.json
@@ -4,7 +4,7 @@
"version": "0.1",
"manifest_version": 2,
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"permissions": ["permissions"],
"optional_permissions": ["tabs"]
diff --git a/chrome/test/data/extensions/api_test/processes/onupdated/background.html b/chrome/test/data/extensions/api_test/processes/onupdated/background.html
deleted file mode 100644
index ec9baec..0000000
--- a/chrome/test/data/extensions/api_test/processes/onupdated/background.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<script src="background.js"></script>
diff --git a/chrome/test/data/extensions/api_test/processes/onupdated/manifest.json b/chrome/test/data/extensions/api_test/processes/onupdated/manifest.json
index 1754dc3..62a1587 100644
--- a/chrome/test/data/extensions/api_test/processes/onupdated/manifest.json
+++ b/chrome/test/data/extensions/api_test/processes/onupdated/manifest.json
@@ -4,7 +4,7 @@
"version": "0.1",
"manifest_version": 2,
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"permissions": [ "tabs", "experimental" ]
}
diff --git a/chrome/test/data/extensions/api_test/settings/simple_test/background.html b/chrome/test/data/extensions/api_test/settings/simple_test/background.html
deleted file mode 100644
index ec9baec..0000000
--- a/chrome/test/data/extensions/api_test/settings/simple_test/background.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<script src="background.js"></script>
diff --git a/chrome/test/data/extensions/api_test/settings/simple_test/manifest.json b/chrome/test/data/extensions/api_test/settings/simple_test/manifest.json
index d1f151d..f21b5357 100644
--- a/chrome/test/data/extensions/api_test/settings/simple_test/manifest.json
+++ b/chrome/test/data/extensions/api_test/settings/simple_test/manifest.json
@@ -5,6 +5,6 @@
"description": "Tests that the settings API works.",
"permissions": ["experimental"],
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
}
}
diff --git a/chrome/test/data/extensions/api_test/settings/split_incognito/background.html b/chrome/test/data/extensions/api_test/settings/split_incognito/background.html
deleted file mode 100644
index ec9baec..0000000
--- a/chrome/test/data/extensions/api_test/settings/split_incognito/background.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<script src="background.js"></script>
diff --git a/chrome/test/data/extensions/api_test/settings/split_incognito/manifest.json b/chrome/test/data/extensions/api_test/settings/split_incognito/manifest.json
index 9e85314..af2a02a 100644
--- a/chrome/test/data/extensions/api_test/settings/split_incognito/manifest.json
+++ b/chrome/test/data/extensions/api_test/settings/split_incognito/manifest.json
@@ -5,7 +5,7 @@
"description": "Tests the API in split incognito mode",
"permissions": ["experimental"],
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"incognito": "split"
}
diff --git a/chrome/test/data/extensions/api_test/socket/api/background.html b/chrome/test/data/extensions/api_test/socket/api/background.html
deleted file mode 100644
index ec9baec..0000000
--- a/chrome/test/data/extensions/api_test/socket/api/background.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<script src="background.js"></script>
diff --git a/chrome/test/data/extensions/api_test/socket/api/manifest.json b/chrome/test/data/extensions/api_test/socket/api/manifest.json
index 0833bfb..1312aaf 100644
--- a/chrome/test/data/extensions/api_test/socket/api/manifest.json
+++ b/chrome/test/data/extensions/api_test/socket/api/manifest.json
@@ -5,7 +5,7 @@
"description": "end-to-end browser test for chrome.experimental.socket API",
"platform_app": true,
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"app": {
"launch": {
diff --git a/chrome/test/data/extensions/api_test/storage/background.html b/chrome/test/data/extensions/api_test/storage/background.html
deleted file mode 100644
index 5f84863..0000000
--- a/chrome/test/data/extensions/api_test/storage/background.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<script src="background.js"></script>
diff --git a/chrome/test/data/extensions/api_test/storage/manifest.json b/chrome/test/data/extensions/api_test/storage/manifest.json
index fcb7cb4..8b79f7e 100644
--- a/chrome/test/data/extensions/api_test/storage/manifest.json
+++ b/chrome/test/data/extensions/api_test/storage/manifest.json
@@ -4,7 +4,7 @@
"manifest_version": 2,
"description": "sanity test that storage is always enabled for extensions",
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"permissions": ["tabs"]
}
diff --git a/chrome/test/data/extensions/api_test/stubs/background.html b/chrome/test/data/extensions/api_test/stubs/background.html
deleted file mode 100644
index ec9baec..0000000
--- a/chrome/test/data/extensions/api_test/stubs/background.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<script src="background.js"></script>
diff --git a/chrome/test/data/extensions/api_test/stubs/manifest.json b/chrome/test/data/extensions/api_test/stubs/manifest.json
index 72bc6fd..af8bbbb 100644
--- a/chrome/test/data/extensions/api_test/stubs/manifest.json
+++ b/chrome/test/data/extensions/api_test/stubs/manifest.json
@@ -3,7 +3,7 @@
"version": "1.0",
"manifest_version": 2,
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"content_scripts": [
{
diff --git a/chrome/test/data/extensions/api_test/system/get_update_status/background.html b/chrome/test/data/extensions/api_test/system/get_update_status/background.html
deleted file mode 100644
index ac3f43e..0000000
--- a/chrome/test/data/extensions/api_test/system/get_update_status/background.html
+++ /dev/null
@@ -1 +0,0 @@
-<script src="background.js"></script>
diff --git a/chrome/test/data/extensions/api_test/system/get_update_status/manifest.json b/chrome/test/data/extensions/api_test/system/get_update_status/manifest.json
index 534faae..8d750ee 100644
--- a/chrome/test/data/extensions/api_test/system/get_update_status/manifest.json
+++ b/chrome/test/data/extensions/api_test/system/get_update_status/manifest.json
@@ -4,7 +4,7 @@
"version": "0.1",
"description": "browser test for chrome.systemPriavte.getUpdateStatus API",
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"permissions": [
"systemPrivate"
diff --git a/chrome/test/data/extensions/api_test/tabs/incognito_disabled/background.html b/chrome/test/data/extensions/api_test/tabs/incognito_disabled/background.html
deleted file mode 100644
index f4b25c8..0000000
--- a/chrome/test/data/extensions/api_test/tabs/incognito_disabled/background.html
+++ /dev/null
@@ -1,10 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<html>
-<head>
-<script src="background.js"></script>
-</head>
-</html>
diff --git a/chrome/test/data/extensions/api_test/tabs/incognito_disabled/manifest.json b/chrome/test/data/extensions/api_test/tabs/incognito_disabled/manifest.json
index e5bd5a2..88258fa 100644
--- a/chrome/test/data/extensions/api_test/tabs/incognito_disabled/manifest.json
+++ b/chrome/test/data/extensions/api_test/tabs/incognito_disabled/manifest.json
@@ -1,6 +1,6 @@
{
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"description": "Test whether extensions open incognito windows after policy disallows it",
"name": "Incognito Disabled",
diff --git a/chrome/test/data/extensions/api_test/web_socket_proxy_private/background.html b/chrome/test/data/extensions/api_test/web_socket_proxy_private/background.html
deleted file mode 100644
index ec9baec..0000000
--- a/chrome/test/data/extensions/api_test/web_socket_proxy_private/background.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<script src="background.js"></script>
diff --git a/chrome/test/data/extensions/api_test/web_socket_proxy_private/manifest.json b/chrome/test/data/extensions/api_test/web_socket_proxy_private/manifest.json
index 0e8d7a5..810c5bf 100644
--- a/chrome/test/data/extensions/api_test/web_socket_proxy_private/manifest.json
+++ b/chrome/test/data/extensions/api_test/web_socket_proxy_private/manifest.json
@@ -5,7 +5,7 @@
"manifest_version": 2,
"description": "Test for webSocketProxyPrivate.getPassportForTCP",
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"permissions": ["webSocketProxyPrivate"]
}
diff --git a/chrome/test/data/extensions/api_test/window_open/browser_is_app/background.html b/chrome/test/data/extensions/api_test/window_open/browser_is_app/background.html
deleted file mode 100644
index ec9baec..0000000
--- a/chrome/test/data/extensions/api_test/window_open/browser_is_app/background.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<script src="background.js"></script>
diff --git a/chrome/test/data/extensions/api_test/window_open/browser_is_app/manifest.json b/chrome/test/data/extensions/api_test/window_open/browser_is_app/manifest.json
index 0513d5b..7eae5eb 100644
--- a/chrome/test/data/extensions/api_test/window_open/browser_is_app/manifest.json
+++ b/chrome/test/data/extensions/api_test/window_open/browser_is_app/manifest.json
@@ -4,7 +4,7 @@
"manifest_version": 2,
"description": "Browser instance for popups created with window.open() from an extension should return true for is_app()",
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"permissions": ["tabs"]
}
diff --git a/chrome/test/data/extensions/api_test/window_open/close_panels_on_uninstall/background.html b/chrome/test/data/extensions/api_test/window_open/close_panels_on_uninstall/background.html
deleted file mode 100644
index ec9baec..0000000
--- a/chrome/test/data/extensions/api_test/window_open/close_panels_on_uninstall/background.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<script src="background.js"></script>
diff --git a/chrome/test/data/extensions/api_test/window_open/close_panels_on_uninstall/manifest.json b/chrome/test/data/extensions/api_test/window_open/close_panels_on_uninstall/manifest.json
index e25af00..9fb53ba 100644
--- a/chrome/test/data/extensions/api_test/window_open/close_panels_on_uninstall/manifest.json
+++ b/chrome/test/data/extensions/api_test/window_open/close_panels_on_uninstall/manifest.json
@@ -4,7 +4,7 @@
"manifest_version": 2,
"description": "When an extension is uninstalled all panels opened by the extension should be closed.",
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"permissions": ["tabs"]
}
diff --git a/chrome/test/data/extensions/api_test/window_open/popup/background.html b/chrome/test/data/extensions/api_test/window_open/popup/background.html
deleted file mode 100644
index ec9baec..0000000
--- a/chrome/test/data/extensions/api_test/window_open/popup/background.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<script src="background.js"></script>
diff --git a/chrome/test/data/extensions/api_test/window_open/popup/manifest.json b/chrome/test/data/extensions/api_test/window_open/popup/manifest.json
index 807dabb..f716a75 100644
--- a/chrome/test/data/extensions/api_test/window_open/popup/manifest.json
+++ b/chrome/test/data/extensions/api_test/window_open/popup/manifest.json
@@ -4,7 +4,7 @@
"manifest_version": 2,
"description": "Test for window.open() from an extension (Unspecified size)",
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"permissions": ["tabs"]
}
diff --git a/chrome/test/data/extensions/api_test/window_open/popup_blocking/extension/background.html b/chrome/test/data/extensions/api_test/window_open/popup_blocking/extension/background.html
deleted file mode 100644
index 991b36b..0000000
--- a/chrome/test/data/extensions/api_test/window_open/popup_blocking/extension/background.html
+++ /dev/null
@@ -1,7 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<script src="pop.js"></script>
-<script src="background.js"></script>
diff --git a/chrome/test/data/extensions/api_test/window_open/popup_blocking/extension/manifest.json b/chrome/test/data/extensions/api_test/window_open/popup_blocking/extension/manifest.json
index 03fa74c..c741733 100644
--- a/chrome/test/data/extensions/api_test/window_open/popup_blocking/extension/manifest.json
+++ b/chrome/test/data/extensions/api_test/window_open/popup_blocking/extension/manifest.json
@@ -5,7 +5,7 @@
"description": "Popup windows should never be blocked from within an extension.",
"permissions": ["tabs"],
"background": {
- "page": "background.html"
+ "scripts": ["pop.js", "background.js"]
},
"content_scripts": [
{
diff --git a/chrome/test/data/extensions/api_test/window_open/popup_large/background.html b/chrome/test/data/extensions/api_test/window_open/popup_large/background.html
deleted file mode 100644
index ec9baec..0000000
--- a/chrome/test/data/extensions/api_test/window_open/popup_large/background.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<script src="background.js"></script>
diff --git a/chrome/test/data/extensions/api_test/window_open/popup_large/manifest.json b/chrome/test/data/extensions/api_test/window_open/popup_large/manifest.json
index d91fb86..63c6f70 100644
--- a/chrome/test/data/extensions/api_test/window_open/popup_large/manifest.json
+++ b/chrome/test/data/extensions/api_test/window_open/popup_large/manifest.json
@@ -4,7 +4,7 @@
"manifest_version": 2,
"description": "Test for window.open() from an extension (Large window)",
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"permissions": ["tabs"]
}
diff --git a/chrome/test/data/extensions/api_test/window_open/popup_small/background.html b/chrome/test/data/extensions/api_test/window_open/popup_small/background.html
deleted file mode 100644
index ec9baec..0000000
--- a/chrome/test/data/extensions/api_test/window_open/popup_small/background.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<script src="background.js"></script>
diff --git a/chrome/test/data/extensions/api_test/window_open/popup_small/manifest.json b/chrome/test/data/extensions/api_test/window_open/popup_small/manifest.json
index f90684e..eca2e04 100644
--- a/chrome/test/data/extensions/api_test/window_open/popup_small/manifest.json
+++ b/chrome/test/data/extensions/api_test/window_open/popup_small/manifest.json
@@ -4,7 +4,7 @@
"manifest_version": 2,
"description": "Test for window.open() from an extension (Small)",
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"permissions": ["tabs"]
}
diff --git a/chrome/test/data/extensions/api_test/window_open/spanning/background.html b/chrome/test/data/extensions/api_test/window_open/spanning/background.html
deleted file mode 100644
index ec9baec..0000000
--- a/chrome/test/data/extensions/api_test/window_open/spanning/background.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<script src="background.js"></script>
diff --git a/chrome/test/data/extensions/api_test/window_open/spanning/manifest.json b/chrome/test/data/extensions/api_test/window_open/spanning/manifest.json
index 3b469af..a13f2ae 100644
--- a/chrome/test/data/extensions/api_test/window_open/spanning/manifest.json
+++ b/chrome/test/data/extensions/api_test/window_open/spanning/manifest.json
@@ -4,6 +4,6 @@
"manifest_version": 2,
"permissions": ["experimental", "tabs"],
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
}
}
diff --git a/chrome/test/data/extensions/browsertest/crash_25562/background.html b/chrome/test/data/extensions/browsertest/crash_25562/background.html
deleted file mode 100644
index 6f3d327..0000000
--- a/chrome/test/data/extensions/browsertest/crash_25562/background.html
+++ /dev/null
@@ -1,8 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<html>
-<script src="background.js"></script>
-</html>
diff --git a/chrome/test/data/extensions/browsertest/crash_25562/manifest.json b/chrome/test/data/extensions/browsertest/crash_25562/manifest.json
index ceca707..4783f04 100644
--- a/chrome/test/data/extensions/browsertest/crash_25562/manifest.json
+++ b/chrome/test/data/extensions/browsertest/crash_25562/manifest.json
@@ -1,6 +1,6 @@
{
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"content_scripts": [ {
"js": [ "script.js" ],
diff --git a/chrome/test/data/extensions/browsertest/crash_44415/ExtA/background.html b/chrome/test/data/extensions/browsertest/crash_44415/ExtA/background.html
deleted file mode 100644
index 2628b34..0000000
--- a/chrome/test/data/extensions/browsertest/crash_44415/ExtA/background.html
+++ /dev/null
@@ -1,10 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<html>
-<head>
-<script src="background.js"></script>
-</head>
-</html>
diff --git a/chrome/test/data/extensions/browsertest/crash_44415/ExtA/manifest.json b/chrome/test/data/extensions/browsertest/crash_44415/ExtA/manifest.json
index 3f66acb..dad5172 100644
--- a/chrome/test/data/extensions/browsertest/crash_44415/ExtA/manifest.json
+++ b/chrome/test/data/extensions/browsertest/crash_44415/ExtA/manifest.json
@@ -6,7 +6,7 @@
"default_popup": "popup.html"
},
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"permissions": [ "tabs", "http://*/*" ]
}
diff --git a/chrome/test/data/extensions/browsertest/crash_44415/ExtB/background.html b/chrome/test/data/extensions/browsertest/crash_44415/ExtB/background.html
deleted file mode 100644
index 2628b34..0000000
--- a/chrome/test/data/extensions/browsertest/crash_44415/ExtB/background.html
+++ /dev/null
@@ -1,10 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<html>
-<head>
-<script src="background.js"></script>
-</head>
-</html>
diff --git a/chrome/test/data/extensions/browsertest/crash_44415/ExtB/manifest.json b/chrome/test/data/extensions/browsertest/crash_44415/ExtB/manifest.json
index 7c5b251..fdf9aac 100644
--- a/chrome/test/data/extensions/browsertest/crash_44415/ExtB/manifest.json
+++ b/chrome/test/data/extensions/browsertest/crash_44415/ExtB/manifest.json
@@ -7,7 +7,7 @@
"default_popup": "popup.html"
},
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"permissions": [ "tabs", "http://*/*" ]
}
diff --git a/chrome/test/data/extensions/browsertest/title_localized_pa/background.html b/chrome/test/data/extensions/browsertest/title_localized_pa/background.html
deleted file mode 100644
index 6f3d327..0000000
--- a/chrome/test/data/extensions/browsertest/title_localized_pa/background.html
+++ /dev/null
@@ -1,8 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<html>
-<script src="background.js"></script>
-</html>
diff --git a/chrome/test/data/extensions/browsertest/title_localized_pa/manifest.json b/chrome/test/data/extensions/browsertest/title_localized_pa/manifest.json
index ed5bfab..2388f29 100644
--- a/chrome/test/data/extensions/browsertest/title_localized_pa/manifest.json
+++ b/chrome/test/data/extensions/browsertest/title_localized_pa/manifest.json
@@ -1,6 +1,6 @@
{
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"content_scripts": [ {
"js": [ "script.js" ],
diff --git a/chrome/test/data/extensions/devtools/timeline_api/background.html b/chrome/test/data/extensions/devtools/timeline_api/background.html
deleted file mode 100644
index ec9baec..0000000
--- a/chrome/test/data/extensions/devtools/timeline_api/background.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<script src="background.js"></script>
diff --git a/chrome/test/data/extensions/devtools/timeline_api/manifest.json b/chrome/test/data/extensions/devtools/timeline_api/manifest.json
index 938ce54..00df8b2 100644
--- a/chrome/test/data/extensions/devtools/timeline_api/manifest.json
+++ b/chrome/test/data/extensions/devtools/timeline_api/manifest.json
@@ -4,7 +4,7 @@
"manifest_version": 2,
"description": "",
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"permissions": [ "tabs" ]
}
diff --git a/chrome/test/data/extensions/good/Extensions/bjafgdebaacbbbecmhlhpofkepfkgcpa/1.0/background.html b/chrome/test/data/extensions/good/Extensions/bjafgdebaacbbbecmhlhpofkepfkgcpa/1.0/background.html
deleted file mode 100644
index ec9baec..0000000
--- a/chrome/test/data/extensions/good/Extensions/bjafgdebaacbbbecmhlhpofkepfkgcpa/1.0/background.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<script src="background.js"></script>
diff --git a/chrome/test/data/extensions/good/Extensions/bjafgdebaacbbbecmhlhpofkepfkgcpa/1.0/manifest.json b/chrome/test/data/extensions/good/Extensions/bjafgdebaacbbbecmhlhpofkepfkgcpa/1.0/manifest.json
index 1eb1891..56673ea 100644
--- a/chrome/test/data/extensions/good/Extensions/bjafgdebaacbbbecmhlhpofkepfkgcpa/1.0/manifest.json
+++ b/chrome/test/data/extensions/good/Extensions/bjafgdebaacbbbecmhlhpofkepfkgcpa/1.0/manifest.json
@@ -4,7 +4,7 @@
"manifest_version": 2,
"name": "My extension 3",
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"permissions": ["tabs"]
}
diff --git a/chrome/test/data/extensions/management/uninstall_extension/background.html b/chrome/test/data/extensions/management/uninstall_extension/background.html
deleted file mode 100644
index ac3f43e..0000000
--- a/chrome/test/data/extensions/management/uninstall_extension/background.html
+++ /dev/null
@@ -1 +0,0 @@
-<script src="background.js"></script>
diff --git a/chrome/test/data/extensions/management/uninstall_extension/manifest.json b/chrome/test/data/extensions/management/uninstall_extension/manifest.json
index e3a94b4..e7acd65 100644
--- a/chrome/test/data/extensions/management/uninstall_extension/manifest.json
+++ b/chrome/test/data/extensions/management/uninstall_extension/manifest.json
@@ -4,7 +4,7 @@
"manifest_version": 2,
"permissions": ["management"],
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
}
}
diff --git a/chrome/test/data/extensions/trigger_actions/browser_action/background.html b/chrome/test/data/extensions/trigger_actions/browser_action/background.html
deleted file mode 100644
index f4b25c8..0000000
--- a/chrome/test/data/extensions/trigger_actions/browser_action/background.html
+++ /dev/null
@@ -1,10 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<html>
-<head>
-<script src="background.js"></script>
-</head>
-</html>
diff --git a/chrome/test/data/extensions/trigger_actions/browser_action/manifest.json b/chrome/test/data/extensions/trigger_actions/browser_action/manifest.json
index b548419..2deb3c71 100644
--- a/chrome/test/data/extensions/trigger_actions/browser_action/manifest.json
+++ b/chrome/test/data/extensions/trigger_actions/browser_action/manifest.json
@@ -3,7 +3,7 @@
"version": "1.0",
"manifest_version": 2,
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"permissions": [
"tabs", "file://*"
diff --git a/chrome/test/data/extensions/trigger_actions/page_action/background.html b/chrome/test/data/extensions/trigger_actions/page_action/background.html
deleted file mode 100644
index f4b25c8..0000000
--- a/chrome/test/data/extensions/trigger_actions/page_action/background.html
+++ /dev/null
@@ -1,10 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<html>
-<head>
-<script src="background.js"></script>
-</head>
-</html>
diff --git a/chrome/test/data/extensions/trigger_actions/page_action/manifest.json b/chrome/test/data/extensions/trigger_actions/page_action/manifest.json
index 810f80b..ea7a110 100644
--- a/chrome/test/data/extensions/trigger_actions/page_action/manifest.json
+++ b/chrome/test/data/extensions/trigger_actions/page_action/manifest.json
@@ -3,7 +3,7 @@
"version": "1.0",
"manifest_version": 2,
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"permissions": [
"tabs", "file://*"
diff --git a/chrome/test/data/extensions/trigger_actions/page_action_popup/background.html b/chrome/test/data/extensions/trigger_actions/page_action_popup/background.html
deleted file mode 100644
index f4b25c8..0000000
--- a/chrome/test/data/extensions/trigger_actions/page_action_popup/background.html
+++ /dev/null
@@ -1,10 +0,0 @@
-<!--
- * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
- * source code is governed by a BSD-style license that can be found in the
- * LICENSE file.
--->
-<html>
-<head>
-<script src="background.js"></script>
-</head>
-</html>
diff --git a/chrome/test/data/extensions/trigger_actions/page_action_popup/manifest.json b/chrome/test/data/extensions/trigger_actions/page_action_popup/manifest.json
index 54cc614..d80a139 100644
--- a/chrome/test/data/extensions/trigger_actions/page_action_popup/manifest.json
+++ b/chrome/test/data/extensions/trigger_actions/page_action_popup/manifest.json
@@ -3,7 +3,7 @@
"version": "1.0",
"manifest_version": 2,
"background": {
- "page": "background.html"
+ "scripts": ["background.js"]
},
"permissions": [
"tabs", "http://*/*", "https://*/*"