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

Unified Diff: chrome/test/data/extensions/api_test/executescript/destructive/manifest.json

Issue 1825873002: Deal with frame removal by content scripts (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2661
Patch Set: Created 4 years, 9 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/executescript/destructive/manifest.json
diff --git a/chrome/test/data/extensions/api_test/executescript/destructive/manifest.json b/chrome/test/data/extensions/api_test/executescript/destructive/manifest.json
new file mode 100644
index 0000000000000000000000000000000000000000..1bdd34ffd6fa2f2bb74dd9002377ff61b729eb64
--- /dev/null
+++ b/chrome/test/data/extensions/api_test/executescript/destructive/manifest.json
@@ -0,0 +1,33 @@
+{
+ "name": "Content scripts that destroy their frame",
+ "manifest_version": 2,
+ "version": "1",
+ "content_scripts": [{
+ "run_at": "document_start",
+ "all_frames": true,
+ "match_about_blank": true,
+ "js": ["remove_self.js"],
+ // URL of the parent frame.
+ "matches": ["*://*/*.html?blankstart*"]
+ }, {
+ "run_at": "document_end",
+ "all_frames": true,
+ "match_about_blank": true,
+ "js": ["flag_document_end.js", "remove_self.js"],
+ // URL of the parent frame.
+ "matches": ["*://*/*.html?blankend*"]
+ }, {
+ "run_at": "document_start",
+ "all_frames": true,
+ "js": ["remove_self.js"],
+ // 1st URL for the parent frame, second URL for the child frame.
+ "matches": ["*://*/*.html?start*", "*://*/*?child*"]
+ }, {
+ "run_at": "document_end",
+ "all_frames": true,
+ "js": ["flag_document_end.js", "remove_self.js"],
+ // 1st URL for the parent frame, second URL for the child frame.
+ "matches": ["*://*/*.html?end*", "*://*/*?child*"]
+ }],
+ "permissions": ["*://*/*", "webNavigation"]
+}

Powered by Google App Engine
This is Rietveld 408576698