| 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 "run_at": "document_end", |
| 14 "js": ["page.js"] | 15 "js": ["page.js"] |
| 15 }, | 16 }, |
| 16 { | 17 { |
| 17 "all_frames": true, | 18 "all_frames": true, |
| 18 "matches": [ | 19 "matches": [ |
| 19 "http://*/*?testSendMessageFromFrame*", | 20 "http://*/*?testSendMessageFromFrame*", |
| 20 "http://*/*?testConnectChildFrameAndNavigate*" | 21 "http://*/*?testConnectChildFrameAndNavigate*" |
| 21 ], | 22 ], |
| 22 "js": ["frame.js"] | 23 "js": ["frame.js"] |
| 23 } | 24 } |
| 24 ] | 25 ] |
| 25 } | 26 } |
| OLD | NEW |