Use the URL not the URL of the tab in the MessageSender of the extension
commit2d46c30e017cc94afd9fb50cb249e26546f3d97a
authorkalman <kalman@chromium.org>
Fri, 7 Nov 2014 18:34:18 +0000 (7 10:34 -0800)
committerCommit bot <commit-bot@chromium.org>
Fri, 7 Nov 2014 18:34:36 +0000 (7 18:34 +0000)
treeef8678b77f7fb12facfe18787227662a12832477
parent77941a295d9879150bea17b62e006cac7cf27e5b
Use the URL not the URL of the tab in the MessageSender of the extension
messaging APIs. The way it currently is is wrong for iframes, and oddly enough
it's been wrong for a long time.

BUG=431338
R=mek@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#303261}
chrome/browser/extensions/api/messaging/message_service.cc
chrome/test/data/extensions/api_test/extension_options/embed_self/test.js
chrome/test/data/extensions/platform_apps/messaging/app2/background.js
extensions/common/api/runtime.json