comparison: addon-sdk/source/test/fixtures/test-sidebar-addon-global.html
addon-sdk/source/test/fixtures/test-sidebar-addon-global.html
- branch
- TOR_BUG_9701
- changeset 10
- ac0c01689b40
equal
deleted
inserted
replaced
|
1 <script> |
|
2 addon.port.on('X', function(msg) { |
|
3 // last message |
|
4 addon.port.emit('X', msg + '3'); |
|
5 }); |
|
6 |
|
7 // start messaging chain |
|
8 addon.port.emit('Y', '1'); |
|
9 </script> |
|
10 SIDEBAR TEST |