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

Unified Diff: chrome/test/data/extensions/api_test/app_background_page/two_pages/manifest.json

Issue 8116015: Now closes existing background contents if app opens a new one. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed presubmit error (added license header to js file) Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/test/data/extensions/api_test/app_background_page/two_pages/manifest.json
diff --git a/chrome/test/data/extensions/api_test/app_background_page/two_pages/manifest.json b/chrome/test/data/extensions/api_test/app_background_page/two_pages/manifest.json
new file mode 100644
index 0000000000000000000000000000000000000000..8748595ab67574560f48017bbef82d929c250444
--- /dev/null
+++ b/chrome/test/data/extensions/api_test/app_background_page/two_pages/manifest.json
@@ -0,0 +1,14 @@
+{
+ "name": "app_background_page/two_pages",
+ "version": "0.1",
+ "description": "Tests that opening a second background page results in the first one being closed.",
+ "background_page": "test.html",
+ "permissions": ["tabs", "http://a.com/*"],
+ "content_scripts": [
+ {
+ "matches": ["http://a.com/*"],
+ "js": ["content_script.js"],
+ "run_at": "document_end"
+ }
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698