OLD | NEW |
1 { | 1 { |
2 "name": "connect_external", | 2 "name": "connect_external", |
3 "version": "1.0", | 3 "version": "1.0", |
4 "manifest_version": 2, | 4 "manifest_version": 2, |
5 "description": "Tests connect from a content script.", | 5 "description": "Tests connect from a content script.", |
6 "permissions": ["tabs", "webNavigation"], | 6 "permissions": ["tabs", "webNavigation"], |
7 "background": { | 7 "background": { |
8 "persistent": false, | 8 "persistent": false, |
9 "scripts": ["test.js"] | 9 "scripts": ["test.js"] |
10 }, | 10 }, |
11 "content_scripts": [ | 11 "content_scripts": [ |
12 { | 12 { |
13 "matches": ["http://*/*"], | 13 "matches": ["http://*/*"], |
14 "js": ["page.js"] | 14 "js": ["page.js"] |
15 }, | 15 }, |
16 { | 16 { |
17 "all_frames": true, | 17 "all_frames": true, |
18 "matches": ["http://*/*?testSendMessageFromFrame*"], | 18 "matches": [ |
| 19 "http://*/*?testSendMessageFromFrame*", |
| 20 "http://*/*?testConnectChildFrameAndNavigate*" |
| 21 ], |
19 "js": ["frame.js"] | 22 "js": ["frame.js"] |
20 } | 23 } |
21 ] | 24 ] |
22 } | 25 } |
OLD | NEW |