| Index: chrome/test/data/extensions/good/Extensions/bjafgdebaacbbbecmhlhpofkepfkgcpa/1.0/toolstrip.html
|
| diff --git a/chrome/test/data/extensions/good/Extensions/bjafgdebaacbbbecmhlhpofkepfkgcpa/1.0/toolstrip.html b/chrome/test/data/extensions/good/Extensions/bjafgdebaacbbbecmhlhpofkepfkgcpa/1.0/toolstrip.html
|
| index 84c7db0feeff900362d8af7b36519f6b83104d96..fb4c2eb650086c22a15f58ae59308953ac5eff68 100644
|
| --- a/chrome/test/data/extensions/good/Extensions/bjafgdebaacbbbecmhlhpofkepfkgcpa/1.0/toolstrip.html
|
| +++ b/chrome/test/data/extensions/good/Extensions/bjafgdebaacbbbecmhlhpofkepfkgcpa/1.0/toolstrip.html
|
| @@ -11,6 +11,13 @@ window.onload = function() {
|
| // Ignore other messages since they are from us.
|
| });
|
| });
|
| + chrome.extension.onConnectExternal.addListener(function(port) {
|
| + port.onMessage.addListener(function(msg) {
|
| + if (msg.testConnectExternal) {
|
| + port.postMessage({success: true, senderId: port.sender.id});
|
| + }
|
| + });
|
| + });
|
| };
|
|
|
| // Tests that postMessage to the tab and its response works.
|
|
|