Open the extension options, add http://localhost:*/* to URL
patterns, and enable Inject into iframes.
Reload this page. Background log should show
content port connected (total=2) (top frame counts as 1
only if pattern matches it; iframes add the rest).
Disable Inject into iframes, reload — only the top
frame port should connect.