OLD | NEW |
(Empty) | |
| 1 <html> |
| 2 <head> |
| 3 <title>Under construction...</title> |
| 4 <script> |
| 5 |
| 6 // TODO(eroman): This is all temporary... |
| 7 |
| 8 function sendTestMessageToBrowser() { |
| 9 log("Sent message to browser"); |
| 10 chrome.send('testMessage', [String((new Date()).toLocaleTimeString())]); |
| 11 } |
| 12 |
| 13 function log(msg) { |
| 14 var l = document.getElementById('log'); |
| 15 l.appendChild(document.createTextNode(msg + "\n")); |
| 16 } |
| 17 |
| 18 </script> |
| 19 </head> |
| 20 |
| 21 |
| 22 <body> |
| 23 <p>This is a work in progress. See http://crbug.com/37421 for details.</p> |
| 24 |
| 25 <input onclick="sendTestMessageToBrowser()" |
| 26 value="SendTestMessageToBrowser" |
| 27 type=button /> |
| 28 |
| 29 <pre id=log></pre> |
| 30 |
| 31 </body> |
| 32 </html> |
OLD | NEW |