{
"name": "about:blank iframes",
"version": "1.0",
"manifest_version": 2,
"description": "Tests that content scripts are not injected into about:blank iframes, even after document.write().",
"background": {
"scripts": ["test.js"],
"persistent": true
},
"permissions": ["tabs"],
"content_scripts": [
{
"run_at": "document_end",
"matches": ["http://*/*"],
"exclude_matches": ["http://*/*test_file_with_javascript_url*"],
"js": ["content_script.js"],
"all_frames": true
},
{
"run_at": "document_start",
"matches": ["http://does-not-match/"],
"match_about_blank": true,
"js": ["content_script2.js"],
"all_frames": true
},
{
"run_at": "document_start",
"matches": ["http://*/*test_file_with_javascript_url*"],
"match_about_blank": true,
"js": ["start.js"],
"all_frames": true
},
{
"run_at": "document_end",
"matches": ["http://*/*test_file_with_javascript_url*"],
"match_about_blank": true,
"js": ["end.js"],
"all_frames": true
}
]
}