diff options
Diffstat (limited to 'chrome/test')
-rwxr-xr-x | chrome/test/data/extensions/api_test/incognito_no_script/change_page_title.js | 5 | ||||
-rwxr-xr-x | chrome/test/data/extensions/api_test/incognito_no_script/manifest.json | 13 |
2 files changed, 18 insertions, 0 deletions
diff --git a/chrome/test/data/extensions/api_test/incognito_no_script/change_page_title.js b/chrome/test/data/extensions/api_test/incognito_no_script/change_page_title.js new file mode 100755 index 0000000..ed4cfd2 --- /dev/null +++ b/chrome/test/data/extensions/api_test/incognito_no_script/change_page_title.js @@ -0,0 +1,5 @@ +// Copyright (c) 2009 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. + +document.title = "modified"; diff --git a/chrome/test/data/extensions/api_test/incognito_no_script/manifest.json b/chrome/test/data/extensions/api_test/incognito_no_script/manifest.json new file mode 100755 index 0000000..7c6156e --- /dev/null +++ b/chrome/test/data/extensions/api_test/incognito_no_script/manifest.json @@ -0,0 +1,13 @@ +{ + "name": "incognito no script", + "version": "0.1", + "description": "Checks that content scripts do not inject js into incognito browsers.", + "permissions": ["http://*/*", "https://*/*"], + "content_scripts": [ + { + "matches": ["http://*/*", "https://*/*"], + "js": ["change_page_title.js"], + "run_at": "document_start" + } + ] +} |