{
"name": "duplicate script injection",
"version": "0.0.1",
"manifest_version": 2,
"description": "Tests that content scripts assigned to two overlapping url matches are not injected twice. Note this can be extended to N matches",
"background": {},
"content_scripts": [
{
"matches": ["*://*.google.com/*"],
"js": ["should_run_once.js"],
"run_at": "document_end"
},
{
"matches": ["*://maps.google.com/*"],
"js": ["should_run_once.js", "should_run_twice.js"],
"run_at": "document_end"
},
{
"matches": ["*://maps.google.com/*"],
"js": ["should_run_twice.js"],
"run_at": "document_idle"
},
{
"matches": ["*://*.maps.google.com/*"],
"js": ["should_run_once.js"],
"run_at": "document_end"
}
]
}