Never connect a port to the same frame

Connecting to the same frame does not make sense because onMessage
should not be triggered for the same frame.

BUG=479425,575234

Review URL: https://codereview.chromium.org/1588533002

Cr-Commit-Position: refs/heads/master@{#369379}
7 files changed